[MacPorts] #18110: llvm 2.4 on Mac OS X 10.3.9 Panther: error: `asm' operand requires impossible reload
#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
#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 -------------------------------------+-------------------------------------- Comment(by toby@…): Looks like a bug in gcc 3.3. We don't support Panther, do we? -- Ticket URL: <http://trac.macports.org/ticket/18110#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------------+-------------------------------------- Comment(by blb@…): Replying to [comment:1 toby@…]:
Looks like a bug in gcc 3.3. We don't support Panther, do we?
Base still supports 10.3 but I'm guessing llvm probably can't; maybe error out in a 'darwin 7' section? Unless someone wants to try making gcc43 a dependency for llvm on 10.3, see if that works. -- Ticket URL: <http://trac.macports.org/ticket/18110#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 blb@…]:
Unless someone wants to try making gcc43 a dependency for llvm on 10.3, see if that works. I can try that.
-- Ticket URL: <http://trac.macports.org/ticket/18110#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:3 ryandesign@…]:
I can try that. I can't try that, because [ticket:15566 gcc43 does not build on Panther] and [ticket:18145 neither does gcc42].
-- Ticket URL: <http://trac.macports.org/ticket/18110#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): [ticket:11890 gcc41], [ticket:18333 gcc40] and [ticket:18321 apple-gcc40] cannot be built on Panther either. Some of these require odcctools, but [ticket:18146 odcctools can't be built on Panther] currently. It used to work, so making a new port with an older version of odcctools might let us get further. -- Ticket URL: <http://trac.macports.org/ticket/18110#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts