[MacPorts] #34634: llvm 3.0 won’t build on ppc64

MacPorts noreply at macports.org
Sun May 27 03:28:18 PDT 2012


#34634: llvm 3.0 won’t build on ppc64
--------------------------------+-------------------------------------------
 Reporter:  vince@…             |       Owner:  jeremyhu@…           
     Type:  defect              |      Status:  new                  
 Priority:  Normal              |   Milestone:                       
Component:  ports               |     Version:  2.1.1                
 Keywords:  llvm-3.0 ppc64      |        Port:  llvm-3.0             
--------------------------------+-------------------------------------------
 While building llvm-3.0 for ppc seems to work, building it for ppc64
 fails:


 {{{
 sudo /usr/bin/g++-4.2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/lib/Target/PowerPC
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -Os -g -fno-exceptions -fno-rtti -fno-common
 -Woverloaded-virtual -Wcast-qual -mmacosx-version-min=10.5 -pedantic -Wno-
 long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -arch ppc -c
 PPCJITInfo.cpp -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/lib/Target/PowerPC/Release+Debug/PPCJITInfo.o
 }}}

 compiles OK. The ppc64 equivalent does not:


 {{{
 sudo /usr/bin/g++-4.2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/lib/Target/PowerPC
 -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS -Os -g -fno-exceptions -fno-rtti -fno-common
 -Woverloaded-virtual -Wcast-qual -mmacosx-version-min=10.5 -pedantic -Wno-
 long-long -Wall -W -Wno-unused-parameter -Wwrite-strings -arch ppc64 -c
 PPCJITInfo.cpp -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm-3.0/llvm-3.0/work/llvm-3.0.src/lib/Target/PowerPC/Release+Debug/PPCJITInfo.o
 /var/tmp//cci6Aqr4.s:38:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:39:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:40:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:41:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:42:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:43:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:44:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:45:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:46:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:47:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:48:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:49:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:50:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:51:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:52:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:53:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:54:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:55:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:56:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:57:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:58:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:59:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:60:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:61:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:62:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:63:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:64:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:65:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:67:Parameter syntax error (parameter 2)
 /var/tmp//cci6Aqr4.s:68:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:69:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:70:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:71:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:72:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:73:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:74:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:75:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:76:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:77:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:78:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:79:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:80:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:81:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:82:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:83:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:84:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:85:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:86:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:87:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:88:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:89:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:90:Parameter syntax error (parameter 1)
 /var/tmp//cci6Aqr4.s:91:Parameter syntax error (parameter 2)
 }}}

 Therefore, a universal build of llvm-3.0 also fails.

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


More information about the macports-tickets mailing list