Opened 15 years ago

Closed 15 years ago

#18110 closed defect (wontfix)

llvm 2.4 on Mac OS X 10.3.9 Panther: error: `asm' operand requires impossible reload

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: panther Cc:
Port: llvm

Description

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.

Change History (9)

comment:1 Changed 15 years ago by tobypeterson

Looks like a bug in gcc 3.3. We don't support Panther, do we?

comment:2 in reply to:  1 ; Changed 15 years ago by blb@…

Replying to 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.

comment:3 in reply to:  2 ; Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to blb@…:

Unless someone wants to try making gcc43 a dependency for llvm on 10.3, see if that works.

I can try that.

comment:4 in reply to:  3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

I can try that.

I can't try that, because gcc43 does not build on Panther and neither does gcc42.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

gcc41, gcc40 and apple-gcc40 cannot be built on Panther either.

Some of these require odcctools, but 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.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:7 Changed 15 years ago by tobypeterson

Keywords: panther added

comment:8 Changed 15 years ago by tobypeterson

Resolution: wontfix

panther is dead

comment:9 Changed 15 years ago by tobypeterson

Status: newclosed
Note: See TracTickets for help on using tickets.