[MacPorts] #65942: mrustc with GCC for PowerPC

MacPorts noreply at macports.org
Mon Oct 16 07:10:30 UTC 2023


#65942: mrustc with GCC for PowerPC
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  catap
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:  powerpc
      Port:  mrustc        |
---------------------------+----------------------

Comment (by barracuda156):

 Building from master (setting `powerpc` as the Rust arch and adding a
 patch to disable unsupported VSX), I got here:
 {{{
 [CXX] -o ../../bin/standalone_miri
 /usr/bin/make -f Makefile all
 make[1]: Nothing to be done for `all'.
 test -e bin/mrustc
 /usr/bin/make -C tools/minicargo/
 make[1]: Nothing to be done for `all'.
 test -e bin/minicargo
 bin/minicargo --vendor-dir rustc-1.54.0-src/vendor --script-overrides
 script-overrides/stable-1.54.0-macos/ --output-dir output-1.54.0/
 --manifest-overrides rustc-1.54.0-overrides.toml rustc-1.54.0-src/mrustc-
 stdlib/
 --- BUILDING core v0.0.0 (0.0% 1r,0w,19b/20t)
 >
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /thepowersgang-mrustc-38c9db2/bin/mrustc
 rustc-1.54.0-src/library/core/src/lib.rs -o output-1.54.0/libcore.rlib -C
 emit-depfile=output-1.54.0/libcore.rlib.d --cfg debug_assertions -O -L
 output-1.54.0 --crate-name core --crate-type rlib --crate-tag 0_0_0
 --edition 2018 > output-1.54.0/libcore.rlib_dbg.txt
  (0.0% 1r,0w,19b/20t): core v0.0.0
 :0:0 BUG:ASSERT FAIL: src/hir/hir_ops.cpp:1296:ep.m_mir: No HIR (!ep) and
 no MIR (!ep.m_mir) for ::"core-
 0_0_0"::panicking::#0::panic_impl<'#local3,>
 Process was terminated with signal 6
 FAILING COMMAND:
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /thepowersgang-mrustc-38c9db2/bin/mrustc
 rustc-1.54.0-src/library/core/src/lib.rs -o output-1.54.0/libcore.rlib -C
 emit-depfile=output-1.54.0/libcore.rlib.d --cfg debug_assertions -O -L
 output-1.54.0 --crate-name core --crate-type rlib --crate-tag 0_0_0
 --edition 2018
 Env:
 OUT_DIR=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /thepowersgang-mrustc-38c9db2/output-1.54.0/build_core
 CARGO_MANIFEST_DIR=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /thepowersgang-mrustc-38c9db2/rustc-1.54.0-src/library/core
 CARGO_PKG_NAME=core CARGO_PKG_VERSION=0.0.0 CARGO_PKG_VERSION_MAJOR=0
 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0
  (5.0% 0r,0w,19b/20t):
 BUILD FAILED
 make: *** [LIBS] Error 1
 }}}

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


More information about the macports-tickets mailing list