Code: Select all
svn checkout http://glibcsnap.googlecode.com/svn/Code: Select all
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5.90.20070313-r0, 2.6.20-viper4 x86_64)
=================================================================
System uname: 2.6.20-viper4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 11 Mar 2007 19:30:05 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python: 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r6
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.12
sys-devel/gcc-config: 1.3.15
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fno-ident -frename-registers -fweb -fgcse-after-reload -msse3"
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/php/apache1-php5/ext-active/ /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"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -fno-ident -frename-registers -fweb -fgcse-after-reload -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
LINGUAS="en"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/einit /usr/portage/local/layman/xeffects /usr/portage/local/layman/portato /usr/portage/local/layman/custom-kernels /usr/local/portage /usr/portage/local/layman/initng-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi aiglx alsa amd64 bash-completetion bash-completion berkdb bitmap-fonts cli cracklib crypt cups dbus divx dri dvdread encodedv exo fbcon ffmpeg fortran gdbm gif glitz gpm gtk hal hald iconv imagemagick insecure-savers ipv6 isdnlog java jpeg kde kdeenablefinal kickoff libg++ libnotify midi mozbranding mozdevelop moznocompose moznoirc moznomail moznopango mp3 mpeg mplayer mtp musicbrainz ncurses net nls nptl nptlonly nsplugin offensive opengl pam panel-plugin pcre pdf perl pertty php plugins png ppds pppd python qt qt3 quicktime readline realmedia reflection ruby samba session slp spell spl sse3 ssl svg swat symlink tcl tcpd thumbnail thunar tiff trayicon truetype truetype-fonts type1-fonts unicode vcd visualization visulation wmp xcomposite xine xinerama xml xorg xscreensaver xvid 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" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa r128"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

For me (~x86) it works okay ;] thx for ebuildseren wrote:im just wondering how everyone is liking the snapshot i made? a little positive encouragement =P... i intend on doing weekly snapshots, im building a new rig but before i dismantle this pc and wait for the parts to arrive ill do a snapshot from there it will be weekly.
I haven't tested with gcc 4.3, can someone please paste the output of the compile or the reject log if it fails on patching.nbvcxz wrote:@seren: your ebuild is working quite good, but can't apply the gcc-4.3.patch - so this is the second (except of coreutils) package that must be compiled with gcc-4.1 (later I will try with gcc-4.2 which should also work)
Also, should this show up in the emerge output anywhere, ie. how can I check it's working?roderick wrote:So, previously we were using --hash-style=both. Now the indication is that this can be dropped as the default is gnu which is the new one.
What effect does having both set do now? And what will dropping this do? Any min ver of glibc/binutils when this occurred?

Code: Select all
--- binutils/ld/ldmain.c
+++ binutils/ld/ldmain.c
@@ -306,7 +306,7 @@ main (int argc, char **argv)
link_info.gc_sym_list = NULL;
link_info.base_file = NULL;
link_info.emit_hash = TRUE;
- link_info.emit_gnu_hash = FALSE;
+ link_info.emit_gnu_hash = TRUE;
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
and _fini symbols. We are compatible. */
link_info.init_function = "_init";Code: Select all
link_info.emit_hash = TRUE;Just run:ianegg wrote:Also, should this show up in the emerge output anywhere, ie. how can I check it's working?roderick wrote:So, previously we were using --hash-style=both. Now the indication is that this can be dropped as the default is gnu which is the new one.
What effect does having both set do now? And what will dropping this do? Any min ver of glibc/binutils when this occurred?
Code: Select all
readelf -a a.out | grep GNU_HASHCode: Select all
[ 4] .gnu.hash GNU_HASH 0000000000400390 00000390
0x000000006ffffef5 (GNU_HASH) 0x400390
Yes it is. It looks like hash-style=both is the default now.vipernicus wrote: Although, looking again, I'm starting to wonder if this is enabling hash-style=both...
Is this the old hash-style?
Code: Select all
link_info.emit_hash = TRUE;

Or, we could just rediff the patch and throw it in an overlayoctoploid wrote:Just run:ianegg wrote:Also, should this show up in the emerge output anywhere, ie. how can I check it's working?roderick wrote:So, previously we were using --hash-style=both. Now the indication is that this can be dropped as the default is gnu which is the new one.
What effect does having both set do now? And what will dropping this do? Any min ver of glibc/binutils when this occurred?where a.out is the program or library you want to check.Code: Select all
readelf -a a.out | grep GNU_HASH
If it outputs something like:then you are using hash-style=gnu or hash-style=both ...Code: Select all
[ 4] .gnu.hash GNU_HASH 0000000000400390 00000390 0x000000006ffffef5 (GNU_HASH) 0x400390
Yes it is. It looks like hash-style=both is the default now.vipernicus wrote: Although, looking again, I'm starting to wonder if this is enabling hash-style=both...
Is this the old hash-style?
Code: Select all
link_info.emit_hash = TRUE;
You still have to explicitly specify hash-style=gnu in your LDFLAGS,
if you just want to use hash-style=gnu and not both.

Code: Select all
layman -a toolchainCode: Select all
layman -SCode: Select all
svn co svn://svn.nesl247.org/toolchain_overlay/sys-libs/glibc/