svn commit: r384163 - head/databases/tora

Jan Beich jbeich at FreeBSD.org
Fri Apr 17 20:47:06 UTC 2015


Dmitry Marakasov <amdmi3 at FreeBSD.org> writes:

> Log:
>   - Fix build on 10.x and 11.x
[...]
> +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 36
> +USE_GCC=	yes
> +.endif

Did you test runtime? USE_GCC almost never works for 10+ systems with
C++ ports if any of the dependencies link against libc++. base r233749
tried to address that[1] but haven't been ported to lang/gcc*.

  $ tora
  Segmentation fault

  $ ldd -a =tora | awk '/:/ { s=$0; next } /\+\+/ { print s; print }'
  /usr/local/bin/tora:
          libstdc++.so.6 => /usr/local/lib/gcc48/libstdc++.so.6 (0x297f3000)
  /usr/local/lib/qt4/libQtCore.so.4:
          libc++.so.1 => /usr/lib/libc++.so.1 (0x29e6f000)
  /usr/local/lib/qt4/libQtGui.so.4:
          libc++.so.1 => /usr/lib/libc++.so.1 (0x29e6f000)
  /usr/local/lib/qt4/libQtSql.so.4:
          libc++.so.1 => /usr/lib/libc++.so.1 (0x29e6f000)
  /usr/local/lib/qt4/libQtNetwork.so.4:
          libc++.so.1 => /usr/lib/libc++.so.1 (0x29e6f000)
  /usr/local/lib/qt4/libQtXml.so.4:
          libc++.so.1 => /usr/lib/libc++.so.1 (0x29e6f000)
  /usr/local/lib/qt4/libqscintilla2.so.11:
          libc++.so.1 => /usr/lib/libc++.so.1 (0x29e6f000)

Try USES=compiler:gcc-c++11-lib instead.

[1] https://wiki.freebsd.org/NewC++Stack#Mixing_Libraries_using_Libc.2B-.2B-_and_Libstdc.2B-.2B-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150417/a350d3c2/attachment.sig>


More information about the svn-ports-all mailing list