Subject: x11/xorg-imake won't build with icc
To: None <tech-pkg@netbsd.org>
From: Emil =?iso-8859-1?Q?Sk=F6ldberg?= <emil.skoldberg@nuigalway.ie>
List: tech-pkg
Date: 07/01/2005 16:47:00
I have just got a new box on which I have installed Slackware linux
and I thought I'd try to use pkgsrc with Intel's icc compiler. 


Bootstrapping went fine, and I've installed a few packages without too 
much problems; however, the process of building xorg fails in xorg-imake
with the following:

root@darkstar:/usr/pkgsrc/x11/xorg-imake# bmake
===> Checking for vulnerabilities in xorg-imake-6.8.2nb1
=> Checksum SHA1 OK for X11R6.8.2-src1.tar.gz.
=> Checksum RMD160 OK for X11R6.8.2-src1.tar.gz.
=> Checksum SHA1 OK for X11R6.8.2-src3.tar.gz.
=> Checksum RMD160 OK for X11R6.8.2-src3.tar.gz.
===> Extracting for xorg-imake-6.8.2nb1
===> Required installed package bison-[0-9]*: bison-2.0 found
===> Required installed package flex-[0-9]*: flex-2.5.4a found
===> Required installed package xorg-dirs>=1.1: xorg-dirs-1.1 found
===> Patching for xorg-imake-6.8.2nb1
===> Applying pkgsrc patches for xorg-imake-6.8.2nb1
===> Overriding tools for xorg-imake-6.8.2nb1
===> Creating toolchain wrappers for xorg-imake-6.8.2nb1

===> Configuring for xorg-imake-6.8.2nb1
===> Building for xorg-imake-6.8.2nb1
cd /usr/obj/x11/xorg-imake/work/xc && /usr/bin/make Makefile.boot &&     
/usr/bin/make -f xmakefile VerifyOS version.def Makefiles includes
cd ./config/imake && /usr/bin/make  -f Makefile.ini BOOTSTRAPCFLAGS="" 
CC="/opt/intel_cc_80/bin/icc"
make[1]: Entering directory 
`/usr/obj/x11/xorg-imake/work/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and 
CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
/opt/intel_cc_80/bin/icc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O 
-I../../include -I../../imports/x11/include/X11 ccimake.c
/usr/bin/ld: cannot find -limf
make[1]: *** [ccimake] Error 1
make[1]: Leaving directory 
`/usr/obj/x11/xorg-imake/work/xc/config/imake'
make: *** [imake.proto] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/xorg-imake
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/obj/x11/xorg-imake/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/xorg-imake


I would appreciate any clues about this.

Emil