Hi, On Thu, Jul 30, 2020 at 12:47 PM Jeremy Linton <jeremy.linton@xxxxxxx> wrote: > > On 7/28/20 4:39 PM, Jeff Law wrote: > > On Tue, 2020-07-28 at 15:29 -0500, Michael Catanzaro wrote: > >> On Tue, Jul 28, 2020 at 2:01 pm, Jeff Law <law@xxxxxxxxxx> wrote: > >>> If this is a new failure (say in the last week), it could be an out > >>> of memory > >>> scenario. Try disabling LTO. The standard way to do that is > >>> > >>> %define _lto_cflags %{nil} > >>> > >>> In your %build stanza in the spec file. > >>> > >>> Heff > >> > >> I agree, it's almost certainly OOM because it says "fatal error: > >> Killed." I've never seen that happen for any reason other than OOM. > > I've seen it happen for a variety of reasons. Please test with LTO disabled and > > let me know if that helps. > > As a FYI: I had similar problems not long ago building a tensorflow. > Reducing the build parallelism in that case helped reduce the memory > footprint sufficiently that the build completed. I'm facing a similar problem building the bpftrace package... https://koji.fedoraproject.org/koji/taskinfo?taskID=48268388 But for me, it seems gcc is crashing with a simple cmake test program: CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:60 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. /builddir/build/BUILD/bpftrace-0.11.0/CMakeFiles/CMakeTmp/testCCompiler.c:1: internal compiler error: Segmentation fault https://kojipkgs.fedoraproject.org//work/tasks/9180/48269180/build.log Thoughts? > _______________________________________________ > 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 -- Augusto Mecking Caringi Software Engineer Red Hat _______________________________________________ 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