ICC 9 in FreeBSD 6

Alexander Shiryaev coumarin at gmail.com
Sat Dec 16 14:55:43 PST 2006


I'm trying to hack ICC 9.1.045 ia32 (using lang/icc port for ICC 8). I 
can't compile hello world ;-(

icc  -c main.c
icc   -o main main.o
IPO link: can not find -ldl
iccbin: error: problem during multi-file optimization compilation (code 1)
*** Error code 1

If I specify CFLAGS=-ipo for ICC 8 then I have the same error:

make CC=icc CFLAGS=
icc  -c main.c
icc   -o main main.o
(no errors here)

make clean

make CFLAGS=-ipo
icc -ipo -c main.c
icc -ipo  -o main main.o
IPO link: can not find -ldl
iccbin: error: problem during multi-file optimization compilation (code 1)
*** Error code 1

May be /usr/local/intel_cc_80/bin/ldwrapper/ld don't work?
-Qlocation,ld,/usr/local/intel_cc_80/bin/ldwrapper is present in ICC 
cfg. file in both cases.

Any ideas?
Thanks.

icc -v
Version 9.1

FreeBSD 6.2-PRERELEASE #0: Thu Dec 14 15:55:03 MSK 2006


More information about the freebsd-hackers mailing list