First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 12357
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Schlemmer (RETIRED) <azarah@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Garen <garen@wsu.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log work/bison-1.35/config.log text/plain Garen 2002-12-18 10:45 0000 4.03 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 12357 depends on: Show dependency tree
Show dependency graph
Bug 12357 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-12-17 21:46 0000
# emerge -b bison      
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/bison-1.35 to /
>>> md5 ;-) bison-1.35.tar.gz
>>> Unpacking source...
>>> Unpacking bison-1.35.tar.gz
>>> Source unpacked.
icc
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking for i686-pc-linux-gnu-gcc... iccbin
checking for C compiler default output... configure: error: C compiler cannot 
create executables

!!! ERROR: sys-devel/bison-1.35 failed.
!!! Function src_compile, Line 21, Exitcode 77
!!! (no error message)

Strange.. (and yeah, I'm sure my C compiler works..)

------- Comment #1 From Martin Schlemmer (RETIRED) 2002-12-17 23:33:54 0000 -------
Can you run:

  # gcc --version

?

------- Comment #2 From Martin Schlemmer (RETIRED) 2002-12-17 23:36:21 0000 -------
If not, have a look at:

  http://bugs.gentoo.org/show_bug.cgi?id=12298

or, do the following:

  # env-update; source /etc/profile; hash -r

and try again.  Also, what gcc version and revision ?

  # emerge gentoolkit; epm -q gcc


------- Comment #3 From Garen 2002-12-18 00:16:18 0000 -------
I'm aware of the portage-r6 issue earlier today, and this one isn't it.  I can 
build everything fine, except bison.  The problem that seems to be with this 
one is that it's trying to use icc, but maybe that doesn't work out so well 
with autoconf?  Not sure.

$ epm -q gcc
gcc-3.2.1
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs
Configured with: /archive/tmp/portage/gcc-3.2.1/work/gcc-3.2.1/configure --
prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --
host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --
with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-
threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --
enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-
libs --with-gxx-include-dir=/usr/include/g++-v32 --with-local-
prefix=/usr/local --enable-shared --enable-nls --without-included-gettext
Thread model: posix
gcc version 3.2.1

------- Comment #4 From Garen 2002-12-18 00:18:08 0000 -------
Forgot to add, I did try env-update; source /etc/profile; hash -r, and have 
tested icc too (it works) but bison still fails to build.

------- Comment #5 From Martin Schlemmer (RETIRED) 2002-12-18 00:52:59 0000 -------
Do:

 # FEATURES="noclean" emerge bison

and then include the config.log in its build dir.

------- Comment #6 From Martin Schlemmer (RETIRED) 2002-12-18 05:00:55 0000 -------
Please just attach the config.log, thanks.  If you need help with it, let me
know.

------- Comment #7 From Garen 2002-12-18 10:45:13 0000 -------
Created an attachment (id=6587) [edit]
work/bison-1.35/config.log

config.log for bison-1.35 attached

------- Comment #8 From Garen 2002-12-18 10:48:11 0000 -------
I think I see the problem, it looks like my CFLAGS are passed to icc and it 
probably bombs out compiling the test program because the flags don't jive with 
icc.

------- Comment #9 From Martin Schlemmer (RETIRED) 2002-12-18 16:05:15 0000 -------
Yep.  You should know that icc will not compile everything out there that
gcc does ...  We can mark this as closed ?

------- Comment #10 From Garen 2002-12-18 16:08:03 0000 -------
Yeah thats true, though if the ebuild was going to check for icc to build with 
it I'd think it should make sure it works, or not bother.

Not a huge problem though.

------- Comment #11 From Martin Schlemmer (RETIRED) 2002-12-19 09:08:41 0000 -------
Ill rip the icc stuff out of bison ebuild ... sorry, did not see that somebody
added that.

------- Comment #12 From Jon Portnoy (RETIRED) 2002-12-19 09:38:47 0000 -------
*** Bug 12399 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug