On 04/08/2017 06:21 PM, Martin Landa wrote: > 2017-04-08 14:06 GMT+02:00 Sebastiaan Couwenberg <sebas...@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 _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev