[MacPorts] #53950: MoarVM: unrecognized command line option "-Wno-logical-op-parentheses" on 10.5/PPC
MacPorts
noreply at macports.org
Thu Aug 4 14:21:28 UTC 2022
#53950: MoarVM: unrecognized command line option "-Wno-logical-op-parentheses" on
10.5/PPC
---------------------+---------------------
Reporter: mojca | Owner: mojca
Type: defect | Status: closed
Priority: Low | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords: leopard
Port: MoarVM |
---------------------+---------------------
Comment (by barracuda156):
Replying to [comment:7 mojca]:
> I don't know if `MoarVM` is actually functional on PPC, but it compiled,
see:
> * [https://build.macports.org/builders/ports-10.5_ppc_legacy-
builder/builds/25636 MoarVM]
> * [https://build.macports.org/builders/ports-10.5_ppc_legacy-
builder/builds/25637 nqp]
> * [https://build.macports.org/builders/ports-10.5_ppc_legacy-
builder/builds/25638 rakudo]
> so I'm closing this as fixed.
For some reason, this line leads to Rosetta choosing `clang` for PPC
build, which obviously fails:
{{{
Executing: cd
"/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_MoarVM/MoarVM/work/MoarVM-2022.07"
&& /opt/local/bin/perl Configure.pl --prefix=/opt/local
--cc=/usr/bin/clang --has-dyncall --has-libatomic_ops --has-libtommath
--has-libuv --no-mimalloc
Welcome to MoarVM!
Configuring native build environment ...................
Binary file /usr/bin/clang matches
Binary file /usr/bin/clang matches
GNU tools detected, despite this not being a GNU-oriented build.
Please correct this and retry. See README.markdown for more details.
trying to compile a simple C program ............... YES
probing stdatomic .................................. NO
did not find libzstd; will not use heap snapshot format version 3
OK
probing whether your compiler thinks that it is gcc YES
probing how your compiler does static inline ....... static __inline__
probing if your compiler offers thread local storage it doesn't, so
falling back to UV's API
probing if your pow() handles NaN and Inf corner cases YES
probing if your log() returns NaN for negative values YES
probing if your log10() returns NaN for negative values YES
probing if your asin() returns NaN for negative values YES
probing if your acos() returns NaN for negative values YES
probing if you have isnan .......................... YES
probing if you have isinf .......................... YES
probing if you have signbit ........................ YES
your CPU can read unaligned values for all of int32 int64 num64
probing the size of pointers ....................... 4
JIT isn't supported on platforms with 4 byte pointers.
probing C type support for booleans ................ _Bool
probing computed goto support ...................... YES
probing pthread_yield support ...................... NO
probing pthread_setname_np support (optional) ...... NO
probing existance of optional malloc_trim() ........ NO
probing support of rdtscp intrinsic ................ NO
make: /usr/bin/make
compile: /usr/bin/clang -fno-omit-frame-pointer -fno-optimize-
sibling-calls -Werror=vla -O3 -DNDEBUG -Wno-logical-op-parentheses
-D_DARWIN_USE_64_BIT_INODE=1 -DWORDS_BIGENDIAN
-DMVM_HEAPSNAPSHOT_FORMAT=2 -pipe -Os -I/opt/local/include/libtommath
-arch ppc -isystem/opt/local/include/LegacySupport -I/opt/local/include
includes: -I/usr/local/include
link: /usr/bin/clang -O3 -DNDEBUG -Wl,-rpath,"/@libdir@"
-Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport
-arch ppc
libs: -L/usr/local/lib -ldyncall_s -ldyncallback_s -ldynload_s
-ltommath -latomic_ops -luv -lpthread
byte order: big endian
Configuring 3rdparty libs .............................. OK
3rdparty: 3rdparty/cmp/libcmp.a
3rdparty/sha1/libsha1.a
3rdparty/tinymt/libtinymt.a
Generating src/gen/config.c ............................ OK
Generating src/gen/config.h ............................ OK
Generating Makefile .................................... OK
Generating tools/check.mk .............................. OK
Generating build/mk-moar-pc.pl ......................... OK
Configuration SUCCESS.
Type '/usr/bin/make' to build and '/usr/bin/make help' to see a list of
available make targets.
---> Building MoarVM
Executing: cd
"/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_MoarVM/MoarVM/work/MoarVM-2022.07"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_MoarVM/MoarVM/work/MoarVM-2022.07'
compiling src/main.o
compiling src/core/callsite.o
clang: warning: not using the clang compiler for the 'powerpc'
architecture
compiling src/core/args.o
clang: warning: not using the clang compiler for the 'powerpc'
architecture
compiling src/core/exceptions.o
compiling src/core/interp.o
clang: warning: not using the clang compiler for the 'powerpc'
architecture
clang: warning: not using the clang compiler for the 'powerpc'
architecture
compiling src/core/str_hash_table.o
cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
clang: warning: not using the clang compiler for the 'powerpc'
architecture
cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
make: *** [src/main.o] Error 1
make: *** Waiting for unfinished jobs....
clang: warning: not using the clang compiler for the 'powerpc'
architecture
make: *** [src/core/callsite.o] Error 1
cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
make: *** [src/core/interp.o] Error 1
make: *** [src/core/exceptions.o] Error 1
make: *** [src/core/args.o] Error 1
cc1: error: -Werror=vla: No option -Wvla
cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
make: *** [src/core/str_hash_table.o] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_MoarVM/MoarVM/work/MoarVM-2022.07'
Command failed: cd
"/opt/local/var/macports/build/_opt_PPCRosettaPorts_lang_MoarVM/MoarVM/work/MoarVM-2022.07"
&& /usr/bin/make -j6 -w all
Exit code: 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53950#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list