View previous topic :: View next topic |
Author |
Message |
Evildad Guru
Joined: 15 Apr 2004 Posts: 475
|
Posted: Mon Sep 25, 2006 4:51 pm Post subject: gnu/stubs-32.h: No such file or directory(multilib?)[SOLVED] |
|
|
mod edit:
split from GCC 4.1.1 and glibc 2.4 stable on x86 and amd64 and moved to the amd64 forum.
amne
HI there tried to
emerge -gcc but it fails
I could merge it with my old 3.4.6 gcc but after making the 4.1.1 default it fails...
Anyone can help me with this?
Thanks
evil
Code: |
emerge -pv gcc
sys-devel/gcc-4.1.1-r1 [4.1.1] USE="fortran gtk nls (-altivec) -bootstrap -build -doc -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB
Error Message:
In file included from /usr/include/features.h:346,
from /usr/include/stdio.h:28,
from /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/tsystem.h:90,
from /var/tmp/portage/gcc-4.1.1-r1/work/gcc-4.1.1/gcc/crtstuff.c:68:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make[4]: *** [32/crtbegin.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make[3]: *** [extra32] Error 2
make[3]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2
!!! ERROR: sys-devel/gcc-4.1.1-r1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
ebuild.sh, line 1255: Called toolchain_src_compile
toolchain.eclass, line 24: Called gcc_src_compile
toolchain.eclass, line 1534: Called gcc_do_make
toolchain.eclass, line 1408: Called die
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
emerge --info
Code: | emerge --info
Portage 2.1.1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Sun, 24 Sep 2006 00:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -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/lib/X11/xkb /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=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LINGUAS="en"
MAKEOPTS="-j2"
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="amd64 X alsa arts avi berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ linguas_en mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Code: |
gcc-config -c
x86_64-pc-linux-gnu-4.1.1
|
Last edited by Evildad on Mon Oct 23, 2006 9:35 am; edited 1 time in total |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Mon Sep 25, 2006 7:01 pm Post subject: |
|
|
Perhaps you forgot to do Code: | source /etc/profile | after updating gcc?
Try doing that and then compile again. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
Evildad Guru
Joined: 15 Apr 2004 Posts: 475
|
Posted: Tue Sep 26, 2006 4:23 am Post subject: |
|
|
amne wrote: | Perhaps you forgot to do Code: | source /etc/profile | after updating gcc?
Try doing that and then compile again. |
Same error...
And I think I already did that step...
To which package belongs stubs because this is causing the error...
Code: | /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory |
|
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Sep 26, 2006 11:56 am Post subject: |
|
|
equery is your friend
Code: | # equery belongs /usr/include/gnu/stubs.h
[ Searching for file(s) /usr/include/gnu/stubs.h in *... ]
sys-libs/glibc-2.4-r3 (/usr/include/gnu/stubs.h)
|
and
Code: | equery belongs /usr/include/gnu/stubs-32.h
[ Searching for file(s) /usr/include/gnu/stubs-32.h in *... ]
sys-libs/glibc-2.4-r3 (/usr/include/gnu/stubs-32.h)
|
_________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
Evildad Guru
Joined: 15 Apr 2004 Posts: 475
|
Posted: Tue Sep 26, 2006 1:43 pm Post subject: |
|
|
ikshaar wrote: | equery is your friend |
I know that but
Code: |
equery belongs /usr/include/gnu/stubs-32.h
[ Searching for file(s) /usr/include/gnu/stubs-32.h in *... ]
|
and
Code: |
equery belongs /usr/include/gnu/stubs.h
[ Searching for file(s) /usr/include/gnu/stubs.h in *... ]
sys-libs/glibc-2.4-r3 (/usr/include/gnu/stubs.h)
|
But why isn't there a stubs-32.h
Is this x86 related bc I'm running on AMD64
Thanks,
evil |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Sep 26, 2006 4:44 pm Post subject: |
|
|
running amd64 too here.. and I have it... not sure why you don't.
only flag I had on emerging glibc were ntpl and ntplonly and fortran and gtk for gcc. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
Evildad Guru
Joined: 15 Apr 2004 Posts: 475
|
Posted: Tue Sep 26, 2006 5:06 pm Post subject: |
|
|
ikshaar wrote: | running amd64 too here.. and I have it... not sure why you don't.
only flag I had on emerging glibc were ntpl and ntplonly and fortran and gtk for gcc. |
Just wanted to
#emerge -v glibc
Code: | checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
glibc-2.4-r3.ebuild, line 1173: Called src_compile
glibc-2.4-r3.ebuild, line 1184: Called toolchain-glibc_src_compile
glibc-2.4-r3.ebuild, line 251: Called glibc_do_configure 'nptl'
glibc-2.4-r3.ebuild, line 941: Called die
!!! failed to configure glibc
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
There is a /lib/cpp but
equery belongs /lib/cpp says
Code: | equery belongs /lib/cpp
[ Searching for file(s) /lib/cpp in *... ]
|
Really strange... |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Tue Sep 26, 2006 5:12 pm Post subject: |
|
|
While i have nfc about AMD64 and multilib issues i think i saw something similar in the german forums a few days ago (without a real solution though). Have you guys switched your profile recently, and if so perhaps from/to a (non-)multilib one? _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Sep 26, 2006 5:15 pm Post subject: |
|
|
using default-linux/amd64/2006.1/desktop here, if that matters. _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
Evildad Guru
Joined: 15 Apr 2004 Posts: 475
|
Posted: Wed Sep 27, 2006 3:47 am Post subject: |
|
|
amne wrote: | While i have nfc about AMD64 and multilib issues i think i saw something similar in the german forums a few days ago (without a real solution though). Have you guys switched your profile recently, and if so perhaps from/to a (non-)multilib one? |
I changed my profile from 2005.0 to amd64/2006.1/desktop...
And i will have a look at the German Thread.
Edit: Danke Amne, dass du extra nen Thread erstellt hast... |
|
Back to top |
|
|
gregw Tux's lil' helper
Joined: 20 Nov 2004 Posts: 106 Location: Warrington, Cheshire, England
|
Posted: Tue Oct 03, 2006 9:49 pm Post subject: |
|
|
Quote: | I changed my profile from 2005.0 to amd64/2006.1/desktop... |
This sounds very familiar to me. I saw this problem on my amd64 box when i recompiled with -eN Like an idiot my profile link was wrong it should hae pointed to amd64/2006.1/desktop and i linked it to x86/2006.1/desktop rebuild everything with a couple of errors realised what I had done (after 2 days) changed the link, emerged everything again and got these glibc errors and gcc compilation errors.
Just attempting to do a stage 3 over the top now.
GregW |
|
Back to top |
|
|
Evildad Guru
Joined: 15 Apr 2004 Posts: 475
|
Posted: Mon Oct 23, 2006 9:34 am Post subject: |
|
|
Got it back on track
I accidently switched to a non multilib profile...
Steps i made
Code: |
1. I had a working x86_64-pc-linux-gnu-3.4.6 multilib gcc. Reverted back to it
2. switched to a multilib profile
3. emerged glibc gcc
4. switched to a working multilib gcc-4.1.1
5. emerged system
6. emerged world
|
Everything's fine now.
Thanks to all |
|
Back to top |
|
|
AeroIllini Tux's lil' helper
Joined: 01 Feb 2004 Posts: 94
|
Posted: Mon Jan 29, 2007 2:58 am Post subject: |
|
|
I'm having the same issue: glibc complains that lib/cpp is not sane, and gcc complains that it cannot find stubs-32.h, which glibc provides. It's a circular dependency issue.
However, I do not have an old install of gcc to fall back on. Only 4.1.1 is installed on my system.
I am using default-linux/amd64/2006.1/desktop as my profile, and have not changed it since first install.
How can I fix this, short of reinstalling everything? |
|
Back to top |
|
|
Sysa Apprentice
Joined: 16 Mar 2005 Posts: 161 Location: Europe
|
Posted: Fri Apr 27, 2007 10:03 am Post subject: |
|
|
AeroIllini wrote: | I'm having the same issue: glibc complains that lib/cpp is not sane, and gcc complains that it cannot find stubs-32.h, which glibc provides. It's a circular dependency issue.
However, I do not have an old install of gcc to fall back on. Only 4.1.1 is installed on my system.
I am using default-linux/amd64/2006.1/desktop as my profile, and have not changed it since first install.
How can I fix this, short of reinstalling everything? |
I had the same problem recently: after kernel upgrade I set wrong profile (/usr/portage/profiles/default-linux/x86/2007.0/server instead of /usr/portage/profiles/default-linux/amd64/2007.0/server) and started to recompile all ;(((.
The problem was solved by installing gcc and glibc from binaries:
1. Copy necessary packages from http://tinderbox.dev.gentoo.org/default-linux/amd64/ to /usr/portage/packages/All/
2. Emerge broken packages:
emerge -Kv1 gpm mpfr gcc glibc etc
3. Recompile all:
emerge glibc binutils gcc
env-update
source /etc/profile
emerge -e system
env-update
source /etc/profile
emerge -e world
4. Clean-up:
emerge --depclean
5. Check and repair:
revdep-rebuild
6. Enjoy! _________________ RedHat -> SuSE -> Debian -> Gentoo |
|
Back to top |
|
|
AlecTavi n00b
Joined: 21 Jul 2005 Posts: 18 Location: Washington, DC
|
Posted: Mon May 07, 2007 4:23 pm Post subject: Thanks |
|
|
I just wanted to say thanks to everybody on this thread. I accidentally set my profile to an x86 profile for almost a month , before updating glibc and getting very bizarre behavior. This thread pointed me in the right direction to fix everything. Thanks! |
|
Back to top |
|
|
rojanu Guru
Joined: 02 Feb 2004 Posts: 361 Location: London
|
Posted: Mon Jun 11, 2007 1:19 pm Post subject: |
|
|
I am having the same problem but I have checked my profile and seems OK to me.
Code: | In file included from /usr/include/features.h:346,
from /usr/include/signal.h:29,
from ../include/setjmp.h:11,
from ../include/pngconf.h:313,
from ../include/png.h:363,
from sys/vesa/background.c:29:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory |
Code: | # emerge --info
Portage 2.1.2.9 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.10
Timestamp of tree: Mon, 11 Jun 2007 08:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r7
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -msse2"
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/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/wget"
CXXFLAGS=" -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict with-bdeps"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
LANG="en_GB@euro"
LC_ALL="en_GB@euro"
LINGUAS="en_GB ku tr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package.excludes"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aalib acl acpi alsa amd64 apache2 automount berkdb bitmap-fonts cdr cjk cli cracklib crypt cups dbus directfb doc dri dv dvd dvdr dvdread fam fbdev ffmpeg firefox flash fortran ftp gdbm gphoto2 gpm hal howl iconv imap isdnlog java javascript junit kde ldap libg++ lm_sensors logrotate midi mmx mono mozsvg mp3 mpi msn mudflap mysql nas ncurses network nfs nls nptl nptlonly nsplugin oav odbc openmp openssl pam pcre pdf perl php pic ppds pppd python qt qt4 quicktime quotas readline reflection rtc samba sasl scanner session slp sox spl sse sse2 ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vcd videos wmf xine xml xorg xscreensaver xvid zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB ku tr" USERLAND="GNU" VIDEO_CARDS="vga sis vmware"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
|
_________________ "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler,
Linux User: #416714 |
|
Back to top |
|
|
Massimo B. Veteran
Joined: 09 Feb 2005 Posts: 1820 Location: PB, Germany
|
Posted: Sat Oct 20, 2007 7:28 am Post subject: |
|
|
Still the same problem here: Which binary packages do I need? I fetched and installed these: Code: | # ls /usr/portage/packages/All/
binutils-2.18-r1.tbz2 gcc-4.1.2.tbz2 glibc-2.6.1.tbz2 libart_lgpl-2.3.19-r1.tbz2 mpfr-2.2.1_p5.tbz2 |
But the first non-binary emerge fails: Code: | checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.
*
* ERROR: sys-libs/glibc-2.6.1 failed. |
My initial problem was that emerge -e system compiled fine only gcc failed when looking for stubs-32.h. _________________ HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770 |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Sun Oct 28, 2007 10:55 am Post subject: |
|
|
thanks everybody involved in solving this, now hopefully glibc & gcc will build until they're finished (at least on my system, I'll keep you updated)
@Massimo B.:
glibc, gcc should suffice, you can then build the others (mpfr, libart_lgpl, binutils)
mark that glibc & gcc need to match each other & also regarding the system they were built on [profile] (it seemed to be obligatory for me), then you'll be able to first build glibc & then gcc
update:
ok, well that did it - all compiled _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Tue Mar 11, 2008 4:36 pm Post subject: |
|
|
I have the same problem on one server at work. I can not upgrade glibc because of the /lib/cpp fails sainity check on the 32 bit build and I can not update gcc because of the missing header on the 32 bit build.
Code: | # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-3.4.6, glibc-2.5-r4, 2.6.22-vs2.2.0.3-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.22-vs2.2.0.3-gentoo-r2 x86_64 AMD Opteron(tm) Processor 246
Timestamp of tree: Mon, 10 Mar 2008 15:46:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
dev-util/confcache: 0.4.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://pandemonium.tiscali.de/pub/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gentoo-overlay /usr/portage/local/layman/masterdriverz"
SYNC="rsync://datastore0/gentoo-portage"
USE="7zip X acl acpi alsa amd64 apache2 apm async bacula-console bacula-split-init bash bash-completion berkdb bzip2 c++ cdr chroot cli cracklib crosscompile crypt cups cvs doc dpms dri dvd dvdr emul-linux-x86 firefox font-server fortran gdbm gnome gpm gtk gtk2 hddtemp iconv isdnlog jpeg kqemu midi mmx mng mozbranding mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl php png postgres pppd python rdesktop readline reflection reiserfs samba session spl sse sse2 ssl szip tcltk tcpd threads truetype unicode wxwindows xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="ati radeon mach64"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
|
I have dozens of amd64 servers at work and this is the last one to update since it is the most important box. The other servers all have been recently upgraded from gcc-3.4.6 to gcc-4.2.3 (fully rebuilt) and all is working well with them. Would it be a problem to grab binary packages for glibc-2.6.1 and gcc-4.2.3 from these systems to fix this problem? I am most worried about glibc since it is very difficult to downgrade glibc. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon Mar 17, 2008 7:29 pm Post subject: |
|
|
It appears like the fix for me was using the bin packages for gcc-4.2.3 and glibc-2.6.1 I had created on my other amd64 machines. Right now I am reemerging glibc and it appears to be working as the sanity check failure did not happen this time.
[EDIT]Yes that definitely solved the problem for me. Now that I have a working toolchain I can finally do a system update..[/EDIT] _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
cord Guru
Joined: 28 Apr 2007 Posts: 346
|
Posted: Wed Jul 23, 2008 7:10 pm Post subject: |
|
|
Hello,
I have this problem again on hardened,no-multilib profile.
gcc-3.4.6 fails with
Code: | /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory |
and glibc with
Code: |
configure: error: C preprocessor "/lib/cpp" fails sanity check
|
FAQ about glibc does't help
I've tried CFLAGS=-m64" for gcc compilation, but there is no effect too.
What can I do? |
|
Back to top |
|
|
ali3nx l33t
Joined: 21 Sep 2003 Posts: 732 Location: Winnipeg, Canada
|
Posted: Wed Jul 23, 2008 7:58 pm Post subject: |
|
|
the libpaths for amd64 emul libs since 2006 gcc3.x.x have been drastically altered. updating will likely be more of a nuicance than reinstalling |
|
Back to top |
|
|
cord Guru
Joined: 28 Apr 2007 Posts: 346
|
Posted: Thu Jul 24, 2008 8:29 am Post subject: |
|
|
I am not updating my system. I make fresh install from stage3-amd64-hardened+nomultilib-2008.0. |
|
Back to top |
|
|
diablo465 Apprentice
Joined: 10 Sep 2013 Posts: 194
|
Posted: Wed Feb 19, 2014 5:05 am Post subject: |
|
|
same problem here. who can help?? |
|
Back to top |
|
|
zerbino n00b
Joined: 10 Apr 2014 Posts: 13
|
Posted: Fri Apr 11, 2014 3:59 am Post subject: |
|
|
diablo465 wrote: | same problem here. who can help?? |
same problem. no profile changes, x86_64 kernel, NO no_multil installation.
can't compile glibc, can't compile gcc. dead circle...
what should I do? |
|
Back to top |
|
|
|