Обсуждение: PostgreSQL 8.2 : IPO link warning with ICC 9.1.045

Поиск
Список
Период
Сортировка

PostgreSQL 8.2 : IPO link warning with ICC 9.1.045

От
DANTE Alexandra
Дата:
Hello List,

I'm back with my questions on compilation of PostgreSQL 8.2. :-)
I work with an IA-64 server with Red Hat Enterprise Linux 4 AS update 2
on which the Intel compiler icc 9.1.045 is available.
I try to build PostgreSQL 8.2 with this compiler.

To do that :
- I generated RPM from the "postgresql-8.2.0-2PGDG.src.rpm" with the
command "rpmbuild -ba postgresql-8.2.spec"
- then from the directory "BUILD/postgresql-8.2.0/src/test/regress/", I
launched "make check" => /*All 103 tests passed*/

But when I check the log of the "rpmbuild -ba" command, I have found
this warning :
/opt/intel/cc/9.1.045/bin/icc -O2 -pipe -override_limits -mp1
-fno-strict-aliasing  -fpic -shared -Wl,-soname,libpq.so.5
-Wl,--version-script=exports.list  fe-auth.o fe-connect.o fe-exec.o
fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o
noblock.o pgstrcasecmp.o thread.o strlcpy.o  -L../../../src/port
-L/usr/lib -lssl -lcrypto -lkrb5 -lcrypt -o libpq.so.5.0
ranlib libpq.a
*IPO link: Warning unknown option '--version-script=exports.list'.*

I must admit that I am quite newbie with the Intel compiler icc so,
could someone tell me if this warning is "dangerous" for the use of
PostgreSQL ?
I have done some searchs on Google but didn't find a good explication.

Thank you in advance.
Regards,
Alexandra DANTE


Re: PostgreSQL 8.2 : IPO link warning with ICC 9.1.045

От
Martijn van Oosterhout
Дата:
On Tue, Dec 12, 2006 at 04:06:55PM +0100, DANTE Alexandra wrote:
> But when I check the log of the "rpmbuild -ba" command, I have found
> this warning :

<snip>

> *IPO link: Warning unknown option '--version-script=exports.list'.*

That the gcc command-line switch used to stop exporting unnessesary
symbols. It should only be used for gcc, I wonder how it selected it
for your compiler? Did you run configure with the right compiler?

In any case, it's harmless.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

Re: PostgreSQL 8.2 : IPO link warning with ICC 9.1.045

От
Tom Lane
Дата:
Martijn van Oosterhout <kleptog@svana.org> writes:
> That the gcc command-line switch used to stop exporting unnessesary
> symbols. It should only be used for gcc, I wonder how it selected it
> for your compiler? Did you run configure with the right compiler?

icc pretends to be gcc ... not very well, but it pretends anyway.

> In any case, it's harmless.

I believe so, yes.

            regards, tom lane

Re: PostgreSQL 8.2 : IPO link warning with ICC 9.1.045

От
DANTE Alexandra
Дата:
Hello Tom, Martijn and List,

Thank you for these precisions.
I checked the spec file used to build the RPM and compile PostgreSQL and
I ran the configure with the icc compiler by setting :
%configure CC=/opt/intel/cc/9.1.045/bin/icc CFLAGS='-O2 -pipe
-override_limits'

I was afraid that this IPO link warning could have a bad impact on the
performances of PostgreSQL.
But as it's harmless, it's OK.

Have a nice day,
Alexandra

Tom Lane wrote:

>Martijn van Oosterhout <kleptog@svana.org> writes:
>
>
>>That the gcc command-line switch used to stop exporting unnessesary
>>symbols. It should only be used for gcc, I wonder how it selected it
>>for your compiler? Did you run configure with the right compiler?
>>
>>
>
>icc pretends to be gcc ... not very well, but it pretends anyway.
>
>
>
>>In any case, it's harmless.
>>
>>
>
>I believe so, yes.
>
>            regards, tom lane
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: don't forget to increase your free space map settings
>
>
>