[MacPorts] #22359: g95 make failure on Snow Leopard (/usr/bin/libtool: internal link edit command failed)

MacPorts noreply at macports.org
Tue Nov 3 20:41:36 PST 2009


#22359: g95 make failure on Snow Leopard (/usr/bin/libtool: internal link edit
command failed)
---------------------------------+------------------------------------------
 Reporter:  adrean304@…          |       Owner:  takeshi@…           
     Type:  defect               |      Status:  new                 
 Priority:  Normal               |   Milestone:                      
Component:  ports                |     Version:  1.8.1               
 Keywords:                       |        Port:  g95                 
---------------------------------+------------------------------------------

Comment(by takeshi@…):

 I have been aware of the problem since the launch of Snow Leopard and have
 been trying hard to address it. I was not able to find a way to build
 gcc-4.0.4 and gcc-4.1.4 for x86_64. I was able to compile Apple modified
 gcc-5465 and g95 but failed at the link time due to many undefined
 symbols. I was able to link against gcc-4.3.4 with a numbers of twists but
 a produced executables did not work.

 Finally I found that g95 can be linked against gcc-4.2.4 with a few
 patches. Simple programs like "hello, world" are compiled and executed
 without any problems. I was able to build g95 on Mac Book (Core Duo, i386)
 running Snow Leopard, Mac Book Pro (Core 2 Duo) running Tiger, Leopard
 (i386) and Snow Leopard (x86_64) and Power Mac G5 running Leopard
 (powerpc). I tried to change build_arch to x86_64 Mac Book Pro running
 Leopard but failed with pp5-locale-gettext (#19381). For x86_64, g95
 produces x86_64 binaries ;-)

 I would like to commit updates by weekend. In the meantime I will test the
 revised g95 with real world source code. It would be nice if someone could
 test the attached Portfile and patches.

-- 
Ticket URL: <http://trac.macports.org/ticket/22359#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list