This problem became apparent when I was compiling sci-chemistry/apbs-1.2.1b-r4 and got this error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib//libmaloc.a(vio.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/lib//libmaloc.a: could not read symbols: Bad value I then unpacked the maloc-0.1.3 sources and inspected the configure options to find that they have a --with-pic flag. After modifying the maloc-0.1.3 ebuild (patch attached) to append the --with-pic flag and recompiling maloc, apbs now compiles successfully for me. ~jtriley
Created attachment 235577 [details, diff] patch for maloc-0.1.3.ebuild that adds --with-pic configure flag
Created attachment 235579 [details] emerge --info
maloc-0.1.x is ancient. It's better to have 0.2.x stabilized
Arches please do your magic. Thanks!
*** Bug 324487 has been marked as a duplicate of this bug. ***
amd64/x86 stable
ppc stable