Bug#728150: Re: grass: FTBFS on ia64, preventing migration to testing

Paul Gevers elbrus at debian.org
Sat Nov 2 12:16:17 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20131102/e2bc0cdc/attachment.sig>


More information about the Pkg-grass-devel mailing list