Quantcast

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

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
#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:
 Keywords:  leopard  |       Port:  MoarVM
---------------------+--------------------
 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.

--
Ticket URL: <https://trac.macports.org/ticket/53950>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
#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  |
---------------------+---------------------

Comment (by drennanelawar):

 I have this same error on Snow Leopard. I think it is trying to use
 /usr/bin/make (3.8.1) and not the version that MacPorts has installed
 (4.2.1).


 {{{
 Command failed:  cd
 "/Volumes/DEV0/var/macports/build/_Volumes_DEV0_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_MoarVM/MoarVM/work/MoarVM-2017.03"
 && /usr/bin/make -j7 -w all
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53950#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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  |
---------------------+---------------------

Comment (by mojca):

 Please try
 {{{
 sudo port build MoarVM configure.compiler=clang
 }}}

 I suspect that gcc on Mac is either too old or at least not properly
 supported/tested.

 This must be new after I fixed #53944. I'll blacklist some compilers.

--
Ticket URL: <https://trac.macports.org/ticket/53950#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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  |
---------------------+---------------------

Comment (by drennanelawar):

 That did the trick. Thank you!

--
Ticket URL: <https://trac.macports.org/ticket/53950#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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  |
---------------------+---------------------

Comment (by mojca):

 In [changeset:"71e35c1157c3fe055d7772b63f0633114f772f90/macports-ports"
 71e35c1157c3fe055d7772b63f0633114f772f90/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="71e35c1157c3fe055d7772b63f0633114f772f90"
 MoarVM: blacklist Apple's GCC

 See: https://trac.macports.org/ticket/53950
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53950#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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  |
---------------------+---------------------

Comment (by mojca):

 In [changeset:"e1c281ddbc16cba264cb5df1a7ea559750cb278f/macports-ports"
 e1c281ddbc16cba264cb5df1a7ea559750cb278f/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="e1c281ddbc16cba264cb5df1a7ea559750cb278f"
 MoarVM: blacklist clang on PPC

 See: https://trac.macports.org/ticket/53950
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53950#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

MacPorts
In reply to this post by MacPorts
#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  |
---------------------+---------------------
Changes (by mojca):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 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.

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