x86_64-pc-linux-gnu-gfortran -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,libtkpgplot.so.5 tkpgplot.o -L. -lcpgplot -ltk -ltcl -lX11 -ldl -o libtkpgplot.so.5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: tkpgplot.o: relocation R_X86_64_32 against `.text' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make: *** [makefile:891: libtkpgplot.so] Error 1 [ebuild R ] sci-libs/pgplot-5.2.2-r6 USE="doc static-libs* tk -motif"
Created attachment 486154 [details] build.log
Created attachment 486156 [details] emerge --info
I think this issue can be closed: -r6 is no longer in tree, and the -r7 ebuild appends -fPIC to CFLAGS in src_compile()