LTO running out of memory on ARMv7 builders

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

 



This Rawhide build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=56536942
seems to have failed because of LTO running out of memory on armv7.
The error is:

  lto1: out of memory allocating 104 bytes after a total of 2966994944 bytes
  lto-wrapper: fatal error: gcc returned 1 exit status
  compilation terminated.
  /usr/bin/ld: error: lto-wrapper failed
  collect2: error: ld returned 1 exit status

In fact I had noticed before that this binary takes quite a long time
to compile with LTO even on x86-64.  It's not especially large (7 MB
with debug symbols, 2.2 MB fully stripped).

But I suppose one thing which is special about it is that it's a
"mixed" C and OCaml binary, but as far as I know the OCaml objects
should be effectively ignored from an LTO point of view.

I can't see why it should need to allocate 2GB(!) in order to LTO it.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
_______________________________________________
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




[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