Opened 6 years ago
Last modified 6 years ago
#56523 new defect
modglue @1.19 fails to build against libsigcxx2 @2.10.0
Reported by: | jmroot (Joshua Root) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dbevans (David B. Evans), Schamschula (Marius Schamschula) | |
Port: | modglue |
Description
Log from buildbot attached.
Attachments (1)
Change History (4)
Changed 6 years ago by jmroot (Joshua Root)
comment:1 Changed 6 years ago by kencu (Ken)
comment:2 Changed 6 years ago by kencu (Ken)
The clang in Xcode 10:
$ /usr/bin/clang --version Apple LLVM version 10.0.0 (clang-1000.11.45.2) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
does not build this, however, so I guess it still is defaulting to the old c++ standard.
comment:3 Changed 6 years ago by Schamschula (Marius Schamschula)
Cc: | Schamschula added |
---|
Note: See
TracTickets for help on using
tickets.
One trivial way to "fix" it is to force it to build with
clang-7.0
:clang-7.0
defaults to c++17 I believe, and so takes all the c++11 needs in stride without any changes in the portfile or the port. To fix it correctly I believe getting-std=c++11
onto the build and link lines would do the trick. Should also add the -stdlib=${configure.cxx_stdlib} while we're at it, along with all the other CXX flags.This sounds like a two-day project for me, or two minutes for Ryan :>