View previous topic :: View next topic |
Author |
Message |
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Mon Mar 13, 2006 8:01 am Post subject: |
|
|
ssmaxss wrote: | In overlay I have flag gcc4ssp to enable ssp support with gcc 4. In portage it is enabled by default? There is no such flag in portage. Adding NPTL_KERNEL_VERSION="2.6.11" to make.conf helped to fix problem about kernel headers. What about SSP? |
The gcc4ssp USE-flag was added by me because I didn't know any good way to detect if the compiler was ssp/fortify capable. I don't know about ssp but fortify doesn't seems to be enabled in portage. |
|
Back to top |
|
|
ChL@Gentoo Tux's lil' helper
Joined: 08 Jun 2004 Posts: 94 Location: Heidelberg (Germany)
|
Posted: Mon Mar 13, 2006 9:32 am Post subject: |
|
|
For me the new glibc breaks zsnes. (see Bug 125861)
glibc should be masked till it is tested enough. (there are still other problems) |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Mon Mar 13, 2006 10:04 am Post subject: |
|
|
The problems is when mixing unstable packages with stable. Busybox and coreutils from ~x86 works with glibc 2.4. |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Mon Mar 13, 2006 10:27 pm Post subject: |
|
|
indeed. i had bumped coreutils to ~x86 without any problems. i also tried all of the ~x86 versions of busybox and found that they all failed to compile.
i tried another emerge -e system to try to refine the toolkit a bit. the result? patch would not compile!
https://bugs.gentoo.org/show_bug.cgi?id=126036
have you been having success with nptlonly? _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
madey Tux's lil' helper
Joined: 07 Dec 2005 Posts: 107 Location: Kraków, Poland
|
Posted: Mon Mar 13, 2006 11:01 pm Post subject: |
|
|
I just added nptonly to USE in make.conf compiled glibc-2.4 and Xorg stoped working. So I've reemerged xorg and now everythinks works just fine. Many people on polish native forum wrote the same. We had vital discussion since glibc-2.4 appeared .
I use gcc-3.4.5 on amd64 but many tried the same with x86 and it works to. |
|
Back to top |
|
|
voidzero Bodhisattva
Joined: 21 Jul 2002 Posts: 265 Location: Grnn
|
Posted: Tue Mar 14, 2006 11:45 am Post subject: |
|
|
So, just I understand it as well.... the best thing to do is to emerge this glibc, and after that to do an emerge -e world? It would be the first time in years that I would do that; because usually I just emerge glibc and continue without problems.
What's best practice on this one, guys? _________________ Diplomacy is the art of letting the other party have things your way.
-- Daniele Vare |
|
Back to top |
|
|
Grooby n00b
Joined: 08 Jun 2005 Posts: 47
|
Posted: Tue Mar 14, 2006 3:23 pm Post subject: |
|
|
I actually might do a emerge -e world soon. doing bleeding edge here and emerging the new dbus bork with some qt related error. re-emerging QT right now and see if that's fixed. If so, I might just emerge -e world tonight. |
|
Back to top |
|
|
chtephan Apprentice
Joined: 03 Feb 2004 Posts: 266 Location: Offenburg, Germany
|
Posted: Tue Mar 14, 2006 4:08 pm Post subject: |
|
|
Yes, switching from non-nptl (having both linuxthreads and nptl makes the system use the linuxthreads headers for building libraries and applications) to NPTL can cause troubles (not only from 2.3.6 to 2.4 but also from 2.3.6 normal to 2.3.6 nptlonly). After changing to nptlonly a full rebuild is strongly suggested.
As for the dbus error: It looks like a file is missing in the package. |
|
Back to top |
|
|
Grooby n00b
Joined: 08 Jun 2005 Posts: 47
|
Posted: Tue Mar 14, 2006 4:18 pm Post subject: |
|
|
you are right....i wasn't reading the errors properly...but this is OT...end of this thread branch. |
|
Back to top |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Tue Mar 14, 2006 10:28 pm Post subject: |
|
|
Just updated glibc to 2.4 and it breaks many things. And no I have better things to do than waste my time on a stupid emerge -e world, and then again some apps (ie. zsnes) fail to work even after a rebuild!!! I'd like to know what the hell were the devs thinking when they moved it straight to ~x86. This kind of behavior makes me wonder why I'm still using Gentoo.
Reverting to <2.4 now... |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Tue Mar 14, 2006 10:56 pm Post subject: |
|
|
IntergalacticWalrus wrote: |
Reverting to <2.4 now... |
Happy new install, if you haven't quickpg'd _________________ "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 |
|
|
ribx Apprentice
Joined: 20 Nov 2003 Posts: 219 Location: germany
|
|
Back to top |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Tue Mar 14, 2006 11:08 pm Post subject: |
|
|
Gergan Penkov wrote: | IntergalacticWalrus wrote: |
Reverting to <2.4 now... |
Happy new install, if you haven't quickpg'd |
I should be fine as long as I recompile everything after glibc-2.4 (thankfully there was nothing critical, ie. things like gcc) And yes I did quickpkg'd glibc-2.4, just in case.
ribx wrote: | you are compain about unstable isn't stable enough for you? thats wired. |
Granted I'm running unstable so I shouldn't be surprised to hit some bumps, but there's a difference between 'unstable' and 'breaking the system'. Basic Gentoo structural rules state that stuff that can break the system must be hard masked.
And no, it's not just Xorg that breaks. diff also broke, and I have no time to check if other things break as well. And as previously mentionned, some things don't work at all (ie. zsnes) |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Tue Mar 14, 2006 11:23 pm Post subject: |
|
|
I hope that you have at least quickpkg-d 2.4
Quote: | And yes I did quickpkg'd glibc-2.4, just in case. |
ok haven't seen this one
The problem is not what you have built against 2.4 - the problem is that 2.3.6 would be built against 2.4 _________________ "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 |
|
|
TripleM666 n00b
Joined: 09 Feb 2006 Posts: 11
|
Posted: Wed Mar 15, 2006 12:10 am Post subject: |
|
|
is it cause of x86, that glibc 2.4 in combination with gcc 4.1.0 bugs the system? i have done a complete rebuild of the system (in fact even 2 times emerge -e system to satisfy my own paranoia) with gcc4.1 and glibc2.4 on x86_64. no problem, not even the slightest. thousands new warning appear though, most of them, i think, cause of lazy code. even the kernelcompilation shows warnings, but the kernel itself runs quite nice.
not much in world though to break, some compilers, some medialibs.
one thing, that maybe makes the difference. the system, since building it, was compiled with nptl nptlonly. no linuxthreads ever.
so long, |
|
Back to top |
|
|
eddymulyono n00b
Joined: 02 Jan 2004 Posts: 45 Location: Hayward, CA
|
Posted: Wed Mar 15, 2006 12:25 am Post subject: |
|
|
Trying to keep a list of related breakages and workarounds.
Workarounds
Problems
Last edited by eddymulyono on Wed Mar 15, 2006 12:34 am; edited 1 time in total |
|
Back to top |
|
|
niskel Guru
Joined: 17 Nov 2004 Posts: 457 Location: Fredericton, NB, Canada
|
Posted: Wed Mar 15, 2006 12:31 am Post subject: |
|
|
TripleM666 wrote: | ...
even the kernelcompilation shows warnings, but the kernel itself runs quite nice.
... |
The kernel doesn't (can't) use glibc so any new warnings you are getting when compiling the kernel is from your compiler, not glibc. |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Wed Mar 15, 2006 12:55 am Post subject: |
|
|
For anyone who has not already re-compiled their system, and who just emerged glibc, this is my method, and generally the suggested one to gurantee all packages are built with the updated symbol..
Code: | # emerge glibc binutils gcc libstdc++-v3 libtool portage
# emerge -e world |
For anyone who gets a failed package, please try the ~x86 version of it. I have run 2 entire systems with glibc 2.4 with no problems for several months. |
|
Back to top |
|
|
crowbert Tux's lil' helper
Joined: 28 Apr 2003 Posts: 140
|
Posted: Wed Mar 15, 2006 3:21 am Post subject: |
|
|
I also had the xorg problem, which was easily solved by re-emerging it. And, like others, I also enabled nptl for the first time (since it's required for the new glibc).
The only surprise was that revdep-rebuild didn't find the xorg problem. I guess that only detects if a library is missing (it's not), and it doesn't actually do all the dynamic linking for each program.
No other issues detected. If there's some way to force rebuilding of xorg after glibc emerges, it wouldn't be a bad idea to do it before unmasking glibc for stable systems. |
|
Back to top |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Wed Mar 15, 2006 3:36 am Post subject: |
|
|
Great, now that I've downgraded glibc my system has gone to hell, nothing runs. I've tried untarring the glibc-2.4.tbz2 on my Gentoo root (which I thought would work) but it still won't boot. Any way I can restore my system? (I have not the time nor the patience to reinstall. If I can't restore it, it's goodbye Gentoo for me.) |
|
Back to top |
|
|
Gergan Penkov Veteran
Joined: 17 Jul 2004 Posts: 1464 Location: das kleinste Kuhdorf Deutschlands :)
|
Posted: Wed Mar 15, 2006 3:53 am Post subject: |
|
|
Quote: |
Now that they see the disaster is done
Now they put all the blame unto me
They feel I brought on a curse
Don't they know that the torment
It stays with me knowing that I walk alone
Through the eyes of the future I see
They don't even know what fear is
Don't they know I'm the one who is cursed
Purgatory beckons souls lost forever
Life after death or heaven hereafter
Heard the call of the seven whistlers again
Now Lucifer laughs hell awaits
The Prophecy - Iron Maiden |
Have tried to chroot from livecd after you have extracted the tarball.
If you could chroot to it you could start recompiling the glibc, system and the kernel.
if not what for errors do you have? _________________ "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 |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Wed Mar 15, 2006 4:02 am Post subject: |
|
|
Gergan Penkov wrote: | Have tried to chroot from livecd after you have extracted the tarball.
If you could chroot to it you could start recompiling the glibc, system and the kernel.
if not what for errors do you have? |
Can't chroot to it, I get
Code: | /bin/bash: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference |
Same thing if I attempt to boot, only replace /bin/bash with init.
(BTW this isn't from a livecd, I'm currently on a SUSE installation on the same machine, which will permanently become what I'll use in the future if I can't fix this issue.) |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Wed Mar 15, 2006 4:04 am Post subject: |
|
|
IntergalacticWalrus wrote: | Great, now that I've downgraded glibc my system has gone to hell, nothing runs. I've tried untarring the glibc-2.4.tbz2 on my Gentoo root (which I thought would work) but it still won't boot. Any way I can restore my system? (I have not the time nor the patience to reinstall. If I can't restore it, it's goodbye Gentoo for me.) |
As far as I know, there is no method, but I maybe wrong. |
|
Back to top |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Wed Mar 15, 2006 4:13 am Post subject: |
|
|
I don't understand. I put back glibc-2.4. Why does it still not work? |
|
Back to top |
|
|
|