icc -fast (ipo) broken?

Clint Olsen clint at 0lsen.net
Thu Sep 9 00:31:39 PDT 2004


Hi:

I was trying to use icc 8.0, and when I tried to use any switch that
invoked -ipo, the compile goes off in the weeds:


IPO: using IR for /tmp/iccbinuorzYk.o
IPO: performing single-file optimizations
IPO link: can not find -lcprts
libc.a(atexit.o) : multiple definition of '__cxa_atexit'
libcxa.a(cxa_atexit.o): first defined here
libc.a(atexit.o) : multiple definition of '__cxa_finalize'
libcxa.a(cxa_atexit.o): first defined here
IPO Warning: unresolved : _end
        Referenced in libc.a(sbrk.o)
/usr/lib/libc.a(atexit.o)(.text+0x198): In function `__cxa_atexit':
: multiple definition of `__cxa_atexit'
/usr/local/intel_cc_80/lib/libcxa.a(cxa_atexit.o)(.text+0x170): first defined here
/usr/local/intel_cc_80/bin/ldwrapper/ld: Warning: size of symbol `__cxa_atexit' changed from 46 in /usr/local/intel_cc_80/lib/libcxa.a(cxa_atexit.o) to 42 in ÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐÐ
...
...

/*
/usr/lib/libc.a(atexit.o)(.text+0x1c4): In function `__cxa_finalize':
: multiple definition of `__cxa_finalize'
/usr/local/intel_cc_80/lib/libcxa.a(cxa_atexit.o)(.text+0x1a0): first defined here
/usr/local/intel_cc_80/bin/ldwrapper/ld: Warning: size of symbol `__cxa_finalize' changed from 270 in /usr/local/intel_cc_80/lib/libcxa.a(cxa_atexit.o) to 266 in /usr/local/intel_cc_80/lib/libcxa.a(cxa_atexit.o)

Thanks,

-Clint


More information about the freebsd-ports mailing list