[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38398: bootstrap fails with Intel C Compiler
The following reply was made to PR pkg/38398; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: Aleksey Cheusov <cheusov%tut.by@localhost>
Subject: Re: pkg/38398: bootstrap fails with Intel C Compiler
Date: Sat, 1 Aug 2009 18:18:32 +0000
On Fri, Apr 11, 2008 at 10:27:21AM +0300, Aleksey Cheusov wrote:
> > Seems you forgot to give --compiler to ./bootstrap, that might cause it
> > to fail in the way described.
> I followed the instructions which needs to be fixed.
It looks as if setting ICCBASE in mk.conf and using --compiler=icc
should be sufficient. Although since bootstrap is supposed to create
mk.conf, and it'll need it before bootstrap finishes, I'm not sure how
the former part is supposed to work.
Is the -static-libcxa thing still required? And should the default
ICCBASE be adjusted to something like a recent version?
(The ac_cv___attribute__ thing is now definitely handled by icc.mk.)
RCS file: /cvsroot/pkgsrc/doc/guide/files/platforms.xml,v
retrieving revision 1.60
diff -u -r1.60 platforms.xml
--- files/platforms.xml 7 May 2008 09:10:19 -0000 1.60
+++ files/platforms.xml 1 Aug 2009 18:15:47 -0000
@@ -444,28 +444,13 @@
-env CC=/opt/intel_cc_80/bin/icc LDFLAGS=-static-libcxa \
+env LDFLAGS=-static-libcxa ./bootstrap --compiler=icc
<para>icc 8.1 needs the `-i-static' argument instead of
- <para>icc supports __attribute__, but the GNU configure test uses a
- function, which icc does not support. #undef'ing __attribute__ has the
- unfortunate side-effect of breaking many of the Linux header files,
- cannot be compiled properly without __attribute__. The test must be
- overridden so that __attribute__ is assumed supported by the
- <para>After bootstrapping, you should set
- in &mk.conf;:</para>
<para>The default installation directory for icc is
is also the pkgsrc default. If you have installed it into a different
David A. Holland
Main Index |
Thread Index |