Re: why is my package failing annocheck pie test?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 17, 2021 at 5:27 PM Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> wrote:
>
> Got this failure, which includes:
> https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/rpminspect-pipeline/job/master/49313/testReport/(root)/tests/_annocheck/
>
> Hardened: /usr/bin/icebreaker: FAIL: pie test because not built with '-Wl,-pie' (gcc/clang) or '-buildmode pie' (go)
>
> Now, my makefile is a horrific hand-built thing from literally twenty years
> ago, and it's probably not up to, like, best pratices of THAT time, let
> alone now. But I do pass OPTIMIZE="$RPM_OPT_FLAGS" to %make_build in the
> spec file.... That doesn't seem to include anything about PIE, though. What
> should I do to make this right?
>

You should probably pass in %build_cflags and %build_ldflags into your
makefile. That should fix it.



-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux