Summary: | sys-libs/zlib-1.2.8-r1: emake complains about relocation, should enable -fPIC in ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Romain Baugue <romain.baugue> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Romain Baugue
2014-05-04 19:19:07 UTC
Attach full build log. Note, that your understanding of the mentioned guide is not quite correct. Created attachment 376368 [details]
Build log
My understanding of the guide is that the source of the error can be : - broken gcc, which is unlikely - broken check, but this is not a check error - missing flag in the software - using a static archive with dynamic linking I tried the following line CFLAGS="-O2 -pipe -fPIC" emerge sys-libs/zlib which solved the error, leading to another probably unrelated (unable to read SONAME from libz.so) about which I'm currently investigating. Looks like I was being wrong : the two issues are related, and the responsible for the bug is me. During the installation process, I did a nano mis-manipulation and removed the CHOST line. I re-writed it manually the somehow didn't put the right value in it (amd64 instead of x86_64), leading to the two bugs mentionned in this page. Correcting the value fixed the two bugs in one go (tested by removing then re-installing the package with and without the value). I'm marking the bug resolved… Sorry for the inconvenience. |