View previous topic :: View next topic |
Author |
Message |
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Nov 20, 2006 7:49 pm Post subject: Can't Compile Binutils-2.17.50.0.6 (SOLVED!) |
|
|
I ran a emerge -uDN --with-bdeps y world and in the process it updated gcc to 4.1.1-r2 so after the update I went to do a emerge -e system && emerge -e system && emerge -e world and went to sleep. When I woke up it failed on binutils-2.17.50.0.6 with a "compiler cannot create executables" I checked the forums, and I have not changed my make.conf... Any suggestions are wonderful.
emerge info:
Code: |
Portage 2.1.2_rc2-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 Dual Core AMD Opteron(tm) Processor 175
Gentoo Base System version 1.12.6
Last Sync: Mon, 20 Nov 2006 19:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17.50.0.6
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -fno-ident -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=opteron -O2 -fno-ident -msse3 -pipe -fno-enforce-eh-specs -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 artworkextra avi berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups dbus dio directfb dlloader dv dvd dvdr dvdread elibc_glibc emul-linux-x86 encode fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glibc-omitfp glut gnome gpm gtk gtk2 gtstreamer hal iconv ieee1394 input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog ithreads java javascript jpeg kdeenablefinal kdehiddenvisibility kernel_linux kqemu libg++ lm_sensors mad madwifi mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl pam pcmcia pcre pdf perl png pni ppds pppd python quicktime readline reflection sdl session spell spl ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia videos vorbis wifi xml xorg xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
|
config.log :
Code: |
gcc (GCC) 4.1.1 (Gentoo 4.1.1-r2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2271: $? = 0
configure:2278: gcc -v >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r2/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r2)
configure:2281: $? = 0
configure:2288: gcc -V >&5
gcc: '-V' option must have argument
configure:2291: $? = 1
configure:2314: checking for C compiler default output file name
configure:2341: gcc -march=opteron -O2 -fno-ident -pipe conftest.c >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-devel/binutils-2.17.50.0.6/temp/cckca1cT.o: Relocations in generic ELF (EM: 0)
/var/tmp/portage/sys-devel/binutils-2.17.50.0.6/temp/cckca1cT.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
configure:2344: $? = 1
configure:2382: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2389: error: C compiler cannot create executables
See `config.log' for more details.
|
and here is the actual error from portage about 2min into the compile:
Code: |
Configuring in ./opcodes
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-opcodes] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.17.50.0.6/work/build'
make: *** [all] Error 2
!!! ERROR: sys-devel/binutils-2.17.50.0.6 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1261: Called toolchain-binutils_src_compile
toolchain-binutils.eclass, line 197: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
_________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1
Last edited by LoSeR_5150 on Tue Nov 28, 2006 6:28 am; edited 3 times in total |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Nov 20, 2006 8:38 pm Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software.
Unsupported, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Nov 20, 2006 8:51 pm Post subject: |
|
|
Update:
Ok now my system is really b0rked. I emerge binutils 2.17 and it emerged fine however now that I have emerged it I can emerge nothing more... pls help _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Nov 20, 2006 8:55 pm Post subject: |
|
|
nixnut wrote: | Moved from Portage & Programming to Unsupported Software.
Unsupported, so moved here. |
Why unsupported??? I just dumped binutils-2.17.50.6 and I am still having problems? I'm using GCC and GLIBC for portage?? Pls explain
Update:
Also I have changed my make.conf hoping to narrow down the plm but it did not help...
Code: |
ACCEPT_KEYWORDS="~amd64"
#CFLAGS="-march=opteron"
#CFLAGS="${CFLAGS} -O2"
#CFLAGS="${CFLAGS} -fno-ident"
#CFLAGS="${CFLAGS} -msse3"
#CFLAGS="${CFLAGS} -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
#CXXFLAGS="${CXXFLAGS} -fno-enforce-eh-specs"
#CXXFLAGS="${CXXFLAGS} -fvisibility-inlines-hidden"
FEATURES="fixpackages"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
INPUT_DEVICES="keyboard mouse synaptics"
#LDFLAGS="-Wl,-O1"
#LDFLAGS="${LDFLAGS} -Wl,--hash-style=both"
#MAKEOPTS="-j3"
PORTDIR_OVERLAY="/usr/local/portage"
USE="3dnow 3dnowext X a52 aac amd64 acpi alsa artworkextra avi bzip2 cdparanoia cdr
crypt cups dbus dio directfb dv dvd dvdr dvdread emul-linux-x86 encode fam fbcon
ffmpeg firefox flac ftp gif glibc-omitfp glut gnome gpm gtstreamer gtk gtk2 hal
ieee1394 ipv6 ithreads java javascript jpeg kdeenablefinal kdehiddenvisibility
kqemu lm_sensors mad madwifi mikmod mmx mmxext mp3 mpeg nls nptl nptlonly nsplugin
offensive ogg openal opengl pcmcia pdf png pni quicktime sdl spell sse sse2 ssl
svga symlink threads tiff truetype unicode usb videos vorbis wifi win32codecs xml
xv xvid zlib -arts -eds -esd -dri -kde -qt -qt3 -qt4"
VIDEO_CARDS="nv nvidia"
|
_________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Mon Nov 20, 2006 9:01 pm Post subject: |
|
|
May be your LDFLAGS is the reason of this problem.
Try to switch it off when emering binutils... |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Nov 20, 2006 9:06 pm Post subject: |
|
|
Thanks for the reply... but I actually have turned off the LDFLAGS and it didn't help. My new error when I try to compile anything is
say when i try to compile binutils now...
Code: |
>>> Compiling source in /var/tmp/portage/sys-devel/binutils-2.17.50.0.6/work/bin
utils-2.17.50.0.6 ...
* CATEGORY: sys-devel
* CBUILD: x86_64-pc-linux-gnu
* CHOST: x86_64-pc-linux-gnu
* CTARGET: x86_64-pc-linux-gnu
* CFLAGS: -march=opteron -O2 -fno-ident -pipe
* LDFLAGS: -Wl,-O1
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gn
u --datadir=/usr/share/binutils-data/x86_64-pc-linux-gnu/2.17.50.0.6 --infodir=/
usr/share/binutils-data/x86_64-pc-linux-gnu/2.17.50.0.6/info --mandir=/usr/share
/binutils-data/x86_64-pc-linux-gnu/2.17.50.0.6/man --bindir=/usr/x86_64-pc-linux
-gnu/binutils-bin/2.17.50.0.6 --libdir=/usr/lib64/binutils/x86_64-pc-linux-gnu/2
.17.50.0.6 --libexecdir=/usr/lib64/binutils/x86_64-pc-linux-gnu/2.17.50.0.6 --in
cludedir=/usr/lib64/binutils/x86_64-pc-linux-gnu/2.17.50.0.6/include --enable-64
-bit-bfd --enable-shared --disable-werror --without-included-gettext --build=x86
_64-pc-linux-gnu --enable-maintainer-mode --enable-maintainer-mode --enable-main
tainer-mode
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=opteron -O2 -fno-ident -pipe -Wl,-O
1) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.
!!! ERROR: sys-devel/binutils-2.17.50.0.6 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1261: Called toolchain-binutils_src_compile
toolchain-binutils.eclass, line 195: Called die
!!! configure failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
|
or if i try to compile nbench
Code: |
>>> Compiling source in /var/tmp/portage/app-benchmarks/nbench-2.2.2/work/nbench-byte-2.2.2 ...
gcc -march=opteron -O2 -fno-ident -msse3 -pipe -Wl,-O1 pointer.c -o pointer
/lib64/libc.so.6: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [pointer] Error 1
!!! ERROR: app-benchmarks/nbench-2.2.2 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
nbench-2.2.2.ebuild, line 25: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
_________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Mon Nov 20, 2006 9:23 pm Post subject: |
|
|
It is really bad.
Something was happend with your glibc/gcc.
Can you restore it from binary or smth other?
One idea...
Show me please your gcc-config -l |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Nov 20, 2006 9:30 pm Post subject: |
|
|
I unfortunately dont have any binary's to restore from... I think it may have something to do with the new gcc 4.1.1-r2 because everything was working fine before that ... now tho I am not sure my next course of action. I'd try someone else's pre-compiled binary for gcc and/or binutils...
gcc-config -l:
Code: |
loser@Hell ~ $ gcc-config -l
[1] x86_64-pc-linux-gnu-4.1.1 *
|
binutils-config -l:
Code: |
loser@Hell ~ $ binutils-config -l
[1] x86_64-pc-linux-gnu-2.17 *
|
_________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
f0rk Apprentice
Joined: 15 Nov 2004 Posts: 273 Location: Moscow
|
Posted: Mon Nov 20, 2006 9:33 pm Post subject: |
|
|
Only one version is avaiable...
What about restore? |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Mon Nov 20, 2006 9:35 pm Post subject: |
|
|
I didnt make any pre-compiled binaries so unless someone would be nice enough to send me one I dont know how I am going to restore...
Update: So I made a simple test file to compile "hello.c"
Code: |
#include <stdio.h>
int main(void) {
printf("Hello, world.\n");
return 0;
}
|
Here is the results of me trying to compile that simple file...
Code: |
Hell Desktop # gcc -march=k8 -O2 -pipe hello.c
/lib64/libc.so.6: file not recognized: File format not recognized
collect2: ld returned 1 exit status
|
Any idea of what to make of that??? _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Tue Nov 21, 2006 1:11 am Post subject: |
|
|
Your problem:
You compiled world with --hash-style=both and then downgraded to a version of binutils that doesn't support it.
Possible Fix:
Code: | # LD_X=1 emerge =sys-devel/binutils-2.17.50.06
# binutils-config 2
# env-update; source /etc/profile |
Then see if you can compile. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Tue Nov 21, 2006 6:21 pm Post subject: |
|
|
vipernicus: thank u thank u thank u... I had already formated and re-installed by the time I got around to seeing this msg.... but I now know what I did that caused my problem. Again thanks for your help. Cheers _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Tue Nov 21, 2006 7:48 pm Post subject: |
|
|
LoSeR_5150 wrote: | vipernicus: thank u thank u thank u... I had already formated and re-installed by the time I got around to seeing this msg.... but I now know what I did that caused my problem. Again thanks for your help. Cheers |
Maybe as a safety precaution:
Code: | echo >> "<=sys-devel/binutils-2.17.50.0.2" >> /etc/portage/package.mask |
_________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Nov 21, 2006 9:00 pm Post subject: |
|
|
vipernicus wrote: | Your problem:
You compiled world with --hash-style=both and then downgraded to a version of binutils that doesn't support it.
Possible Fix:
Code: | # LD_X=1 emerge =sys-devel/binutils-2.17.50.06
# binutils-config 2
# env-update; source /etc/profile |
Then see if you can compile. |
What is
good for?
Vipernicus, could you explain please? _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu
Last edited by zxy on Mon Nov 27, 2006 9:57 pm; edited 1 time in total |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Tue Nov 21, 2006 11:56 pm Post subject: |
|
|
zxy wrote: | vipernicus wrote: | Your problem:
You compiled world with --hash-style=both and then downgraded to a version of binutils that doesn't support it.
Possible Fix:
Code: | # LD_X=1 emerge =sys-devel/binutils-2.17.50.06
# binutils-config 2
# env-update; source /etc/profile |
Then see if you can compile. |
What is
good for?
Vipernicus, could you explain please? |
LD_X=1 tells the linker to load the old style hashes, instead of the newer style that is created with --hash-style. |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Tue Nov 28, 2006 2:54 am Post subject: |
|
|
After a complete re-install everything was fine... however I cannot recompile binutils-2.17.50.6 yet again.... however this time everything else on my system compiles and is working fine... Open to Suggestions, errors and emerge info below...
emerge info:
Code: |
Portage 2.1.2_rc2-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 Dual Core AMD Opteron(tm) Processor 175
Gentoo Base System version 1.12.6
Last Sync: Mon, 27 Nov 2006 08:01:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17.50.0.6
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fno-ident -frename-registers -fweb -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -fno-ident -frename-registers -fweb -msse3 -pipe -fno-enforce-eh-specs -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 artworkextra avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups dbus dio directfb dlloader dv dvd dvdr dvdread elibc_glibc emul-linux-x86 encode fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glibc-omitfp glut gnome gpm gtk gtk2 gtstreamer hal iconv ieee1394 input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog ithreads java javascript jpeg kdeenablefinal kdehiddenvisibility kernel_linux libg++ lm_sensors mad madwifi mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl pam pcmcia pcre pdf perl png pni ppds pppd python quicktime readline reflection sdl session spell spl ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia videos vorbis wifi xml xorg xv xvid zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
|
error:
Code: |
mkdir -p -- ./opcodes
Configuring in ./opcodes
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-opcodes] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/binutils-2.17.50.0.6/work/build'
make: *** [all] Error 2
!!! ERROR: sys-devel/binutils-2.17.50.0.6 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1261: Called toolchain-binutils_src_compile
toolchain-binutils.eclass, line 197: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
config.log from opcodes:
Code: |
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1712: creating cache ./config.cache
configure:1828: checking build system type
configure:1846: result: x86_64-pc-linux-gnu
configure:1868: checking host system type
configure:1883: result: x86_64-pc-linux-gnu
configure:1905: checking target system type
configure:1920: result: x86_64-pc-linux-gnu
configure:1956: checking for x86_64-pc-linux-gnu-gcc
configure:1983: result: x86_64-pc-linux-gnu-gcc
configure:2261: checking for C compiler version
configure:2268: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2271: $? = 0
configure:2278: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/
4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-d
ata/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-l
inux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext
--with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-
multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortra
n --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1-r3)
configure:2281: $? = 0
configure:2288: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:2291: $? = 1
configure:2314: checking for C compiler default output file name
configure:2341: x86_64-pc-linux-gnu-gcc -march=k8 -O2 -fno-ident -pipe conftest.c >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage
/sys-devel/binutils-2.17.50.0.6/temp/cc79HW9x.o: Relocations in generic ELF (EM: 0)
/var/tmp/portage/sys-devel/binutils-2.17.50.0.6/temp/cc79HW9x.o: could not read symbols: File i
n wrong format
collect2: ld returned 1 exit status
configure:2344: $? = 1
configure:2382: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2389: error: C compiler cannot create executables
See `config.log' for more details.
|
This occurs with the binutils in portage on the one from nxsty. I've tried removing all LDFLAGS, CFLAGS, CXXFLAGS, and also tried to compile binutils with LD_X=1 but it did not work. I can compile everything else fine. Any Ideas? _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Tue Nov 28, 2006 6:21 am Post subject: |
|
|
Ok here is how i got binutils to compile... I had to edit the build and change
to
re-digested ebuild... then emerged binutils again with no problem. should I post this as a bug on bugzilla??? _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Nov 30, 2006 10:24 am Post subject: |
|
|
LoSeR_5150 wrote: | Ok here is how i got binutils to compile... I had to edit the build and change
to
re-digested ebuild... then emerged binutils again with no problem. should I post this as a bug on bugzilla??? |
You mean the other way around right? I already put in this bug report on the 23rd. It wouldn't build because of PATCHVER="1.1" which had the Cell patches. Gentoo dev's changed the ebuild back to PATCHVER="1.0" on the 26th I believe. But, in the next couple of days binutils-2.17.50.0.7 will be out. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
zxy Veteran
Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Thu Nov 30, 2006 11:05 am Post subject: |
|
|
binutils-2.17.50.0.7 is out already. At least for amd64. Its masked, but it's here.
Compiled ok for me. _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
Back to top |
|
|
LoSeR_5150 Guru
Joined: 20 Mar 2005 Posts: 455 Location: San Francisco, CA
|
Posted: Fri Dec 01, 2006 1:43 am Post subject: |
|
|
vipernicus: on my machine I actually had to revert back to patchver 1.0 otherwise wouldnt compile I couldn't tell u why ??? I got the idea to change back to 1.0 because I saw the bug report when searching bugzilla.... now I have binutils-2.17.50.0.7 and its working fine. And I didnt experience any of these issues on my x86 box which has a very very similar setup. _________________ Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1
Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1 |
|
Back to top |
|
|
|