Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625776 - sci-libs/pgplot-5.2.2-r6 will not build with USE static-libs: recompile with -fPIC
Summary: sci-libs/pgplot-5.2.2-r6 will not build with USE static-libs: recompile with ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on: 704426
Blocks:
  Show dependency tree
 
Reported: 2017-07-21 01:07 UTC by deference
Modified: 2023-09-18 11:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build-pgplot.txt,119.49 KB, text/plain)
2017-07-21 01:07 UTC, deference
Details
emerge --info (emergeinfo-pgplot.txt,31.77 KB, text/plain)
2017-07-21 01:07 UTC, deference
Details

Note You need to log in before you can comment on or make changes to this bug.
Description deference 2017-07-21 01:07:02 UTC
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"
Comment 1 deference 2017-07-21 01:07:31 UTC
Created attachment 486154 [details]
build.log
Comment 2 deference 2017-07-21 01:07:38 UTC
Created attachment 486156 [details]
emerge --info
Comment 3 Thomas Bracht Laumann Jespersen 2023-09-18 11:52:32 UTC
I think this issue can be closed: -r6 is no longer in tree, and the -r7 ebuild appends -fPIC to CFLAGS in src_compile()