Opened 13 years ago

Closed 12 years ago

#30166 closed defect (fixed)

gcc46 +gfortran fails build

Reported by: Alberto.Verga@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: gfortran Cc: fleason (Fred Leason), luis.beca@…, sygnet@…, bosch@…, bgschaid@…, lukas.reichlin@…, drkp (Dan Ports)
Port: gcc46

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Building gcc46 +gfortran stop with "shell command failed". I could build it without the variant gfortran on the same system:

  • Mac OS X 10.6.8, Darwin 10.8.0 [Intel Core i7]
  • Xcode: 4.0.2 (99)
  1. Verga

Attachments (1)

main.log (6.4 MB) - added by Alberto.Verga@… 13 years ago.
Log file

Change History (11)

Changed 13 years ago by Alberto.Verga@…

Attachment: main.log added

Log file

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

Description: modified (diff)
Keywords: gcc46 removed
Owner: changed from macports-tickets@… to mww@…

gcc46 gfortran build failure was also mentioned in #29184.

comment:2 Changed 13 years ago by fleason (Fred Leason)

Cc: fleason@… added

Cc Me!

comment:3 Changed 13 years ago by luis.beca@…

Cc: luis.beca@… added

Cc Me!

comment:4 Changed 12 years ago by sygnet@…

Cc: sygnet@… added

Cc Me!

comment:5 Changed 12 years ago by bosch@…

Cc: bosch@… added

Cc Me!

comment:6 Changed 12 years ago by bgschaid@…

Cc: bgschaid@… added

Cc Me!

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: lukas.reichlin@… added

The relevant error from the log is:

:info:build collect2: ld terminated with signal 6 [Abort trap]
:info:build ld(37002) malloc: *** error for object 0x100282860: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build make[3]: *** [libgfortran.la] Error 1

Has duplicate #32142.

comment:8 Changed 12 years ago by drkp (Dan Ports)

Cc: dports@… added

Has this been fixed by r87835?

comment:9 Changed 12 years ago by fleason (Fred Leason)

According to #31171 r87656 fixed building gcc46 on Lion.
I was abel to build it in this environment:

gcc46 @4.6.2_0 Installed on Lion
Processor 2.8 GHz Intel Core i7
Memory 16 GB 1067 MHz DDR3
Graphics ATI Radeon HD 4850 512 MB
Software Mac OS X Lion 10.7.2 (11C74)
Xcode Version 4.2.1 Build 4D502

r87835 fixed gcc46 for Snow Leopard

#31174 mentioned that you may also need to install qd prior to building gcc46. I'm not sure if it has been added as a library dependency.

comment:10 Changed 12 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.