Summary: | net-analyzer/wireshark-1.12.7 - ld: dissectors/.libs/libdissectors.a(libdissectors_la-packet-catapult-dct2000.o): relocation R_X86_64_32S against `.bss' can not be used when making a shared object; recompile with -fPIC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Orange <crazycasta> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info '=net-analyzer/wireshark-1.12.7::gentoo'
emerge -pqv '=net-analyzer/wireshark-1.12.7::gentoo' environment build.log.bz2 |
Description
Alex Orange
2015-09-02 23:21:21 UTC
Created attachment 410888 [details]
emerge --info '=net-analyzer/wireshark-1.12.7::gentoo'
Created attachment 410890 [details]
emerge -pqv '=net-analyzer/wireshark-1.12.7::gentoo'
Created attachment 410892 [details]
environment
I can't seem to upload my build.log file for some reason. Not sure why but the page just sits there and appears to do nothing. I tried uploading it raw, saw that that was almost 5 MB so then I bzip2'd it to 57k and it still won't let me upload. Let me know how to upload it if you need that file. *** This bug has been marked as a duplicate of bug 552440 *** (In reply to Jeroen Roovers from comment #5) > > *** This bug has been marked as a duplicate of bug 552440 *** Interesting conclusion - what seems to have been a linking problem a duplicate of a bug that's triggered at preprocessing stage... :roll: Still, without the build log, it wasn't getting anywhere. Upon further investigation, I do not believe this is a duplicate. I do not have the qt5 USE flag set, this is not complaining at compile time and it's not limited to gcc-5 and up (as the other bug claims to be). I would be very happy to upload the build log, I'll give it another try right now, but assuming you don't see anything then it's the same problem as before, I click to upload and nothing happens. Created attachment 413120 [details]
build.log.bz2
Hmm, apparently my browser is too stupid to tell me when it can't access the file. Though I could've sworn I bzip2'd it as my user and not root, guess I'm just crazy. Ok, further information: I tried applying the patch from the a2fec21 patchset mentioned in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11230 . It had no effect. I've tried removing the qt4 flag (as well as the qt5 flag which was never set in the first place). It still fails. Ok, after trying many things (including a clean configure/make outside of portage) I found the problem seems to be with my use of -O3. I've added a package.env file to handle this for the moment, but what is the long term fix for this? Well, given your tests and the fact that '-DPIC -fPIC' is already passed to the compiler, it doesn't seem to be a build system bug. You don't seem to have/use ccache either. Might be a compiler bug then. Did you try to narrow this down to a specific optimization switch ? By specific optimization switch you mean one of the -fblah-blah switches that's under -O3 but not -O2? No, I did not try that. Is there an easier way (i.e. a tool) to do that then brute force? |