On Thu, Sep 17, 2020 at 01:24:26AM -0400, Elliott Sales de Andrade wrote:
> When using Fedora's containers, LTO appears to be broken. I'm not sure
> who to report this to, the container builder or gcc.
>
> $ podman run --pull=always --rm -it registry.fedoraproject.org/fedora:rawhide
> # dnf install -y gcc
> # echo 'int main(void) { int class=0; return class; }' > sanitycheck.c
> # gcc -flto=auto sanitycheck.c -o sanitycheck
> lto-wrapper: fatal error: execvp: No such file or directory
> compilation terminated.
> /usr/bin/ld: error: lto-wrapper failed
> collect2: error: ld returned 1 exit status
>
> The test file is what Meson compiles as a check. This also fails on
> fedora:33. For good measure, you can throw in a `dnf update -y`, but
> it does not update/fix anything.
>
> Running a similar check in `mock -r fedora-rawhide-x86_64` --shell works fine.
>
This looks like <https://bugzilla.redhat.com/show_bug.cgi?id=1823349>. Please
use Bugzilla for reporting bugs in a packaging.-- Petr
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]
