Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tweaked glibc 2.4 + 2.5 + snapshot ebuilds
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 23, 24, 25 ... 29, 30, 31  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Fri Jul 28, 2006 8:21 am    Post subject: Reply with quote

The gcc ebuild is broken. :( Don´t use it. I added some visibility fixes from the HEAD branch (4.2) but they actually made things worse. In the firefox case the configure script detect that #pragma visibility works, when it actually don´t, and try to compile with it instead of falling back to using -fvisibility=.
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Fri Jul 28, 2006 4:00 pm    Post subject: Reply with quote

nxsty wrote:
The gcc ebuild is broken. :( Don´t use it. I added some visibility fixes from the HEAD branch (4.2) but they actually made things worse. In the firefox case the configure script detect that #pragma visibility works, when it actually don´t, and try to compile with it instead of falling back to using -fvisibility=.


Ah, ok, thanks for the heads up. I'll revert to gentoo's gcc ebuild for now.
Back to top
View user's profile Send private message
SteveYin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2004
Posts: 91

PostPosted: Tue Aug 01, 2006 10:45 am    Post subject: Reply with quote

sorry to mention, I can not download from http://snigel.no-ip.com, so, I can not download glibc-2.4-extra_patches-2.7.tar.bz2 :( :(
_________________
Steve Yin
Back to top
View user's profile Send private message
enderandrew
l33t
l33t


Joined: 25 Oct 2005
Posts: 731

PostPosted: Tue Aug 01, 2006 1:01 pm    Post subject: Reply with quote

I have a mirror for his files, but it looks like he hasn't updated there. I think I may have the file in my distfiles directory, and if so, I will upload it within the hour.
_________________
Nihilism makes me smile.
Back to top
View user's profile Send private message
SteveYin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2004
Posts: 91

PostPosted: Tue Aug 01, 2006 2:32 pm    Post subject: Reply with quote

so, nxsty, why don't you put these extra patches in overlay, I also checked some previous version like 2.5/2.6, the extra-patches are only 5-7K, I hope you can put these patches in overlay, becase I know there are some people can not connect to http://snigel.no-ip.com
_________________
Steve Yin
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sat Aug 05, 2006 12:30 pm    Post subject: Reply with quote

I added a new CVS snapshot (a lot of bugfixes since last one).

I have considered moving the patches to the overlay. But it's much easier to have a patch tarball rather than many separate epatch lines in the different ebuilds. There are 5 patches atm.
Back to top
View user's profile Send private message
SteveYin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2004
Posts: 91

PostPosted: Sun Aug 06, 2006 1:40 am    Post subject: Reply with quote

But the problem is some ppl can not connect to http://snigel.no-ip.com, so, they I can not using this greate patch. it's a big pitty!!
_________________
Steve Yin
Back to top
View user's profile Send private message
Xake
Guru
Guru


Joined: 11 Feb 2004
Posts: 588
Location: Göteborg, the rainy part of scandinavia

PostPosted: Sun Aug 06, 2006 8:40 am    Post subject: Reply with quote

nxsty wrote:
I added a new CVS snapshot (a lot of bugfixes since last one).

Faulty digest/manifest here for the svn....
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sun Aug 06, 2006 8:53 am    Post subject: Reply with quote

SteveYin wrote:
But the problem is some ppl can not connect to http://snigel.no-ip.com, so, they I can not using this greate patch. it's a big pitty!!


I´ve synced the mirrors now. You can get the files from:

http://www.kriga.net/dl/glibc/
http://www.enderandrew.com/nxsty/
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Sun Aug 06, 2006 8:54 am    Post subject: Reply with quote

Xake wrote:
nxsty wrote:
I added a new CVS snapshot (a lot of bugfixes since last one).

Faulty digest/manifest here for the svn....


I´ll look into that!
Back to top
View user's profile Send private message
SteveYin
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2004
Posts: 91

PostPosted: Wed Aug 09, 2006 4:37 pm    Post subject: Reply with quote

Thanks for the mirror update :)
_________________
Steve Yin
Back to top
View user's profile Send private message
abhay
Apprentice
Apprentice


Joined: 30 Jul 2005
Posts: 161

PostPosted: Thu Aug 10, 2006 12:46 pm    Post subject: Reply with quote

I have upgraded linux-headers today and tried to recompile glibc-2.4-r3 with the latest ebuild but it fails :( Here is the output
Code:
i686-pc-linux-gnu-gcc enbl-secure.c -c -std=gnu99 -DNDEBUG=1 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-ident -march=prescott -mtune=prescott -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2     -I../include -I/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/elf -I/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/elf/enbl-secure.o -MD -MP -MF /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/elf/enbl-secure.o.dt -MT /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/elf/enbl-secure.o
dl-addr.c: In function '_dl_addr':
dl-addr.c:78: error: 'DT_GNU_HASH' undeclared (first use in this function)
dl-addr.c:78: error: (Each undeclared identifier is reported only once
dl-addr.c:78: error: for each function it appears in.)
dl-addr.c:85: error: 'struct link_map' has no member named 'l_gnu_buckets'
dl-addr.c:88: error: 'struct link_map' has no member named 'l_gnu_chain_zero'
make[2]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-addr.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  glibc-2.4-r3.ebuild, line 1217:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 277:   Called die

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

!!! This ebuild is from an overlay: '/usr/local/portage'

emerge --info
Code:
# emerge --info
Portage 2.1.1_pre4-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-beyond3 i686)
=================================================================
System uname: 2.6.17-beyond3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.4
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
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="-O3 -mtune=prescott -march=prescott -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fno-ident"
CHOST="i686-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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -mtune=prescott -march=prescott -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fno-ident -fvisibility-inlines-hidden -fno-enforce-eh-specs"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.heanet.ie/mirrors/gentoo.org/ http://gentoo.osuosl.org/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
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=3600 --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="x86 X a52 aac acpi alsa apm arts artswrappersuid avi berkdb bitmap-fonts branding bzip2 cddb cdr cli crypt cups curl dbus dga dlloader dri dts dvd elibc_glibc emboss encode ffmpeg flac foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 hal i8x0 imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdenewldflags kernel_linux lcms libcaca libg++ libwww linguas_en logrotate lzo mad mikmod mmx mmx2 mmxext motif mp3 mpeg ncurses nls nojoystick nptl nptlonly ogg opengl oss pam pcre pdf pdflib perl pic png ppds pppd python qt qt3 quicktime readline real reflection sdl session smime sndfile spell spl sse sse2 sse3 ssl svg svga tcl tcpd theora tiff tk truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_i810 video_cards_vesa vidix vorbis win32codecs xcomposite xine xml xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_RSYNC_EXTRA_OPTS

Since the headers are 2.6.17, do I need to compile 2.4-r4 instead of 2.4-r3 or is something else broken? Do I need to upgrade to binutils-2.17 (I am currently running 2.16.93) before I upgrade glibc?
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Thu Aug 10, 2006 1:31 pm    Post subject: Reply with quote

Quote:
'DT_GNU_HASH' undeclared (first use in this function)

You are installing glibc with the hash-style patches, before this you will need binutils, which support this, if you are sure you want this read the wiki, on how to make the transition.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
abhay
Apprentice
Apprentice


Joined: 30 Jul 2005
Posts: 161

PostPosted: Thu Aug 10, 2006 1:39 pm    Post subject: Reply with quote

Gergan Penkov wrote:
Quote:
'DT_GNU_HASH' undeclared (first use in this function)

You are installing glibc with the hash-style patches, before this you will need binutils, which support this, if you are sure you want this read the wiki, on how to make the transition.

...but I didn't set the use flag
Code:
emerge -pv glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-libs/glibc-2.4-r4 [2.4-r3] USE="nls nomalloccheck nptl nptlonly -build -debug -glibc-omitfp -hardened -hashstyle -profile" 0 kB [1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage


P.S. Upgrading binutils and trying to install glibc-2.4-r4 doesn't help. It also fails at DT_GNU_HASH
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Thu Aug 10, 2006 2:01 pm    Post subject: Reply with quote

nxsty said in the hashstyle-thread that he has updated the hashstyle patches for the 2.4* builds to the ones in the snapshots, so this could be some sort of regression of this, as it tries to build the loader with the hashstyle patches and does not find the definitions.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
abhay
Apprentice
Apprentice


Joined: 30 Jul 2005
Posts: 161

PostPosted: Thu Aug 10, 2006 2:43 pm    Post subject: Reply with quote

Ok..well then waiting for nxsty to do something about it :)
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Thu Aug 10, 2006 4:02 pm    Post subject: Reply with quote

Yeah, same here, I tried clean install today and it failed DT_GNU_HASH undeclared. It's a regression all right.
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Thu Aug 10, 2006 4:05 pm    Post subject: Reply with quote

Works for me.
Back to top
View user's profile Send private message
abhay
Apprentice
Apprentice


Joined: 30 Jul 2005
Posts: 161

PostPosted: Thu Aug 10, 2006 4:20 pm    Post subject: Reply with quote

Can we have your emerge info?
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Thu Aug 10, 2006 5:05 pm    Post subject: Reply with quote

I'm a little confused on where to get the updated ebuilds from. Are they available in the toolchain overlay on the first page or only from the mirrors from a couple of posts back for now? Is there a possiblity of getting nxsty's changelog added as part of that overlay, if that's the "official" place to get it from so that it's more apparent what version we're pulling in from there?
Back to top
View user's profile Send private message
lnxz
Guru
Guru


Joined: 03 Jul 2005
Posts: 472
Location: Earth

PostPosted: Thu Aug 10, 2006 5:09 pm    Post subject: Reply with quote

abhay wrote:
Can we have your emerge info?

Sure.
Code:

Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r4
, 2.6.17-ck1-r2 i686)
=================================================================
System uname: 2.6.17-ck1-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.4
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.17.50.0.3
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Wall -march=athlon-xp -O2 -fomit-frame-pointer -fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="-Wall -march=athlon-xp -O2 -fomit-frame-pointer -fno-ident -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=both"
MAKEOPTS="-j2"
Back to top
View user's profile Send private message
Gergan Penkov
Veteran
Veteran


Joined: 17 Jul 2004
Posts: 1464
Location: das kleinste Kuhdorf Deutschlands :)

PostPosted: Thu Aug 10, 2006 5:51 pm    Post subject: Reply with quote

Well you are already using +hashstyle and they are trying to build -hashstyle, that's where their problem comes from.
_________________
"I knew when an angel whispered into my ear,
You gotta get him away, yeah
Hey little bitch!
Be glad you finally walked away or you may have not lived another day."
Godsmack
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Fri Aug 11, 2006 7:34 am    Post subject: Reply with quote

I presume the ebuilds for glibc aren't fixed yet?

Last edited by mbar on Fri Aug 11, 2006 9:06 am; edited 1 time in total
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Fri Aug 11, 2006 8:35 am    Post subject: Reply with quote

It should work now. It wasn't excluding a patch it should.
Back to top
View user's profile Send private message
abhay
Apprentice
Apprentice


Joined: 30 Jul 2005
Posts: 161

PostPosted: Sat Aug 12, 2006 9:14 am    Post subject: Reply with quote

nxsty wrote:
It should work now. It wasn't excluding a patch it should.

Yes, worked now :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 23, 24, 25 ... 29, 30, 31  Next
Page 24 of 31

 
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