[MacPorts] #55915: mariadb-10.2 @10.2.12: clang: error: unknown argument: '-fwhole-program'

MacPorts noreply at macports.org
Wed Feb 28 18:17:55 UTC 2018


#55915: mariadb-10.2 @10.2.12: clang: error: unknown argument: '-fwhole-program'
---------------------------+-----------------------
  Reporter:  ryandesign    |      Owner:  pixilla
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:  mavericks
      Port:  mariadb-10.2  |
---------------------------+-----------------------

Comment (by ryandesign):

 I did some more research and filed an upstream bug report:

 https://jira.mariadb.org/browse/MDEV-15435

 It appears that `-fwhole-program` is completely pointless for us. New
 versions of clang ignore it (they print a warning that the option is not
 supported), while old versions error out. We could probably just remove
 the flag.

 I'm not clear why we don't see the same error with mariadb-10.1, which
 contains the flag too. Maybe the particular subsection of the build that
 involves this flag is off by default on 10.1 but on by default on 10.2.

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


More information about the macports-tickets mailing list