Opened 3 years ago

Last modified 3 months ago

#64253 new defect

llvm-3.3 and llvm-3.4 fail for ppc+ppc64

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: PowerPC, Leopard, ppc64 Cc:
Port: llvm-3.3, llvm-3.4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

First of all, by default it asks for python27 to be built as universal, which fails: #50821

After adding depends_skip_archcheck-append python27 it starts building, but eventually fails:

/opt/local/bin/ranlib: archive member: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/Release/lib/libLLVMARMDesc.a(ARMAsmBackend.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file)
ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/Release/lib/libLLVMARMDesc.a
ranlib: archive member: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/Release/lib/libLLVMARMDesc.a(ARMAsmBackend.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file)
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/lib/Target/ARM/MCTargetDesc'
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/lib/Target/ARM'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/lib/Target'
make[1]: *** [Target/.makeall] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build/lib'
make: *** [all] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/work/build" && /usr/bin/make -j4 -w all 
Exit code: 2
Error: Failed to build llvm-3.3: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.3/llvm-3.3/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port llvm-3.3 failed


Attachments (2)

main.log (1.4 MB) - added by barracuda156 3 years ago.
main_llvm34_ppc64.log (5.8 MB) - added by barracuda156 3 years ago.
Here is where I got with it:

Change History (12)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by barracuda156

llvm-3.4 fails likewise:

llvm[2]: Compiling VirtRegMap.cpp for Release build
/Developer/usr/bin/llvm-g++-4.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/CodeGen  -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Os  -fvisibility-inlines-hidden -fno-exceptions -fno-common -Woverloaded-virtual -Wcast-qual -pipe -Os -arch ppc -arch ppc64 -I/opt/local/include -mmacosx-version-min=10.5 -arch ppc -arch ppc64 -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings     -Wno-missing-field-initializers -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/llvm-3.4.2.src/lib/CodeGen/VirtRegMap.cpp -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/VirtRegMap.o
llvm[2]: Building Release Archive Library libLLVMCodeGen.a
/bin/rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/Release/lib/libLLVMCodeGen.a
ar cru /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/Release/lib/libLLVMCodeGen.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/AggressiveAntiDepBreaker.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/AllocationOrder.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/Analysis.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/BasicTargetTransformInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/BranchFolding.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/CalcSpillWeights.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/CallingConvLower.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/CodeGen.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/CriticalAntiDepBreaker.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/DFAPacketizer.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/DeadMachineInstructionElim.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/DwarfEHPrepare.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/EarlyIfConversion.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/EdgeBundles.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ErlangGC.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ExecutionDepsFix.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ExpandISelPseudos.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ExpandPostRAPseudos.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/GCMetadata.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/GCMetadataPrinter.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/GCStrategy.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/IfConversion.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/InlineSpiller.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/InterferenceCache.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/IntrinsicLowering.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/JITCodeEmitter.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LLVMTargetMachine.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LatencyPriorityQueue.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LexicalScopes.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveDebugVariables.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveInterval.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveIntervalAnalysis.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveIntervalUnion.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveRangeCalc.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveRangeEdit.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveRegMatrix.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveRegUnits.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveStackAnalysis.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LiveVariables.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/LocalStackSlotAllocation.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineBasicBlock.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineBlockFrequencyInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineBlockPlacement.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineBranchProbabilityInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineCSE.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineCodeEmitter.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineCopyPropagation.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineDominators.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineFunction.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineFunctionAnalysis.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineFunctionPass.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineFunctionPrinterPass.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineInstr.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineInstrBundle.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineLICM.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineLoopInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineModuleInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineModuleInfoImpls.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachinePassRegistry.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachinePostDominators.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineRegisterInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineSSAUpdater.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineScheduler.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineSink.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineTraceMetrics.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/MachineVerifier.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/OcamlGC.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/OptimizePHIs.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/PHIElimination.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/PHIEliminationUtils.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/Passes.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/PeepholeOptimizer.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/PostRASchedulerList.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ProcessImplicitDefs.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/PrologEpilogInserter.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/PseudoSourceValue.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegAllocBase.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegAllocBasic.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegAllocFast.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegAllocGreedy.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegAllocPBQP.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegisterClassInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegisterCoalescer.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegisterPressure.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/RegisterScavenging.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ScheduleDAG.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ScheduleDAGInstrs.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ScheduleDAGPrinter.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ScoreboardHazardRecognizer.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/ShadowStackGC.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/SjLjEHPrepare.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/SlotIndexes.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/SpillPlacement.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/Spiller.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/SplitKit.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/StackColoring.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/StackMaps.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/StackProtector.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/StackSlotColoring.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TailDuplication.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetFrameLoweringImpl.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetInstrInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetLoweringBase.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetLoweringObjectFileImpl.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetOptionsImpl.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetRegisterInfo.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TargetSchedule.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/TwoAddressInstructionPass.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/UnreachableBlockElim.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/Release/VirtRegMap.o
/opt/local/bin/ranlib: archive member: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/Release/lib/libLLVMCodeGen.a(AllocationOrder.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file)
ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/Release/lib/libLLVMCodeGen.a
ranlib: archive member: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/Release/lib/libLLVMCodeGen.a(AllocationOrder.o) fat object file's offset in archive not a multiple of 8) (must be since member is a 64-bit object file)
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen'
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib'
make: *** [all] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build" && /usr/bin/make -j4 -w all 
Exit code: 2
Error: Failed to build llvm-3.4: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port llvm-3.4 failed

comment:2 Changed 3 years ago by barracuda156

Port: llvm-3.4 added
Summary: llvm-3.3 fails for ppc64llvm-3.3 and llvm-3.4 fail for ppc+ppc64

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

Looks like ar is used to create libLLVMCodeGen.a and then ranlib is asked to operate on that static library and complains about how it was made. I have often seen the recommendation that static libraries should be created using libtool, not ar. I don't know if that would solve this particular issue. If you can figure out how to tell llvm to use libtool instead of ar you could try that.

comment:4 in reply to:  3 ; Changed 3 years ago by barracuda156

Replying to ryandesign:

Looks like ar is used to create libLLVMCodeGen.a and then ranlib is asked to operate on that static library and complains about how it was made. I have often seen the recommendation that static libraries should be created using libtool, not ar. I don't know if that would solve this particular issue. If you can figure out how to tell llvm to use libtool instead of ar you could try that.

There are some posts online apparently addressing the issue, however they don't seem to work. For example, this is specifically for llvm: https://reviews.llvm.org/rG6108658da4c2cef2d303c6a2fddfb60a5d589e69 (fails anyway).

AR is defined in Makefile.config.in and AR.Flags defined in Makefile.rules. I can patch these to use Libtool, but I don't know which flags to use. I tried "-static -o" from here: https://patchwork.kernel.org/project/qemu-devel/patch/1462236478-61645-2-git-send-email-chrisfriedt@gmail.com - and it failed too.

Last edited 3 years ago by barracuda156 (previous) (diff)

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

Replying to barracuda156:

I tried "-static -o" from here: https://patchwork.kernel.org/project/qemu-devel/patch/1462236478-61645-2-git-send-email-chrisfriedt@gmail.com - and it failed too.

I would expect that this would at least change the error message?

comment:6 in reply to:  5 Changed 3 years ago by barracuda156

Replying to ryandesign:

Replying to barracuda156:

I tried "-static -o" from here: https://patchwork.kernel.org/project/qemu-devel/patch/1462236478-61645-2-git-send-email-chrisfriedt@gmail.com - and it failed too.

I would expect that this would at least change the error message?

It has been failing every time on the same place (CodeGen for ppc64) until I redefined AR to libtool, and now it fails due to incorrect flags:

error: libtool: no output file specified (specify with -o output)
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT] [-no_warning_for_no_symbols]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make[1]: *** [/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_llvm-3.3/llvm-3.3/work/build-ppc/Release/lib/libLLVMSupport.a] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_llvm-3.3/llvm-3.3/work/build-ppc/lib/Support'
make: *** [all] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_llvm-3.3/llvm-3.3/work/build-ppc'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_llvm-3.3/llvm-3.3/work/build-ppc" && /usr/bin/make -j4 -w all 
Exit code: 2
Error: Failed to build llvm-3.3: command execution failed

comment:7 Changed 3 years ago by barracuda156

So not only universal, but ppc64 on its own also broken: #64760

Last edited 2 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 in reply to:  3 Changed 3 years ago by barracuda156

Replying to ryandesign:

Looks like ar is used to create libLLVMCodeGen.a and then ranlib is asked to operate on that static library and complains about how it was made. I have often seen the recommendation that static libraries should be created using libtool, not ar. I don't know if that would solve this particular issue. If you can figure out how to tell llvm to use libtool instead of ar you could try that.

