[MacPorts] #40284: libgcc-devel @4.9-20130825 does not build
#40284: libgcc-devel @4.9-20130825 does not build -------------------------------+-------------------------------- Reporter: feliks.kluzniak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: build memory | Port: libgcc-devel -------------------------------+-------------------------------- While updating libgcc-devel I see a cc1plus process whose memory requirements exceed 3GB. On a machine with 4GB memory this causes heavy thrashing. When left to run overnight, the build process stops for lack of disk space: when it started, the free space was around 72GB. My wholly uninformed guess is that this might be infinite recursion in template instantiation. This is on a 2010 MacBook Pro, OS X 10.8.4. I attach a file that shows my path and the installed ports. -- Ticket URL: <https://trac.macports.org/ticket/40284> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Changes (by ryandesign@…): * keywords: build memory => * cc: jeremyhu@…, ryandesign@… (added) * owner: macports-tickets@… => mww@… Comment: Yes, I have not yet been able to upgrade the port either, because the process used up 8GB and filled up all my disk space with swap space. My machine has 16GB RAM. -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by jeremyhu@…): Probably best to report this to GCC's bugzilla... -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by cartasegna.luca@…): Happened to me too: started the upgrade with 35 GB of free space and decided to stop it with only about 5 GB of free space after 2 hours of building. If it is of any help I can attach the main log of the build(although it is approximately 21 MB)... -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by jeremyhu@…): A spindump would be useful: {{{ $ sudo spindump <pid of runaway process> }}} -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by cartasegna.luca@…): I restarted the build where I stopped it before(maybe I should do it in a clean build?) and I' m attaching the result of the spindump comand(I did at the cc1 process as it seemed to keep growing steadily in RAM usage) -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by feliks.kluzniak@…): Unfortunately, the new release (@4.9-20130901) seems to have the same problem. I killed the build when the cc1 process had clocked 23 minutes of CPU time, and its virtual memory size had grown to 17GB. This is a pity, because I don't know of any other ports that support C++11. Clang seems to implement the language, but not the library. The last release of gcc49/libgcc-devel that worked for me was MacPorts gcc49 4.9-20130818_0. -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by jeremyhu@…):
This is a pity, because I don't know of any other ports that support C++11. Clang seems to implement the language, but not the library.
As has been discussed extensively on macports-dev this past month: clang -stdlib=libc++ -lang=c++11 -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by larryv@…): More specifically: http://libcxx.llvm.org/ -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by ryandesign@…): Please test again with 4.9-20130915 which builds fine for me. -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: libgcc-devel | --------------------------------+------------------- Comment (by feliks.kluzniak@…): I confirm that the latest version installs from binaries (!) without problems. -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#40284: libgcc-devel @4.9-20130825 does not build: uses too much memory --------------------------------+-------------------- Reporter: feliks.kluzniak@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: libgcc-devel | --------------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/40284#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts