Summary: | all packages which use libsdl break on configure (~x86 system) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hanno Zysik (geki) <h.mth> |
Component: | [OLD] Library | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
strace of conftest
config.log glibc cvs diff from 1014 SDL-1.2.6-no_rpath.patch |
Description
Hanno Zysik (geki)
2004-11-24 06:25:35 UTC
*** Bug 72344 has been marked as a duplicate of this bug. *** Created attachment 44660 [details]
strace of conftest
.
anyone may sees something suspicious in that strace? Attach the config.log as text/plain please. Created attachment 44918 [details]
config.log
here it is.
remerge all that with CFLAGS and CXXFLAGS set to "-pipe" and see if that makes a difference. I was hoping to see some error in config.log but no such luck I guess. yes, there is no error... it compiles well but it segfaults on run thats the strace for. hm, ill remerge libsdl and smpeg with "-pipe". any other packages i need to recompile? remergeing libsdl with C[XX]FLAGS="-pipe" does not help. Could be a gcc error. Try it with gcc-3.3 No telling how far down the issue is if it's a cflags problem. I'd try setting CFLAGS="-pipe" CXXFLAGS="-pipe" emerge -ev libsdl and see if that fixes it. well, emerge -e libsdl did not really help. ill emerge glibc 1006 lets see if it is really glibc that does it here or something i have overlooked. there is another guy using latest ~x86 on his box and for him it works. Don't know why. last thing i can think of then is kernel. ok i merged glibc 2.3.4.20041006 (using my standard [in]sane C[XX]FLAGS) and emerge smpeg does not fail on configure! it detects SDL well! Now i have an updated glibc snap from 1124 in my overlay. ill merge that and have a look. glibc Changelog notices a 'Avoid segfault' - may be i hit this one... ok, I am wrong. even compiling app-compat stuff from newer glibc did not do the trick. there is definetely sth broken in glibc since 1021. (>1006) ebuild 1006 bumped to 1018. without mdns. patch still breaks. mdns patch & ebuild changes are ok. anyone has a glibc snap between 1006 and 1018? glibc 20041011 w/o fedora patches works! glibc 20041018 w/o fedora patches does not. bug between 1011 -> 1018 Created attachment 45006 [details, diff] glibc cvs diff from 1014 have a look at the ChangeLog: http://sources.redhat.com/ml/glibc-cvs/2004-q4/msg00201.html one of these changes did it. Since this isn't a libsdl issue and seems to be a glibc issue, I'm pushing this to toolchain. is there anyone that can separate the 3 ( dlmopen, namespacing, removal of GL(dl_loaded) ) changes taken in that diff so i can test each if it breaks my libsdl. would be great. thanks! patch SDL-1.2.6-no_rpath.patch for libsdl from: http://ftp.uni-koeln.de/mirrors/fedora/linux/core/development/SRPMS/SDL-1.2.7-8.src.rpm fixed my issue! lala ^^ at the end. it is a libsdl patch needed. :) Created attachment 45073 [details, diff]
SDL-1.2.6-no_rpath.patch
So.... you're claiming this patch fixes things for you?
it does not segfault anymore with that. :) and why should fedora add it if it is unnecessary? it just drops that linker flag from libsdl... any chance getting this into portage or does this break something else I don't see atm? Thanks for info! :) well, we don't just add stuff to ebuilds because it's in a fedora spec file. It's pretty suspicious that so far, you're the only one reporting this so no, it's not obvious yet that the patch should be added to the ebuild. I'd like to hear from the toolchain folks about this please. sorry for trouble. :( just checked bug #52732 and it was that for meinproc after merging kdelibs-3.3.2 and as well for libsdl depending merges here. so this is duplicate of that one. no extra patch for libsdl necessary. dunno why glibc merge misses that file though... dont worry about it ;) *** This bug has been marked as a duplicate of 52732 *** Closing to clean up after bugzilla upgrade. reopen if closed in error. Thanks. clean up bug list after bugzilla update |