[GRASS-dev] problem building 7.2.1RC1 for UbuntuGIS
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sat Apr 8 09:42:20 PDT 2017
On 04/08/2017 06:21 PM, Martin Landa wrote:
> 2017-04-08 14:06 GMT+02:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:
>> None of the objects files have a main() function, which makes sense for
>> a library. It may be related to PIE, you can try building without it.
>
> yes, but it's strange that we didn't have any problem when building
> 7.2.0 release...
PIE was disabled then, it was (re-)enabled in 7.2.0-2 now that gcc is
fixed in Debian to handle it properly, see:
https://anonscm.debian.org/cgit/pkg-grass/grass.git/commit/?id=f7d83e8407e477aa77177b5744ece30fed7327d0
https://bugs.debian.org/859372
Ubuntu likely doesn't have these changes yet in releases pre-zesty,
making PIE still problematic there.
If you can confirm that disabling PIE fixes the issue, we can make the
hardening flags conditional and disabled them on Ubuntu.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the grass-dev
mailing list