[MacPorts] #53950: MoarVM: unrecognized command line option "-Wno-logical-op-parentheses" on 10.5/PPC

MacPorts noreply at macports.org
Wed Apr 12 19:39:03 UTC 2017


#53950: MoarVM: unrecognized command line option "-Wno-logical-op-parentheses" on
10.5/PPC
---------------------+---------------------
  Reporter:  mojca   |      Owner:  mojca
      Type:  defect  |     Status:  new
  Priority:  Low     |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  leopard
      Port:  MoarVM  |
---------------------+---------------------
Description changed by mojca:

Old description:

> Compilation of MoarVM fails on 10.5/PPC, most likely due to a too old
> compiler.
>
> See [https://build.macports.org/builders/ports-10.5_ppc_legacy-
> builder/builds/25316/steps/install-port/logs/stdio build logs]:
> {{{
> make: Entering directory
> `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_MoarVM/MoarVM/work/MoarVM-2017.03'
> compiling src/main.o
> compiling src/core/callsite.o
> cc1: error: unrecognized command line option "-Wno-logical-op-
> parentheses"
> cc1: error: unrecognized command line option "-Wno-logical-op-
> parentheses"
> }}}
>
> It's not yet clear whether PPC is even theoretically supported and this
> has super low priority in case it's fixable at all. I just wanted to mark
> it somewhere, so that we can take a closer look at some point. In case
> PPC is not supported, the Portfile should at least say so.

New description:

 Compilation of MoarVM fails on 10.5/PPC (and after fixing #53944 also on
 10.6) due to a too old compiler.

 See [https://build.macports.org/builders/ports-10.5_ppc_legacy-
 builder/builds/25316/steps/install-port/logs/stdio build logs]:
 {{{
 make: Entering directory
 `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_lang_MoarVM/MoarVM/work/MoarVM-2017.03'
 compiling src/main.o
 compiling src/core/callsite.o
 cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
 cc1: error: unrecognized command line option "-Wno-logical-op-parentheses"
 }}}

 It's not yet clear whether PPC is even theoretically supported and this
 has super low priority in case it's fixable at all. I just wanted to mark
 it somewhere, so that we can take a closer look at some point. In case PPC
 is not supported, the Portfile should at least say so.

 After blacklisting the old apple's gcc in
 [changeset:"71e35c1157c3fe055d7772b63f0633114f772f90/macports-ports"
 71e35c11/macports-ports] there are new problems when compiling with
 `macports-clang-3.4` as seen in the
 [https://build.macports.org/builders/ports-10.5_ppc_legacy-
 builder/builds/25635 build log]:
 {{{
 /opt/local/include/atomic_ops/sysdeps/gcc/powerpc.h:84:5: error: invalid
 operand in inline asm: 'lwz${1:U}${1:X} $0,$1
 cmpw $0,$0
 bne- 1f
 1: isync
 '
     "lwz%U1%X1 %0,%1\n"
     ^
 /opt/local/include/atomic_ops/sysdeps/gcc/powerpc.h:84:5: error: invalid
 operand in inline asm: 'lwz${1:U}${1:X} $0,$1
 cmpw $0,$0
 bne- 1f
 1: isync
 '
 }}}

--

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


More information about the macports-tickets mailing list