View previous topic :: View next topic |
Author |
Message |
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Mon Dec 27, 2004 3:09 pm Post subject: sys-devel/gcc-3.4.3 failed (solved) |
|
|
I can't emerge sys-devel/gcc-3.4.3. Could anybody help?
Code: |
checking for --enable-version-specific-runtime-libs... yes
checking for install location... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmath/Makefile
config.status: creating libsupc++/Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: creating testsuite/Makefile
config.status: creating scripts/check_survey
config.status: creating scripts/testsuite_flags
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/libstdc++-v3
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3
Running configure in multilib subdir 32
pwd: /var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu
mkdir 32
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 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 x86_64-pc-linux-gnu-gcc... /var/tmp/portage/gcc-3.4.3/work/build/gcc/xgcc -B/var/tmp/portage/gcc-3.4.3/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-target-libstdc++-v3] Error 1
!!! ERROR: sys-devel/gcc-3.4.3 failed.
!!! Function gcc_do_make, Line 1297, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
bash-2.05b#
|
_________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Last edited by benjamin200 on Mon Dec 27, 2004 10:15 pm; edited 2 times in total |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Dec 27, 2004 4:07 pm Post subject: |
|
|
Please post the output of and the contents of /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/config.log. We're unable to help you otherwise. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Mon Dec 27, 2004 4:20 pm Post subject: |
|
|
Hi moocha,
I just emerged gentoo-dev-sources and updated my kernel from version 2.6.9-r9 to -r12, and the emerge-process works. And don't know why. _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Mon Dec 27, 2004 4:22 pm Post subject: |
|
|
ups, no, it doesn't works. It stops again, I will post the needed information file asap _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Mon Dec 27, 2004 4:29 pm Post subject: |
|
|
moocha,
the file /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/config.log doesn't exist.
Code: |
bash-2.05b# cd /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/
bash-2.05b# more con
config config.guess config.rpath configure contrib
config-ml.in config.if config.sub configure.in
bash-2.05b#
|
but in cd /var/tmp/portage/gcc-3.4.3/work/build/ is one config.log with
the following text insert:
Code: |
bash-2.05b# more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:581: checking host system type
configure:602: checking target system type
configure:620: checking build system type
configure:675: checking for a BSD compatible install
configure:2859: checking for x86_64-pc-linux-gnu-ar
configure:2892: checking for ar
configure:2931: checking for x86_64-pc-linux-gnu-as
configure:2964: checking for as
configure:3003: checking for x86_64-pc-linux-gnu-dlltool
configure:3036: checking for dlltool
configure:3075: checking for x86_64-pc-linux-gnu-ld
configure:3147: checking for x86_64-pc-linux-gnu-nm
configure:3180: checking for nm
configure:3219: checking for x86_64-pc-linux-gnu-ranlib
configure:3252: checking for ranlib
configure:3291: checking for x86_64-pc-linux-gnu-windres
configure:3324: checking for windres
configure:3363: checking for x86_64-pc-linux-gnu-objcopy
configure:3396: checking for objcopy
configure:3435: checking for x86_64-pc-linux-gnu-objdump
configure:3468: checking for objdump
configure:3517: checking for x86_64-pc-linux-gnu-ar
configure:3550: checking for ar
configure:3589: checking for x86_64-pc-linux-gnu-as
configure:3622: checking for as
configure:3661: checking for x86_64-pc-linux-gnu-dlltool
configure:3694: checking for dlltool
configure:3733: checking for x86_64-pc-linux-gnu-ld
configure:3766: checking for ld
configure:3805: checking for x86_64-pc-linux-gnu-nm
configure:3838: checking for nm
configure:3877: checking for x86_64-pc-linux-gnu-ranlib
configure:3910: checking for ranlib
configure:3949: checking for x86_64-pc-linux-gnu-windres
configure:3982: checking for windres
configure:4049: checking whether to enable maintainer-specific portions of Makefiles
bash-2.05b#
|
Code: |
bash-2.05b# emerge --info
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r12 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r12 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers: sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/myportage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts berkdb bitmap-fonts cdr crypt cups esd f77 fam flac foomaticdb fortran gdbm gif gphoto2 gpm gtk imagemagick imlib ipv6 java jp2jpeg kde ldap libwww lzw lzw-tiff mikmod motif multilib mysql ncurses nls oggvorbis opengl pam pdflib perl php png python qt readline sdl slang ssl tcpd tiff truetype usb userlocales video xine xml2 xmms xpm xrandr xv zlib linguas_de"
bash-2.05b#
|
_________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Dec 27, 2004 9:29 pm Post subject: |
|
|
Ahh, AMD64 system. I don't have much experience with the AMD64 port, sadly :/ However, you could try to Code: | emerge --oneshot --nodeps linux26-headers glibc | then try the gcc remerge again. Please don't forget to first run Code: | quickpkg linux26-headers glibc | thus saving a (currently installed) snapshot of those two packages into /usr/portage/packages/All (the produced .tbz2 files can serve as backups / rescue packages should anything go awry).
If you don't run the linux26-headers package the above will fail due to a block from linux-headers - in that case quickpkg linux-headers first then unmerge it and immediately after merge linux26-headers and glibc with --nodeps as shown above.
Hope this fixes it - but it's a shot in the dark... _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
benjamin200 Veteran
Joined: 01 Feb 2004 Posts: 1426 Location: DE Munich
|
Posted: Mon Dec 27, 2004 10:15 pm Post subject: |
|
|
Hi moocha,
thanks for your suggestion, but the command
Code: | FEATURES="-sandbox" USE="multilib" emerge gcc portage |
was my friend.
I found a notice on https://bugs.gentoo.org/ BUG ID 72379 which solved this issue.
Thx
Benjamin _________________ Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens |
|
Back to top |
|
|
PredatorX n00b
Joined: 22 May 2004 Posts: 55
|
Posted: Tue Dec 28, 2004 11:36 pm Post subject: |
|
|
Hmmz, I has the same problem only now and this fixed it.
Thanks _________________ Boycot monopolists, they destroy quality and apparently emerge out of lack of moral. http://www.kmfms.com . Open Source 4 all |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
|