[MacPorts] #64253: llvm-3.3 and llvm-3.4 fail for ppc+ppc64

MacPorts noreply at macports.org
Fri Dec 24 11:09:32 UTC 2021


#64253: llvm-3.3 and llvm-3.4 fail for ppc+ppc64
-------------------------------+-------------------------------------------
  Reporter:  barracuda156      |      Owner:  (none)
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.1
Resolution:                    |   Keywords:  PowerPC, Leopard, ppc64, LLVM
      Port:  llvm-3.3,         |
  llvm-3.4                     |
-------------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:5 ryandesign]:
 > Replying to [comment:4 barracuda156]:
 > > I tried "-static -o" from here: https://patchwork.kernel.org/project
 /qemu-devel/patch/1462236478-61645-2-git-send-email-chrisfriedt at 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

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64253#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list