[MacPorts] #18110: llvm 2.4 on Mac OS X 10.3.9 Panther: error: `asm' operand requires impossible reload

MacPorts noreply at macports.org
Mon Jan 19 20:11:37 PST 2009


#18110: llvm 2.4 on Mac OS X 10.3.9 Panther: error: `asm' operand requires
impossible reload
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  erickt@…           
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:  Port Bugs          
Component:  ports                    |     Version:  1.7.0              
 Keywords:                           |        Port:  llvm               
-------------------------------------+--------------------------------------
 llvm @2.4_2 won't build on a Power Mac G4 with Mac OS X 10.3.9 Panther,
 Xcode 1.5 and MacPorts 1.7.0:

 {{{
 --->  Fetching llvm
 --->  Verifying checksum(s) for llvm
 --->  Extracting llvm
 --->  Applying patches to llvm
 --->  Configuring llvm
 --->  Building llvm
 Error: Target org.macports.build returned: shell command " cd
 "/mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/build"
 && nice -n 10 make all " returned error 2
 Command output: llvm[3]: Compiling CodeGenPrepare.cpp for Release build
 llvm[3]: Compiling CondPropagate.cpp for Release build
 llvm[3]: Compiling ConstantProp.cpp for Release build
 llvm[3]: Compiling DCE.cpp for Release build
 llvm[3]: Compiling DeadStoreElimination.cpp for Release build
 In file included from
 /mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/llvm-2.4/lib/Transforms/Scalar/DeadStoreElimination.cpp:28:
 /mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/llvm-2.4/include/llvm/Analysis/AliasAnalysis.h:354:
 warning: `
    static' is not at beginning of declaration
 /mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/llvm-2.4/include/llvm/Analysis/AliasAnalysis.h:355:
 warning: `
    static' is not at beginning of declaration
 llvm[3]: Compiling GVN.cpp for Release build
 In file included from
 /mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/llvm-2.4/lib/Transforms/Scalar/GVN.cpp:32:
 /mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/llvm-2.4/include/llvm/Analysis/AliasAnalysis.h:354:
 warning: `
    static' is not at beginning of declaration
 /mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/llvm-2.4/include/llvm/Analysis/AliasAnalysis.h:355:
 warning: `
    static' is not at beginning of declaration
 llvm[3]: Compiling GVNPRE.cpp for Release build
 llvm[3]: Compiling IndVarSimplify.cpp for Release build
 llvm[3]: Compiling InstructionCombining.cpp for Release build
 /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h: In member
 function
    `bool <unnamed>::InstCombiner::DoOneIteration(llvm::Function&, unsigned
 int)
    ':
 /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h:65: error:
 `asm'
    operand requires impossible reload
 /usr/include/gcc/darwin/3.3/c++/ppc-darwin/bits/atomicity.h:65: error:
 `asm'
    operand requires impossible reload
 make[3]: ***
 [/mp/var/macports/build/_Volumes_data_macports_ports_lang_llvm/work/build/lib/Transforms/Scalar/Release/InstructionCombining.o]
 Error 1
 make[2]: *** [Scalar/.makeall] Error 2
 make[1]: *** [Transforms/.makeall] Error 2
 make: *** [all] Error 1

 Error: The following dependencies failed to build: llvm
 Error: Status 1 encountered during processing.
 }}}

 It installs fine on Tiger or Leopard.

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


More information about the macports-tickets mailing list