Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Tweaked glibc 2.4 + 2.5 + snapshot ebuilds

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
754 posts
  • Page 24 of 31
    • Jump to page:
  • Previous
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 31
  • Next
Author
Message
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Fri Jul 28, 2006 8:21 am

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=.
Top
immudium
Guru
Guru
User avatar
Posts: 332
Joined: Tue Oct 12, 2004 8:21 am
Location: Utah

  • Quote

Post by immudium » Fri Jul 28, 2006 4:00 pm

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.
Top
SteveYin
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Wed Oct 20, 2004 8:48 pm
Contact:
Contact SteveYin
Website

  • Quote

Post by SteveYin » Tue Aug 01, 2006 10:45 am

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
Top
enderandrew
l33t
l33t
User avatar
Posts: 731
Joined: Tue Oct 25, 2005 8:37 am

  • Quote

Post by enderandrew » Tue Aug 01, 2006 1:01 pm

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.
Top
SteveYin
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Wed Oct 20, 2004 8:48 pm
Contact:
Contact SteveYin
Website

  • Quote

Post by SteveYin » Tue Aug 01, 2006 2:32 pm

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
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Sat Aug 05, 2006 12:30 pm

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.
Top
SteveYin
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Wed Oct 20, 2004 8:48 pm
Contact:
Contact SteveYin
Website

  • Quote

Post by SteveYin » Sun Aug 06, 2006 1:40 am

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
Top
Xake
Guru
Guru
User avatar
Posts: 588
Joined: Wed Feb 11, 2004 10:14 am
Location: Göteborg, the rainy part of scandinavia

  • Quote

Post by Xake » Sun Aug 06, 2006 8:40 am

nxsty wrote:I added a new CVS snapshot (a lot of bugfixes since last one).
Faulty digest/manifest here for the svn....
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Sun Aug 06, 2006 8:53 am

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/
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Sun Aug 06, 2006 8:54 am

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!
Top
SteveYin
Tux's lil' helper
Tux's lil' helper
Posts: 91
Joined: Wed Oct 20, 2004 8:48 pm
Contact:
Contact SteveYin
Website

  • Quote

Post by SteveYin » Wed Aug 09, 2006 4:37 pm

Thanks for the mirror update :)
Steve Yin
Top
abhay
Apprentice
Apprentice
Posts: 161
Joined: Sat Jul 30, 2005 1:50 pm

  • Quote

Post by abhay » Thu Aug 10, 2006 12:46 pm

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: Select all

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: Select all

# 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?
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Thu Aug 10, 2006 1:31 pm

'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
Top
abhay
Apprentice
Apprentice
Posts: 161
Joined: Sat Jul 30, 2005 1:50 pm

  • Quote

Post by abhay » Thu Aug 10, 2006 1:39 pm

Gergan Penkov wrote:
'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: Select all

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
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Thu Aug 10, 2006 2:01 pm

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
Top
abhay
Apprentice
Apprentice
Posts: 161
Joined: Sat Jul 30, 2005 1:50 pm

  • Quote

Post by abhay » Thu Aug 10, 2006 2:43 pm

Ok..well then waiting for nxsty to do something about it :)
Top
mbar
Advocate
Advocate
User avatar
Posts: 2000
Joined: Wed Jan 19, 2005 9:45 am
Location: Poland

  • Quote

Post by mbar » Thu Aug 10, 2006 4:02 pm

Yeah, same here, I tried clean install today and it failed DT_GNU_HASH undeclared. It's a regression all right.
Top
lnxz
Guru
Guru
Posts: 472
Joined: Sun Jul 03, 2005 4:53 am
Location: Earth

  • Quote

Post by lnxz » Thu Aug 10, 2006 4:05 pm

Works for me.
Top
abhay
Apprentice
Apprentice
Posts: 161
Joined: Sat Jul 30, 2005 1:50 pm

  • Quote

Post by abhay » Thu Aug 10, 2006 4:20 pm

Can we have your emerge info?
Top
immudium
Guru
Guru
User avatar
Posts: 332
Joined: Tue Oct 12, 2004 8:21 am
Location: Utah

  • Quote

Post by immudium » Thu Aug 10, 2006 5:05 pm

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?
Top
lnxz
Guru
Guru
Posts: 472
Joined: Sun Jul 03, 2005 4:53 am
Location: Earth

  • Quote

Post by lnxz » Thu Aug 10, 2006 5:09 pm

abhay wrote:Can we have your emerge info?
Sure.

Code: Select all

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"
Top
Gergan Penkov
Veteran
Veteran
User avatar
Posts: 1464
Joined: Sat Jul 17, 2004 9:42 pm
Location: das kleinste Kuhdorf Deutschlands :)

  • Quote

Post by Gergan Penkov » Thu Aug 10, 2006 5:51 pm

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
Top
mbar
Advocate
Advocate
User avatar
Posts: 2000
Joined: Wed Jan 19, 2005 9:45 am
Location: Poland

  • Quote

Post by mbar » Fri Aug 11, 2006 7:34 am

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.
Top
nxsty
Veteran
Veteran
User avatar
Posts: 1556
Joined: Wed Jun 23, 2004 7:00 pm
Location: .se
Contact:
Contact nxsty
Website

  • Quote

Post by nxsty » Fri Aug 11, 2006 8:35 am

It should work now. It wasn't excluding a patch it should.
Top
abhay
Apprentice
Apprentice
Posts: 161
Joined: Sat Jul 30, 2005 1:50 pm

  • Quote

Post by abhay » Sat Aug 12, 2006 9:14 am

nxsty wrote:It should work now. It wasn't excluding a patch it should.
Yes, worked now :)
Top
Post Reply

754 posts
  • Page 24 of 31
    • Jump to page:
  • Previous
  • 1
  • …
  • 22
  • 23
  • 24
  • 25
  • 26
  • …
  • 31
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy