Opened 13 years ago

Last modified 13 years ago

#30723 closed defect

port install gcc46 +gfortran +universal (failed during build on Mac OS X 10.7 lion) — at Version 2

Reported by: annacegu@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: mww@…
Port: gcc46

Description (last modified by jmroot (Joshua Root))

Hi,

I am not able to build using the following command: port install gcc46 +gfortran +universal

This is on a recently purchased MacBook Pro, with OS X 10.7 lion.

This is part of the main.log file generated, it's too large to copy in its entirety: (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/main.log)

:info:build make[6]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc46/gcc46/work/build/gcc'
:info:build collect2: ld terminated with signal 6 [Abort trap: 6]
:info:build ld: warning: could not create compact unwind for __Unwind_RaiseException: does not use RBP or RSP based frame
:info:build ld: warning: could not create compact unwind for __Unwind_ForcedUnwind: does not use RBP or RSP based frame
:info:build ld: warning: could not create compact unwind for __Unwind_Resume: does not use RBP or RSP based frame
:info:build ld: warning: could not create compact unwind for __Unwind_Resume_or_Rethrow: does not use RBP or RSP based frame
:info:build ld(36978) malloc: *** error for object 0x107c2f840: pointer being freed was not allocated
:info:build *** set a breakpoint in malloc_error_break to debug
:info:build make[3]: *** [libgcc_s.dylib] Error 1

Please help... I have tried compiling gcc & gfortran myself and it's an uphill battle... I would like it done by macports instead.

Regards, Anna.

Change History (2)

comment:1 Changed 13 years ago by Veence (Vincent)

Resolution: invalid
Status: newclosed

Anna, there is nothing we can do for you at this point. MacOS 10.7.0 is buggy, what you see is a bug in the linker Apple provides with Lion. Until they post a fix in 10.7.1 (let's presume so), it is impossible to compile gcc 4.6.0 or gcc 4.6.1. Meanwhile, you've no choice but content you with gcc45…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Cc: mww@… added
Description: modified (diff)
Port: +gfortran +universal removed
Resolution: invalid
Status: closedreopened
Note: See TracTickets for help on using tickets.