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

MacPorts noreply at macports.org
Wed Feb 28 17:42:06 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:
 Keywords:  mavericks   |       Port:  mariadb-10.2
 mariadb-10.2 fails to build on Mavericks because its version of clang
 (`Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)`) is too
 old to understand the `-fwhole-program` flag that mariadb's build system


 I'm not sure when this flag was introduced into clang but the build
 succeeds on Yosemite with its clang (`Apple LLVM version 7.0.2

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

More information about the macports-tickets mailing list