FS#30010 - [qhull] recompile with -fPIC
Attached to Project:
Arch Linux
Opened by Sébastien (sebcactus) - Friday, 25 May 2012, 09:27 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 November 2012, 13:37 GMT
Opened by Sébastien (sebcactus) - Friday, 25 May 2012, 09:27 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 November 2012, 13:37 GMT
|
Details
Description:
-fPIC flag is missing while building the libraries This prevents other software to build with this library A quick fix was to add -DCMAKE_CXX_FLAGS=-fPIC -CMAKE_C_FLAGS=-fPIC (see PKGBUILD) Also the md5sum is wrong. Additional info: * package version(s): qhull 2012.1-1 * config and/or log files etc. This is the error message I get (can't provide the source code) /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libqhullstatic.a(global.c.o): relocation R_X86_64_32S against `qh_qh' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib/libqhullstatic.a: could not read symbols: Bad value collect2: error: ld returned 1 exit status Steps to reproduce: Sorry I am not allowed to share the original code. |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 17 November 2012, 13:37 GMT
Reason for closing: Fixed
Additional comments about closing: qhull-2012.1-2
Saturday, 17 November 2012, 13:37 GMT
Reason for closing: Fixed
Additional comments about closing: qhull-2012.1-2

- Field changed: Summary ([qhull] PLEASE ENTER SUMMARY → [qhull] recompile with -fPIC)
- Field changed: Status (Unconfirmed → Assigned)
- Task assigned to Pierre Schmitz (Pierre), Ronald van Haren (pressh)
With a title will look much better!

Only do this for x86_64.