svn commit: r384676 - head/cad/kicad

Thierry Thomas thierry at FreeBSD.org
Sat Apr 25 14:36:53 UTC 2015


Le sam 25 avr 15 à  8:11:03 +0200, Don Lewis <truckman at FreeBSD.org>
 écrivait :

> I also noticed that brokenness in the Makefile, but I think libc++ isn't
> getting linked in because of the presence of -nostdinc++ and the lack of
> -lc++.  I think the three lines above should go away.
> 
> The linker error seems to indicate that the linker is trying to link
> against libstdc++ in base instead of the one bundled with the gcc port.
> The likely cause is that the port is ignoring LDFLAGS, which contains
> 	-Wl,-rpath=${_GCC_RUNTIME} -L${_GCC_RUNTIME}
> because of USE_GCC=4.7.

When the default Gcc was upgraded from 4.7 to 4.8, all concerned ports
were OK, but this one failed!

This is a work-around to keep it usable. Patches are welcome if you find
a better solution!

Note: there are different ways to build it successfully (e.g.
compiler:c++11-lib is sufficient), but then it does not run correctly.

Best regards,
-- 
Th. Thomas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150425/a9622577/attachment.sig>


More information about the svn-ports-all mailing list