Okay what I did is manually running /usr/bin/libtool -static -o each time when ar cru failed. This might have got me through those errors (compilation proceeded, but I still got another failure, so cannot be sure that worked). Now the build failed here:

make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/MC/MCDisassembler'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/MC/MCDisassembler'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/MC'
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/SelectionDAG'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/SelectionDAG'
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/AsmPrinter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen/AsmPrinter'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/CodeGen'
{standard input}:7:Parameter syntax error (parameter 1)
{standard input}:8:Parameter syntax error (parameter 1)
{standard input}:9:Parameter syntax error (parameter 1)
{standard input}:10:Parameter syntax error (parameter 1)
{standard input}:11:Parameter syntax error (parameter 1)
{standard input}:12:Parameter syntax error (parameter 1)
{standard input}:13:Parameter syntax error (parameter 1)
{standard input}:14:Parameter syntax error (parameter 1)
{standard input}:15:Parameter syntax error (parameter 1)
{standard input}:16:Parameter syntax error (parameter 1)
{standard input}:17:Parameter syntax error (parameter 1)
{standard input}:18:Parameter syntax error (parameter 1)
{standard input}:19:Parameter syntax error (parameter 1)
{standard input}:20:Parameter syntax error (parameter 1)
{standard input}:21:Parameter syntax error (parameter 1)
{standard input}:22:Parameter syntax error (parameter 1)
{standard input}:23:Parameter syntax error (parameter 1)
{standard input}:24:Parameter syntax error (parameter 1)
{standard input}:25:Parameter syntax error (parameter 1)
{standard input}:26:Parameter syntax error (parameter 1)
{standard input}:27:Parameter syntax error (parameter 1)
{standard input}:28:Parameter syntax error (parameter 1)
{standard input}:29:Parameter syntax error (parameter 1)
{standard input}:30:Parameter syntax error (parameter 1)
{standard input}:31:Parameter syntax error (parameter 1)
{standard input}:32:Parameter syntax error (parameter 1)
{standard input}:33:Parameter syntax error (parameter 1)
{standard input}:34:Parameter syntax error (parameter 1)
{standard input}:36:Parameter syntax error (parameter 2)
{standard input}:37:Parameter syntax error (parameter 1)
{standard input}:38:Parameter syntax error (parameter 1)
{standard input}:39:Parameter syntax error (parameter 1)
{standard input}:40:Parameter syntax error (parameter 1)
{standard input}:41:Parameter syntax error (parameter 1)
{standard input}:42:Parameter syntax error (parameter 1)
{standard input}:43:Parameter syntax error (parameter 1)
{standard input}:44:Parameter syntax error (parameter 1)
{standard input}:45:Parameter syntax error (parameter 1)
{standard input}:46:Parameter syntax error (parameter 1)
{standard input}:47:Parameter syntax error (parameter 1)
{standard input}:48:Parameter syntax error (parameter 1)
{standard input}:49:Parameter syntax error (parameter 1)
{standard input}:50:Parameter syntax error (parameter 1)
{standard input}:51:Parameter syntax error (parameter 1)
{standard input}:52:Parameter syntax error (parameter 1)
{standard input}:53:Parameter syntax error (parameter 1)
{standard input}:54:Parameter syntax error (parameter 1)
{standard input}:55:Parameter syntax error (parameter 1)
{standard input}:56:Parameter syntax error (parameter 1)
{standard input}:57:Parameter syntax error (parameter 1)
{standard input}:58:Parameter syntax error (parameter 1)
{standard input}:59:Parameter syntax error (parameter 1)
{standard input}:60:Parameter syntax error (parameter 2)
make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/Target/PowerPC/Release/PPCJITInfo.o] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/Target/PowerPC'
make[2]: *** [PowerPC/.makeall] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib/Target'
make[1]: *** [Target/.makeall] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build/lib'
make: *** [all] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/build" && /usr/bin/make -j4 -w all 
Exit code: 2

Changed 3 years ago by barracuda156

Attachment: main_llvm34_ppc64.log added

Here is where I got with it:

comment:9 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: LLVM removed

comment:10 Changed 3 months ago by unilock (Katherine)

Compiling llvm-3.3 for ppc64 specifically still fails with an identical log to comment:8 on my Power Mac G5 running Mac OS X Leopard 10.5.8. It would be really nice to see this fixed :)

It should also be noted that this issue does *not* affect ppc; only ppc64.

Last edited 3 months ago by unilock (Katherine) (previous) (diff)
Note: See TracTickets for help on using tickets.