[MacPorts] #15496: llvm +universal doesn't build

MacPorts noreply at macports.org
Tue Jun 3 03:23:12 PDT 2008


#15496: llvm +universal doesn't build
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  erickt at macports.org
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:  Port Bugs          
Component:  ports                    |     Version:  1.7.0              
 Keywords:                           |  
-------------------------------------+--------------------------------------
 Building a universal variant of llvm doesn't seem to work:

 {{{
 $ sudo port install llvm +universal
 --->  Fetching llvm
 --->  Verifying checksum(s) for llvm
 --->  Extracting llvm
 --->  Configuring llvm
 --->  Building llvm with target tools-only
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build"
 && nice -n 1 make tools-only " returned error 2
 Command output: llvm[2]: Compiling TableGen.cpp for Release build
 llvm[2]: Compiling TableGenBackend.cpp for Release build
 llvm[2]: Linking Release executable tblgen (without symbols)
 /usr/bin/ld: for architecture ppc
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/AsmWriterEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/CallingConvEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/CodeEmitterGen.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/CodeGenDAGPatterns.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/CodeGenInstruction.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/CodeGenTarget.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/DAGISelEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/InstrEnumEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/InstrInfoEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/IntrinsicEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/Record.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/RegisterInfoEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/SubtargetEmitter.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/TGLexer.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/TGParser.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/TableGen.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/utils/TableGen/Release/TableGenBackend.o
 cputype (7, architecture i386) does not match cputype (18) for specified
 -arch flag: ppc (file not loaded)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/Release/lib/libLLVMSupport.a
 archive's cputype (7, architecture i386) does not match cputype (18) for
 specified -arch flag: ppc (can't load from it)
 /usr/bin/ld: warning
 /opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/Release/lib/libLLVMSystem.a
 archive's cputype (7, architecture i386) does not match cputype (18) for
 specified -arch flag: ppc (can't load from it)
 /usr/bin/ld: Undefined symbols:
 _main
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//cc9jNQ2x.out (No such file or
 directory)
 make[2]: ***
 [/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm/work/build/Release/bin/tblgen]
 Error 1
 make[1]: *** [TableGen/.makeall] Error 2
 make: *** [all] Error 1

 Error: Status 1 encountered during processing.
 $
 }}}

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


More information about the macports-tickets mailing list