gregor herrmann <gregoa@debian.org> writes:
> Hm, shouldn't $ENV{CPPFLAGS} go into @cflags instead of @ldflags?
Yes[1]
>
>
>> I tested them and I need to disable PIE or I have this issue:
>
> <guess type=wild>
> - hardening=+all ?
> - or because of @ldflags instead of @cflags?
> </guess>
>
> I should have time to take a look tomorrow, unless you beat me to it
I merged[2] their patches with my pull request, and I explicitely disabled
PIE after adding “+all”[3].
Now it builds cleanly in a schroot, I even install the package and “moar
--help” works \o/.
Regards.
Footnotes:
[1] https://github.com/MoarVM/MoarVM/pull/188
[2] https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=pkg-rakudo/pkg-moarvm.git;a=commit;h=807610863ff64609a7b1e1b12c84c25b4ff1b1d1
[3] https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=pkg-rakudo/pkg-moarvm.git;a=commit;h=571d44c7622b5dbae314dcd4c3e6d9b65b2fc050
--
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF
Attachment:
signature.asc
Description: PGP signature