Good idea on maintaining one build and have a USE flag. This will allow those of us with the bdrirect approach to have updates until such time as it makes sense to switch over to new hash-style (assuming it's what becomes standard).nesl247 wrote:By default it will be -Bdirect,-hashvals,-zdynsort. The general idea when using --hash-style is to use a patched prelink (located here).
-Bdirect and --hash-styles seems to be incompatible. Ontop of that, the --hash-style patch is going under a change to rewrite part of it.
Code: Select all
* Generating 4 locales (this might take a while)
* (1/4) Generating en_US.ISO-8859-1 ...Code: Select all
- /bin/bash /usr/sbin/locale-gen
`- localedef --no-archive -c -i en_US -f ISO-8859-1 -A /usr/share/locale/locale.alias en_US (Running 80%CPU)
`- gzip (Zombie 0%)Code: Select all
en_US ISO-8859-1
en_US.UTF-8 UTF-8
pl_PL ISO-8859-2
pl_PL.UTF-8 UTF-8Code: Select all
Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.2.0-alpha20060603/vanilla, glibc-2.4.90.20060701-r0, 2.6.17-no2 i686)
=================================================================
System uname: 2.6.17-no2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: 0.4.2-r1
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -mtune=pentium3 -pipe -fno-ident -ftree-vectorize -ffast-math -fweb -ftracer -mmmx -msse -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -DNO_DEBUG"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -march=pentium3 -mtune=pentium3 -pipe -fno-ident -ftree-vectorize -ffast-math -fweb -ftracer -mmmx -msse -DNDEBUG -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -DNO_DEBUG -fvisibility-inlines-hidden -fno-enforce-eh-specs -frepo"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo http://gentoo.zie.pg.gda.pl http://194.117.143.72 http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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 /usr/local/portage-proaudio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 7zip S3TC X aac acpi alsa ao apache2 artswrappersuid asf avi berkdb bitmap-fonts bittorrent bzip2 cairo ck-plus cli crypt cups curl dbus dga dio dlloader dri emboss encode extras ffmpeg flac foomaticdb fortran gdbm gif gimp glibc-omitfp glitz glx gmp graphviz gtk gtk2 gzip hou hpn imlib input_devices_keyboard input_devices_mouse isdnlog ithreads jabber javascript jpeg lcms libg++ libgda libsamplerate libwww mad menubar mikmod mmx mng modplug mozilla mozsvg mp3 mpeg musepack ncurses new-login nls no-old-linux nocardbus nomalloccheck nowin nptl nptlonly nvidia objc ogg opengl pam pango pcre pdf pdflib perl pic plugin png pppd python qemu-fast qt qt3 qt4 quicktime readline reflection rogue sdl session sndfile sou sox speex spell spl sse sse-filters ssl svg svgz tcpd tga theora threads tiff tlen toolbar truetype truetype-fonts type1-fonts udev unicode userlocales video_cards_nvidia vorbis win32codecs wmf wxwindows xatrix xcomposite xml xorg xv xvid xvmc zlib elibc_glibc input_devices_evdev kernel_linux linguas_pl userland_GNU video_cards_nv"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASKCode: Select all
emerge --info
Portage 2.1.1_pre1-r5 (default-linux/x86/2006.0, gcc-4.1.1-pre20060526/vanilla, glibc-2.4.90.20060701-r0, 2.6.17-no2 i686)
=================================================================
System uname: 2.6.17-no2 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: 0.4.2-r1
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4m -fomit-frame-pointer -pipe -ftracer -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4m -fomit-frame-pointer -pipe -ftracer -frename-registers -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=both"
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 /usr/local/overlays/nxsty /usr/local/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm avi berkdb bitmap-fonts cli crypt dlloader dri dvd dvdread eds emboss esd foomaticdb fortran gdbm gif glibc-omitfp gpm gstreamer gstreamer010 gtk gtk2 hashstyle imlib ipv6 isdnlog jpeg libg++ libwww mad matroska mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdflib perl pic png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev vorbis win32codecs xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

Code: Select all
/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen: relocation error: /tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/libdl.so.2: symbol _libc_intl_domainname, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
make[2]: *** [/tmp/work/portage/glibc-2.4.90.20060716/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/work/portage/glibc-2.4.90.20060716/work/glibc-2.4/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/tmp/work/portage/glibc-2.4.90.20060716/work/glibc-2.4'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.4.90.20060716 failed.
Call stack:
ebuild.sh, line 1545: Called dyn_compile
ebuild.sh, line 940: Called src_compile
glibc-2.4.90.20060716.ebuild, line 1208: Called src_compile
glibc-2.4.90.20060716.ebuild, line 1219: Called toolchain-glibc_src_compile
glibc-2.4.90.20060716.ebuild, line 278: Called die
!!! make for x86 failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/layman/nxsty-glibc'
Code: Select all
Portage 2.1.1_pre3-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4.90.20060701-r0, 2.6.17-beyond1.1 x86_64)
=================================================================
System uname: 2.6.17-beyond1.1 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.1
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
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.93, 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=k8 -pipe -ftracer -ftree-vectorize -frename-registers -fweb -ffast-math -fno-ident -mmmx -msse -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-Os -march=k8 -pipe -ftracer -ftree-vectorize -frename-registers -fweb -ffast-math -fno-ident -mmmx -msse -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG -fvisibility-inlines-hidden -fvisibility=hidden"
FEATURES="autoconfig ccache cvs distlocks metadata-transfer parallel-fetch prelink sandbox sfperms strict userpriv usersandbox"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"

Yes, over here(~x86).Anyone with this error?

Yes, please look here.Martin.Jansa wrote:Anyone with this error?Code: Select all
make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/tmp/work/portage/glibc-2.4.90.20060716/work/glibc-2.4/sunrpc' make[1]: *** [sunrpc/others] Error 2 make[1]: Leaving directory `/tmp/work/portage/glibc-2.4.90.20060716/work/glibc-2.4' make: *** [all] Error 2

Thanks, i wasn't aware of that this error already occured, however i was using binutils-2.17.50.0.3 and glibc-2.4.20060716, and i think the hash-style those versions use should be compatible. I hope it works out (soon).Yes, please look here.
It seems that you are mixing different hashstyle patch versions. The best way is to do an emerge -e system/world before switching to the final hashstyle version of binutils etc.


Same here, unpacking quickpkged older glibc saved me.enderandrew wrote:Egad. I've been upgrading with each new patch with no problem.
But all of a sudden, if I type "emerge anything" even "emerge --info" I get an immediate seg fault.
Ouch. I guess I'm going to backup my overlay folder, my various configuration files and start anew.
I am not moving over to the new patches and want to stay with -Bdirect -hashvals and -zdynsort for the time being. Does your new overlay still support these patches or should I stay with the old one?nxsty wrote:I updated my overlay again with a new snapshot and the -hash-style patches controlled by a hashstyle USE (from nesl247's overlay). The glibc 2.4.90 snapshots no longer supports -hashvals or -Bdirect and USE="hashstyle" will disable them in 2.4-rX too.
That depends on which version of glibc you´re using. If it's 2.4.90 then -Bdirect is not supported anymore. But it's still included and patched by default in 2.4-rX if you don't set the hashstyle USE-flag.abhay wrote:I am not moving over to the new patches and want to stay with -Bdirect -hashvals and -zdynsort for the time being. Does your new overlay still support these patches or should I stay with the old one?nxsty wrote:I updated my overlay again with a new snapshot and the -hash-style patches controlled by a hashstyle USE (from nesl247's overlay). The glibc 2.4.90 snapshots no longer supports -hashvals or -Bdirect and USE="hashstyle" will disable them in 2.4-rX too.
Cool. Cause I'm not sure I'm ready to move to new hashstyle yet either. I want to see it built a good few times and see what problems other have first. Especially since I have to convert from bdirect/hashvals to regular glibc and then to the new style. A lot of building and my Gentoo box is my main box and dev box all at once.nxsty wrote:That's correct. I'm not going to remove it from the stable ebuilds unless I have to.abhay wrote:Thanks
I am still using 2.4-r3 so Bdirect should work for me. Right?
Code: Select all
2. Pull the overlay by running svn co http://svn.evolution-mission.org/toolchain_overlay/sys-libs/glibc/
2. Put it in /usr/local/portage/sys-libs
3. Edit make.conf and make sure you have PORTDIR_OVERLAY="/usr/local/portage"Code: Select all
2. mkdir -p /usr/local/overlays
3. Pull the overlay by running: svn co http://svn.evolution-mission.org/toolchain_overlay /usr/local/overlays/toolchain_overlay
3. Edit make.conf and make sure you have PORTDIR_OVERLAY="/usr/local/overlays/toolchain_overlay"