Thanks, Björn, Dan and Fabio for your comments.

On Wed, 13 Oct 2021 at 18:20, Björn 'besser82' Esser
<besse...@fedoraproject.org> wrote:
>
> Am Mittwoch, dem 13.10.2021 um 16:51 +0200 schrieb Björn 'besser82'
> Esser:
> > 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.
> >
> > Björn
>
>
> Works as suggested in a scratch build:
>
> https://koji.fedoraproject.org/koji/taskinfo?taskID=77177126

And thanks for this. I launched a scratch build to test this too, but
you were faster, so cancelling now. ;-) I'll implement this suggestion
then.

-- 
Iñaki Úcar
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to