Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 01:56:16 +0300
From:      Alexander Shiryaev <coumarin@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: ICC 9 in FreeBSD 6
Message-ID:  <45847990.8060605@gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45847990.8060605>