[MacPorts] #54372: scidavis @1.22 isn't using the right compiler
MacPorts
noreply at macports.org
Tue Jun 26 00:46:40 UTC 2018
#54372: scidavis @1.22 isn't using the right compiler
-------------------------+-------------------------
Reporter: ryandesign | Owner: NicosPavlov
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: scidavis |
-------------------------+-------------------------
Comment (by kencu):
The build still fails, despite the `cxx11` PortGroup. I'm fairly sure this
is because the link line does not specify `-stdlib` as it should:
{{{
/opt/local/bin/clang++-mp-5.0 -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-
version-min=10.8 -o scidavis.app/Contents/MacOS/scidavis
../tmp/scidavis/main.o ../tmp/scidavis/qrc_appicons.o
../tmp/scidavis/qrc_icons.o -F/opt/local/libexec/qt4/Library/Frameworks
-F/opt/local/libexec/qt4/lib -L../libscidavis -lscidavis -L/opt/local/lib
-L/opt/local/local/lib -lqwt -lqwtplot3d -lgsl -lgslcblas -lz -lmuparser
-lpython2.7 ../3rdparty/liborigin/liborigin.a -framework OpenGL -framework
AGL -F/opt/local/libexec/qt4/Library/Frameworks
-F/opt/local/libexec/qt4/lib -L/opt/local/libexec/qt4/lib -framework QtSvg
-F/opt/local/Library/Frameworks -framework QtGui -framework QtCore
-framework QtXml -framework QtOpenGL -framework QtNetwork
}}}
This could be fixed by adding the `stdlib=XXX` onto the `configure.cxx` if
the compiler is `clang`, or by digging in and figuring out why the CXX
flags are being included in the link line.
If you want any help with this, I can probably get this fixed for you.
--
Ticket URL: <https://trac.macports.org/ticket/54372#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list