gcc/g++ compiler memory exhaustion on build vms

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

 



I am finding that one of my c++ packages has compilation units that generate very large assembly (.s)
files -- so large that any attempt to build them in memory (e.g. with -pipe) causes memory exhaustion.
The only way I have found to reliably get the build to run to completion is by using -save-temps to force
g++ to save the .s assembly files to disk.  I also have to remove any (make) parallelism in the builds.

I am doing this:

%configure \
    CXXFLAGS="${CXXFLAGS} -save-temps" \
    ...

and using make (-j1 implied) instead of make_build.

Just curious if anyone has a better suggestion here.

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