Re: final link failed: memory exhausted on armv7l

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

 





On 10/13/2021 8:51 AM, Björn 'besser82' Esser wrote:
Am Mittwoch, dem 13.10.2021 um 15:44 +0200 schrieb Iñaki Ucar:
Hi,

RStudio is failing consistently on armv7l on F35 [1, 2] and rawhide
[3, 4] with this message (memory exhausted). The same build on the
same machine (CPU and RAM) succeeds on F34 [5]. Any clue what's going
on? Why rawhide and F35 and not F34? Anything I can do in the SPEC to
fix this?

[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=77159810
[2] https://koji.fedoraproject.org/koji/taskinfo?taskID=77170457
[3] https://koji.fedoraproject.org/koji/taskinfo?taskID=77159795
[4] https://koji.fedoraproject.org/koji/taskinfo?taskID=77170370
[5] https://koji.fedoraproject.org/koji/taskinfo?taskID=77159829

As the package doesn't build any *distributed* static library, you can
try to avoid building the linker object files to contain non-lto code:

%global optflags %(echo '%{optflags}' | sed -e 's!-ffat-lto-objects!-
fno-fat-lto-objects!g')

That should drastically cut the amount of memory the linker needs to
create the final ELF binary.  It doesn't hurt to do that on all arches /
releases, as it will also result in significantly shorter build time.
I would strongly discourage this.  This really needs to be addressed in redhat-rpm-config.  See my change proposal for the details.

jeff
_______________________________________________
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