[MacPorts] #32063: Build llvm on Tiger

MacPorts noreply at macports.org
Mon Nov 14 07:34:51 PST 2011


#32063: Build llvm on Tiger
---------------------------------+------------------------------------------
 Reporter:  rudloff@…            |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  2.0.3                                
 Keywords:  tiger                |        Port:  llvm                                 
---------------------------------+------------------------------------------
 The llvm port says it requires 10.5 and later.
 But if I download the tarball and manually launch ''configure && make'',
 it builds just fine. So there must be something in the ''portfile'' that
 prevents building on Tiger.

 If I remove the warning in the ''portfile'', I get an {{{unknown flag:
 -rpath}}}, so I have patched ''configure'' to remove the -rpath flag and
 now I get this :
 {{{
 llvm[2]: Linking Release unit test ADT (without symbols)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't map file:
 /opt/local/var/macports/build/_Users_pierre_ports_lang_llvm/llvm/work/llvm-2.9/Release/lib
 ((os/kern) invalid argument)
 collect2: ld returned 1 exit status
 }}}
 {{{
 llvm[3]: Linking Release unit test JIT (without symbols)
 /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't map file:
 /opt/local/var/macports/build/_Users_pierre_ports_lang_llvm/llvm/work/llvm-2.9/Release/lib
 ((os/kern) invalid argument)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32063>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list