[MacPorts] #65942: mrustc with GCC for PowerPC

MacPorts noreply at macports.org
Thu Oct 6 16:45:49 UTC 2022


#65942: mrustc with GCC for PowerPC
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  catap
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.2
 Keywords:  powerpc       |       Port:  mrustc
--------------------------+----------------------
 So unlike on Rosetta, where `mrustc` fell early, natively it builds to
 this stage:

 {{{
 test -e bin/mrustc
 /usr/bin/make -C tools/minicargo/
 make[1]: Nothing to be done for `all'.
 test -e bin/minicargo
 bin/minicargo rustc-1.54.0-src/library/std --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
 >
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /mrustc-11a9c01119988e30ba40bab4ee5f60753c0c4b61/bin/mrustc -Z print-cfgs
 (0/13) BUILDING core v0.0.0
 >
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /mrustc-11a9c01119988e30ba40bab4ee5f60753c0c4b61/bin/mrustc
 rustc-1.54.0-src/library/core/src/lib.rs -o output-1.54.0/libcore.rlib
 --crate-name core --crate-type rlib -C emit-
 depfile=output-1.54.0/libcore.rlib.d --crate-tag 0_0_0 --cfg
 debug_assertions -O -L output-1.54.0 --edition 2018
 rustc-1.54.0-src/library/core/src/../../stdarch/crates/core_arch/src/x86/avx2.rs:520:
 error:0:Type mismatch between [u32; 8] and [u32; 576460752303423488] -
 sizes differ
 rustc-1.54.0-src/library/core/src/../../stdarch/crates/core_arch/src/x86/avx2.rs:520:
 note: From here
 Process was terminated with signal 6
 FAILING COMMAND:
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /mrustc-11a9c01119988e30ba40bab4ee5f60753c0c4b61/bin/mrustc
 rustc-1.54.0-src/library/core/src/lib.rs -o output-1.54.0/libcore.rlib
 --crate-name core --crate-type rlib -C emit-
 depfile=output-1.54.0/libcore.rlib.d --crate-tag 0_0_0 --cfg
 debug_assertions -O -L output-1.54.0 --edition 2018
 BUILD FAILED
 make: *** [output-1.54.0/libstd.rlib] Error 1
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_mrustc/mrustc/work
 /mrustc-11a9c01119988e30ba40bab4ee5f60753c0c4b61" && /usr/bin/make -j2 -w
 -f minicargo.mk -j2 bin/mrustc bin/minicargo && /usr/bin/make -j2 -C
 tools/dump_hirfile && /usr/bin/make -j2 -C tools/standalone_miri &&
 /usr/bin/make -j1 -f minicargo.mk LIBS
 Exit code: 2
 }}}

 It looks like it then tries to use some x86-specific files, which fails.

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


More information about the macports-tickets mailing list