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, 4, 5 ... 29, 30, 31  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Wed Mar 01, 2006 1:05 am    Post subject: Reply with quote

Probably a stupid question...

Once I get Glibc and Binutils updated with these overlays, what do I need to do to enable bdirect and hashvals? Just add LDFLAGS to make.conf and recompile everything (emerge -e system/world)? Or is this something that should be set by package?

Thanks.
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 426

PostPosted: Wed Mar 01, 2006 1:51 am    Post subject: Reply with quote

Quote:
Probably a stupid question...

Once I get Glibc and Binutils updated with these overlays, what do I need to do to enable bdirect and hashvals? Just add LDFLAGS to make.conf and recompile everything (emerge -e system/world)? Or is this something that should be set by package?

Thanks.


The only stupid question is the one that wasn't asked. :D

Add it to your LDFLAGS....... LDFLAGS="-Wl,-Bdirect -Wl,-hashvals"

Then add LD_BIND_DIRECT="1" to the end of /etc/env.d/00basic

Then emerge -e world to recompile the system with the new settings.....

EDITED to fix typo's
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


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

PostPosted: Wed Mar 01, 2006 12:50 pm    Post subject: Reply with quote

roderick: When using the binutils overlay you can also put -Wl,-zdynsort in the LDFLAGS. But remember that -Wl,-hashvals might break prelink.

Anyway glibc 2.3.91 is out now! I'll update my overlay later today.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Wed Mar 01, 2006 8:05 pm    Post subject: Reply with quote

Sounds great nxsty. Awaiting your glibc overlay (and gcc4.1) for my next guide version so I hope it works nicely.
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Wed Mar 01, 2006 8:08 pm    Post subject: Reply with quote

duby2291 wrote:
Then add LD_BIND_DIRECT="1" to the end of /etc/env.d/00basic

Wouldn't it be better to add it to /etc/env.d/99local. Isn't 00basic a file which will be overwritten by portage? I'm using 99local at least:
Code:
joffer@armour ~ $ cat /etc/env.d/99local
CCACHE_DIR="/var/tmp/ccache"
LD_BIND_DIRECT="1"

My LDFLAGS:
Code:
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"

The only package which has a problem with this is libXfont, which I handle as an exception with /etc/portage/bashrc:
Code:
# Fix LDFLAGS for libXfont
[[ "$CATEGORY/$P" == "x11-libs/libXfont-1.0.0" ]] \
        && export LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-hashvals -Wl,-zdynsort"

_________________
As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7
Back to top
View user's profile Send private message
6D7474
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2005
Posts: 135

PostPosted: Wed Mar 01, 2006 10:11 pm    Post subject: Reply with quote

nxsty wrote:

Anyway glibc 2.3.91 is out now! I'll update my overlay later today.

seems that release of glibc 2.4 is really close:
http://sources.redhat.com/ml/libc-alpha/2006-03/msg00006.html

cheers
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Wed Mar 01, 2006 11:20 pm    Post subject: Reply with quote

nxsty wrote:
roderick: When using the binutils overlay you can also put -Wl,-zdynsort in the LDFLAGS. But remember that -Wl,-hashvals might break prelink.

Anyway glibc 2.3.91 is out now! I'll update my overlay later today.


Thanks.

I don't use prelink (should I?), and I rebuilt KDE today using the new Qt overlay, Glibc2.3.6-r3, and binutils overlay and the above LDFLAGS in /etc/make.conf.

Works extremely well.

I'll rebuild entire system, but I think I might want to install GCC4.1 first. Any thoughts on this? Is GCC4.1 ready (enuff) yet? Is there a install howto anywhere?
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Thu Mar 02, 2006 12:43 am    Post subject: Reply with quote

6D7474 wrote:
nxsty wrote:

Anyway glibc 2.3.91 is out now! I'll update my overlay later today.

seems that release of glibc 2.4 is really close:
http://sources.redhat.com/ml/libc-alpha/2006-03/msg00006.html

cheers


Imminent huh? That's very interesting. Of the four machines that I have been running glibc 2.3.90 on, all have been very stable under some reasonably heavy use so I guess it's not too surprising. Performance is my only concern at this point as PrakashP's sat solver brought up. Hopefully there's some additional focus in that area before the release... if the maintainer is even aware of any performance problems. From that post it sounds like he's stretched pretty thin....
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


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

PostPosted: Thu Mar 02, 2006 4:03 pm    Post subject: Reply with quote

The reason why I haven't updated my overlay is because I'm waiting for the next SRPM from fedora. The specs file in fedora CVS is for version 2.3.90-39 but the SRPM on the ftp is only 2.3.90-38. The one I have now doesn't build anymore.
Back to top
View user's profile Send private message
nesl247
Veteran
Veteran


Joined: 15 Jun 2004
Posts: 1614
Location: Florida

PostPosted: Fri Mar 03, 2006 4:25 am    Post subject: Reply with quote

Hopefully they update it soon. Would love to re-compile my system now.
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 5:58 am    Post subject: Reply with quote

Hello, i'm using latest overlay and if i want to recompile(upgrade glibc to 2.3.90) i got

!!! Couldn't download glibc-2.3.6-branch-update-20060207.patch.bz2. Aborting

while downloading sources... :((

Where can i get this package?

Thx 4 advice..
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Fri Mar 03, 2006 6:16 am    Post subject: Reply with quote

_dA_CyANIDe wrote:
Hello, i'm using latest overlay and if i want to recompile(upgrade glibc to 2.3.90) i got

!!! Couldn't download glibc-2.3.6-branch-update-20060207.patch.bz2. Aborting

while downloading sources... :((

Where can i get this package?

Thx 4 advice..


Are you sure you have the latest overlay? 20060207 was the previous version. The current overlay should be looking for glibc-2.3.6-branch-update-20060224.patch.bz2 as far as I can tell.

And you can download that version straight from http://web.telia.com/~u18221075/linux/ if you need to.
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 6:19 am    Post subject: Reply with quote

I'm sorry.... i have glibc-2.3.90.20060224. I got an error while compiling ...

Code:


s/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Inptl/sysdeps/i386/i686 -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Inptl/sysdeps/i386 -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Inptl/sysdeps/generic -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic  -Ilibio -Inptl -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.0.2/include -isystem /usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       \
           -DASSEMBLER -x assembler-with-cpp - \
           > /var/tmp/portage/glibc-2.3.90.20060224/work/build-x86-x86_64-pc-linux-gnu-nptl/Versions.v.iT
In file included from nptl/sysdeps/i386/i686/tls.h:34,
                 from include/tls.h:6,
                 from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:65:3: error: #error "TLS support is required."
make[1]: *** [/var/tmp/portage/glibc-2.3.90.20060224/work/build-x86-x86_64-pc-linux-gnu-nptl/Versions.v.i] Error 1
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.90.20060224/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.90.20060224 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile
  glibc-2.3.90.20060224.ebuild, line 1288:   Called src_compile
  glibc-2.3.90.20060224.ebuild, line 1299:   Called toolchain-glibc_src_compile

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.




Does anybody solve this problem? :lol:
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Fri Mar 03, 2006 6:28 am    Post subject: Reply with quote

It looks like it has something to do with nptl. What use flags are you compiling glibc with? I've only really tried compiling with nptl and nptlonly myself.

Here are mine:
Code:
sys-libs/glibc-2.3.90.20060224  USE="glibc-omitfp nls nptl nptlonly userlocales -build -debug -erandom -gcc4ssp -glibc-compat20 -hardened -linuxthreads-tls -nomalloccheck -pic -profile"


Maybe you have to enable "linuxthreads-tls" use flag if you don't use nptlonly? Just a guess...


Last edited by immudium on Fri Mar 03, 2006 6:31 am; edited 1 time in total
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 6:30 am    Post subject: Reply with quote

Here ..

Code:

[ebuild     U ] sys-libs/glibc-2.3.90.20060224 [2.3.6-r2] USE="glibc-omitfp nls nomalloccheck% nptl nptlonly userlocales -build -debug% -erandom -gcc4ssp% -glibc-compat20 -hardened -linuxthreads-tls -pic -profile" 0 kB [1]


_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 6:37 am    Post subject: Reply with quote

Hmmm, strange.... linuxthreads-tls doesn't work.
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Fri Mar 03, 2006 6:49 am    Post subject: Reply with quote

Well, the same issue did come up in the old glibc overlay thread. http://forums.gentoo.org/viewtopic-p-3013395-highlight-tls+required.html#3013395

I don't think he ever came up with the exact reason why but his solution was to do an emerge -e world. That's a little extreme though. Maybe try doing a toolchain rebuild first using one of heilvc scripts and see if it clears up the problem? Also what version of binutils are you using?
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 6:55 am    Post subject: Reply with quote

I'm using sys-devel/binutils-2.16.91.0.6 USE="multislot nls -test" 0 kB [2] , gcc-4.0.2-r3.
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


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

PostPosted: Fri Mar 03, 2006 8:42 am    Post subject: Reply with quote

I uploaded a new overlay with a 2.3.91 ebuild. It's not compile tested yet but the other ebuild is also included.
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


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

PostPosted: Fri Mar 03, 2006 10:01 am    Post subject: Reply with quote

It didn't compile. I'm trying to fix it now.

EDIT:
Try again now, this one should work better.
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 10:21 am    Post subject: Reply with quote

Where can i get glibc-ports-20060227.tar.bz2 ??
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


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

PostPosted: Fri Mar 03, 2006 10:24 am    Post subject: Reply with quote

_dA_CyANIDe wrote:
Where can i get glibc-ports-20060227.tar.bz2 ??


The URL is specified in the ebuild so you shouldn't need to download it but anyway:
ftp://sources.redhat.com/pub/glibc/snapshots/
Back to top
View user's profile Send private message
_dA_CyANIDe
Apprentice
Apprentice


Joined: 30 Mar 2005
Posts: 196
Location: Czech Republic

PostPosted: Fri Mar 03, 2006 10:30 am    Post subject: Reply with quote

Thanks man! This overlay seems to work for me. 8)
_________________
AMD64 X2 3800+, 1GB RAM, Gigabyte GF7600
-----
Firewalls cannot block stupidity!
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Fri Mar 03, 2006 4:00 pm    Post subject: Reply with quote

i just finished compiling glibc-2.3.91.20060303 version of your overlay with the new gcc 4.1.0 release and everything went smooth. :)
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
Martigen
n00b
n00b


Joined: 04 Mar 2003
Posts: 59

PostPosted: Sat Mar 04, 2006 5:35 am    Post subject: Reply with quote

Getting same error as the chap above - 'TLS support required'
Code:

1.0/include -isystem /usr/include -D_LIBC_REENTRANT -include include/libc-symbols.h       \
           -DASSEMBLER -x assembler-with-cpp - \
           > /store/tmp/portage/glibc-2.3.91.20060303/work/build-x86-x86_64-pc-linux-gnu-nptl/Versions.v.iT
In file included from nptl/sysdeps/i386/i686/tls.h:34,
                 from include/tls.h:6,
                 from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:65:3: error: #error "TLS support is required."
make[1]: *** [/store/tmp/portage/glibc-2.3.91.20060303/work/build-x86-x86_64-pc-linux-gnu-nptl/Versions.v.i] Error 1
make[1]: Leaving directory `/store/tmp/portage/glibc-2.3.91.20060303/work/glibc-2.3.91'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.91.20060303 failed.

glibc-2.3.91.2006303 overlay, gcc 4.1, nxty binutils overlay.

Previously running 20060207 overlay just fine. Nothing else changed but upgrading from gcc 4.1_pre to gcc 4.1 release.
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, 4, 5 ... 29, 30, 31  Next
Page 4 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