On 31-10-13 23:38, Hamish wrote:
> yes, we're aware of it; sorry not much insight so far on how to fix it.

I am not 100% sure how this works, but by enabling the commented out
code in debian/rules about -fPIE and -fPIC again (line 21/22), the
builds completes successfully. I found [1] when I searched for
"relocation against dynamic symbol", that is why I looked in that direction.

The other remarked that made me think this is the solution is a comment
in /usr/include/hardening-wrapper/hardening.make [2]:
"
In cases where mixed shared objects and executable objects are being
built, "-fPIC" needs to actually replace "-fPIE", since gcc won't
distinguish between them yet.
"
Although that doesn't explain why on other arches it does work.

Paul

[1] http://www.cmake.org/Wiki/CMake_IA64_FPIC_problem
[2]
http://anonscm.debian.org/loggerhead/hardening/master/annotate/head:/hardening-wrapper/hardening.make

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to