Opened 13 years ago

Closed 13 years ago

#31660 closed defect (duplicate)

cdf @3.3.1_1 Build uses too much memory due to mpfr built with clang

Reported by: ralph@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: vinc17@…
Port: cdf, mpfr

Description

Using 10.7.2, Xcode 4.2, trying to build cdf.

gets past configuration stage OK.

Build process spirals out of control. At one point a cc1 process was taking over 7GB of memory, and I eventually had to reboot the machine after it offered to kill off various programs due to memory shortages.

This is probably not an issue specific to cdf. I had similar issue last week trying to install gcc46.

Change History (6)

comment:1 Changed 13 years ago by ralph@…

Here's where it is getting stuck:

make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/cdf/work/cdf33_1-dist'
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/cdf/work/cdf33_1-dist/src/lib'
/opt/local/bin/gcc-mp-4.4 -I/opt/local/include -Di386 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -O2 -I../include -c epochu.c

comment:2 in reply to:  description ; Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: cdf added
Summary: cdf @3.3.1_1 Build runs amok (also impacts other ports).cdf @3.3.1_1 Build uses too much memory

cdf was updated to 3.3.1.1 yesterday; "sudo port selfupdate" to receive that update and see if it makes a difference.

Replying to ralph@…:

Using 10.7.2, Xcode 4.2, trying to build cdf.

gets past configuration stage OK.

Build process spirals out of control. At one point a cc1 process was taking over 7GB of memory, and I eventually had to reboot the machine after it offered to kill off various programs due to memory shortages.

If the problem persists, try patching the portfile to use gcc45 or gcc46; let me know if that helps or if you still get the same problem.

This is probably not an issue specific to cdf. I had similar issue last week trying to install gcc46.

File individual bug reports for individual ports. The gcc problems are filed as #31604.

comment:3 in reply to:  2 Changed 13 years ago by ralph@…

Problem persists with cdf 3.3.1.1
Problem persists after switching portfile to use gcc45
I can't use gcc46 because it fails to install

comment:4 Changed 13 years ago by calvin@…

Cc me

comment:5 Changed 13 years ago by ralph@…

Fixed by the fix for #31604. Please close.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vinc17@… added
Port: mpfr added
Resolution: duplicate
Status: newclosed
Summary: cdf @3.3.1_1 Build uses too much memorycdf @3.3.1_1 Build uses too much memory due to mpfr built with clang

Interesting! Thanks for letting us know.

Note: See TracTickets for help on using tickets.