Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge glibc-2.5 failed (or how to change your CHOST)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 365
Location: Bordeaux, France

PostPosted: Tue Feb 06, 2007 5:38 pm    Post subject: emerge glibc-2.5 failed (or how to change your CHOST) Reply with quote

Hi all,
Running emerge -Du world failed on updating glibc, I'm not sure to understand why.... "segmentation fault" ?

Code:
make[2]: *** [/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.5.ebuild, line 1119:   Called toolchain-glibc_src_compile
  glibc-2.5.ebuild, line 235:   Called die

!!! make for default failed

any suggestion welcome

[Stuck by NeddySeagoon 11th Feb 2007. We will see a lot of users with CHOST=i386.. cant build glibc issues.
The fix is to upate your CHOST following this guide Just changeing CHOST will give you a badly broken system
subtitle added ]

Unstuck. -- desultory
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Tue Feb 06, 2007 6:12 pm    Post subject: Reply with quote

post more of the failure above.
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 365
Location: Bordeaux, France

PostPosted: Tue Feb 06, 2007 6:17 pm    Post subject: Reply with quote

Code:
i386-pc-linux-gnu-gcc -nostdlib -nostartfiles -o /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcinfo  -Wl,-dynamic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro  /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crt1.o /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crti.o `i386-pc-linux-gnu-gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcinfo.o  -Wl,-rpath-link=/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/math: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/dlfcn: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nss: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nis: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/rt: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/resolv: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/crypt: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/libc.so.6 /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed `i386-pc-linux-gnu-gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/csu/crtn.o
CPP='i386-pc-linux-gnu-gcc -E -x c-header'  /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/math: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/elf: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/dlfcn: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nss: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/nis: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/rt: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/resolv: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/crypt: /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/linuxthreads /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.T
make[2]: *** [/var/tmp/portage/glibc-2.5/work/build-default-i386-pc-linux-gnu-linuxthreads/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.5.ebuild, line 1119:   Called toolchain-glibc_src_compile
  glibc-2.5.ebuild, line 235:   Called die

!!! make for default failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Edit: Split up some lines which were destroying the page layout. --Maedhros
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
kg4ysy
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 183
Location: North Carolina

PostPosted: Wed Feb 07, 2007 2:25 am    Post subject: Reply with quote

I get the same error message on mine verbatim.
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Wed Feb 07, 2007 2:50 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=157733
Back to top
View user's profile Send private message
DiTz
n00b
n00b


Joined: 15 Aug 2006
Posts: 11

PostPosted: Wed Feb 07, 2007 2:39 pm    Post subject: Reply with quote

Any solution??
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Wed Feb 07, 2007 2:46 pm    Post subject: Reply with quote

post emerge --info
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
DiTz
n00b
n00b


Joined: 15 Aug 2006
Posts: 11

PostPosted: Wed Feb 07, 2007 2:49 pm    Post subject: Reply with quote

Quote:
router ~ # emerge --info
Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r5, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System release 1.12.6
Last Sync: Wed, 07 Feb 2007 01:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python: 2.4.3-r4
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.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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.spirosco.awmn/Linux/Mirrors/gentoo ftp://ftp.apoikos.awmn/linux/gentoo"
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"
SYNC="rsync://rsync.apoikos.awmn/gentoo-portage"
USE="x86 alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm berkdb bitmap-fonts cli cracklib crypt dlloader dri eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gstreamer gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ libwww mad midi mikmod motif mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Wed Feb 07, 2007 2:59 pm    Post subject: Reply with quote

you are using a no-nptl profile is this what you intended?
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
DiTz
n00b
n00b


Joined: 15 Aug 2006
Posts: 11

PostPosted: Wed Feb 07, 2007 3:05 pm    Post subject: Reply with quote

dcoats wrote:
you are using a no-nptl profile is this what you intended?

Yeap!
Back to top
View user's profile Send private message
kg4ysy
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 183
Location: North Carolina

PostPosted: Wed Feb 07, 2007 3:05 pm    Post subject: Reply with quote

I noticed that when I switched to the 2006.1 profile when I reinstalled, my /etc/make.profile looked nothing like the example in the handbook. I apparently am running a no-nptl profile, but this is what the stage3 did to me. Is this incorrect or something? Everything seems to be working alright (aside from glibc, but this seems to be a bigger problem.)
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Wed Feb 07, 2007 3:13 pm    Post subject: Reply with quote

you probably want make.profile to be linked to /usr/portage/profiles/default-linux/x86/2006.1/desktop
here is some info..
http://www.gentoo.org/doc/en/gentoo-upgrading.xml
http://gentoo-wiki.com/NPTL
basically after you get the "Updating to 2006.1" done you probably want to add nptl and nptlonly to your make.conf and emerge -uDN system && emerge -uDN world ...

Lets see how far that gets you.
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
Carlino
Guru
Guru


Joined: 25 May 2005
Posts: 365
Location: Bordeaux, France

PostPosted: Wed Feb 07, 2007 3:29 pm    Post subject: Reply with quote

Code:
 # emerge --info
Portage 2.1.1-r2 (default-linux/x86/no-nptl, gcc-3.4.4, glibc-2.3.6-r5, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Wed, 07 Feb 2007 12:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
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.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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i386-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="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr fr_FR"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS=""
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://gentoo.modulix.net/gentoo-portage"
USE="X adsl alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 al...
...mysql mysqli ncurses net netbeans netboot network new-login nls nsplugin ntfs nvidia ogg opengl oss pam pango pcre pdf pdflib perl plugin png posix pppd python qt3 qt4 quicktime rar readline real reflection samba sdl servlet-2.3 servlet-2.4 session simplexml slang soap sockets spell spl ssl struts subtitles symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vcd video_cards_nvidia vorbis wma x86 xml xml2 xorg xsl xv zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS


Quote:
apparently am running a no-nptl profile, but this is what the stage3 did to me.

Exact same thing to me. I'm gonna try what's said there: http://gentoo-wiki.com/NPTL Thanx dcoats
_________________
Core 2 Quad 9400, Asus PQ5 Pro, Nvidia Geforce GTX 66O
Back to top
View user's profile Send private message
kg4ysy
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 183
Location: North Carolina

PostPosted: Wed Feb 07, 2007 3:42 pm    Post subject: Reply with quote

I did that and it wants to reinstall some stuff. Only problem is that it insists on using the esd use flag. I have it -esd in make.conf but it still wants to use it. I don't want the esd flag. Is it the desktop profile that insists on using it? Can I just use the general 2006.1 profile?
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Wed Feb 07, 2007 3:57 pm    Post subject: Reply with quote

You can use whatever profile you want. Completely up to you.
Quote:
Please note that the alpha/2006.1, amd64/2006.1 and x86/2006.1 profiles are very minimal. They all have a desktop sub-profile that is likely what you want on a desktop machine


cat /usr/portage/profiles/default-linux/x86/2006.1/desktop/make.defaults
cat /usr/portage/profiles/default-linux/x86/2006.1/make.defaults
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Wed Feb 07, 2007 4:33 pm    Post subject: Reply with quote

Quote:
I did that and it wants to reinstall some stuff. Only problem is that it insists on using the esd use flag. I have it -esd in make.conf but it still wants to use it. I don't want the esd flag. Is it the desktop profile that insists on using it? Can I just use the general 2006.1 profile?
I am using 2006.1 profile and have esd deactivated... no problems here

stupid question: are your sure that it is really esd(elightenment sound daemon) and not eds(evolution data server) that pops up?

Or just recheck your make.conf for run-together words, missing spaces and typos...

cheers
V.
Back to top
View user's profile Send private message
DiTz
n00b
n00b


Joined: 15 Aug 2006
Posts: 11

PostPosted: Wed Feb 07, 2007 4:45 pm    Post subject: Reply with quote

FIXED FOR ME!

I changed
CHOST="i386-pc-linux-gnu"
to
CHOST="i686-pc-linux-gnu"

And no errors now...
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1301

PostPosted: Wed Feb 07, 2007 5:01 pm    Post subject: Reply with quote

from the Handbook
Quote:
Warning: Although it might be tempting for non-stage1 users, they should not change the CHOST setting in make.conf. Doing so might render their system unusable. Again: only change this variable if you use a stage1 installation.


You "may" be ok but you better
Code:
emerge glibc binutils gcc
Code:
emerge -e system
Code:
emerge -e world


read through this https://forums.gentoo.org/viewtopic-t-230783.html
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
kg4ysy
Apprentice
Apprentice


Joined: 08 Jul 2006
Posts: 183
Location: North Carolina

PostPosted: Wed Feb 07, 2007 6:45 pm    Post subject: Reply with quote

It was EDS...I just switched to the general profile with my own use flags.

After this switch to a 2006.1 default profile I get the exact same error. I'm scared to change the CHOST since the stage3 set it. If this is a problem then something needs to be done in the ebuild. There are a lot of people running these CHOSTs. Hopefully this gets fixed.
Back to top
View user's profile Send private message
schpanky
n00b
n00b


Joined: 12 Jan 2005
Posts: 58

PostPosted: Wed Feb 07, 2007 6:47 pm    Post subject: Reply with quote

Quote:
I changed
CHOST="i386-pc-linux-gnu"
to
CHOST="i686-pc-linux-gnu"


This seems to be the solution for a lot of us that are having the problem. Wonder why we all ended up with the same incorrect config... :-\

Wish I didn't have to recompile everything. :(
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Wed Feb 07, 2007 6:58 pm    Post subject: Reply with quote

The reason you ended up with that config is you:
Used the generic x86 tarball. A generic x86 would be built for a 386. And since you'd need at least a 486 to do NPTL, the tarball had to be built with the no-nptl profile.

Though I don't know why it would segfault since later CPUs should still be able to do everything a 386 can.

Must be that now gcc is getting more fine-tuned in it's optimizations for a specific CPU and so when you do march="pentium4" (or some other 686 CPU), it ends up doing optimizations that simply do not work for a 386.
Back to top
View user's profile Send private message
fredb
n00b
n00b


Joined: 05 Feb 2007
Posts: 20

PostPosted: Wed Feb 07, 2007 10:31 pm    Post subject: Reply with quote

schpanky wrote:
Quote:
I changed
CHOST="i386-pc-linux-gnu"
to
CHOST="i686-pc-linux-gnu"


This seems to be the solution for a lot of us that are having the problem. Wonder why we all ended up with the same incorrect config... :-\

Wish I didn't have to recompile everything. :(


I started installing a gentoo 2006.1 on my pc, and I was facing the problem making a deep update world . Do I have to emerge again both binutils and gcc to be quiet ?!
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1423
Location: germany

PostPosted: Thu Feb 08, 2007 12:25 am    Post subject: Reply with quote

Hi,

Changing the CHOST variable
Read this carefully before changing CHOST! You can screw up your system if you just change CHOST and don't do any further steps described in the above mentioned text.

Cheers
Poly-C
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)


Last edited by Polynomial-C on Sun Feb 11, 2007 10:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
mistrz.linux
n00b
n00b


Joined: 02 Feb 2007
Posts: 1
Location: Western Frontier Plateau, Ohio

PostPosted: Thu Feb 08, 2007 2:54 pm    Post subject: Reply with quote

i got the exact same thing - using the x86 source. since i'm not too far in, i'm going to start back over. :? i'll let you know the results...

-ml
Back to top
View user's profile Send private message
s0medude
n00b
n00b


Joined: 17 Jun 2004
Posts: 7

PostPosted: Fri Feb 09, 2007 12:24 pm    Post subject: Reply with quote

Hi all, following the leads in this post I:
    changed my profile to 2006.1 (was no-nptl)
    added the nptl and nptlonly flags to make.conf
    added the "no-eds" flag to make.conf

Unfortunately I am still getting the same error.

L33t Gentoos, we need your help :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum