Date: Sat, 25 Apr 2015 16:36:48 +0200 From: Thierry Thomas <thierry@FreeBSD.org> To: Don Lewis <truckman@FreeBSD.org> Cc: jbeich@FreeBSD.org, ports-committers@FreeBSD.org, svn-ports-all@FreeBSD.org, svn-ports-head@FreeBSD.org Subject: Re: svn commit: r384676 - head/cad/kicad Message-ID: <20150425143648.GA91290@graf.pompo.net> In-Reply-To: <201504250611.t3P6B37U069425@gw.catspoiler.org> References: <618l-7yth-wny@FreeBSD.org> <201504250611.t3P6B37U069425@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--FCuugMFkClbJLl1L Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le sam 25 avr 15 =E0 8:11:03 +0200, Don Lewis <truckman@FreeBSD.org> =E9crivait=A0: > 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. >=20 > 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=3D${_GCC_RUNTIME} -L${_GCC_RUNTIME} > because of USE_GCC=3D4.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, --=20 Th. Thomas. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQJ8BAEBCgBmBQJVO6aAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdTsS8P/i2xc+CqGBp+YZ5Ti6HaVITt yn3Cg+XeGoSy58nYnvyWnrlbYc/MWw8V+pU/F9i0rjEn7M2oRZyNfzWVvdUExVnQ Se7IeeMlDZG939Rnw8PYkd+1bzWXDkVjylcI54bGToi/qyFF8lnfM5FAYiqLui7B 7kATjXwrv10/a1t4BPja3V9YGSzrMOdFWURJg9qxouJ8oFIDWMoTGbgbYUCUyZoN mcPjNPBo7BKZOF8Gy4J9Ht7GmDbFC/QWihLKCLKh8SeSUEiVW0YJ3ZuRIs50c5V1 CGKVL3v6tMECzxANzHtl1qVPorMZnbqhw+biYUN//4qAdohZEo6zVMiiN4iEprOh h9szik9VWmrGCr+ttQma988d/ryxbD7IkuU7aGAr1YAAXvhc6huqi0A+H14RPeIz ecgwnnSiKXH0VY+lAZELWzaFeWOfod3qMDyIT2MIDaQfYyU8Z9Ww5nYuBxNJMfB9 DtyfqOCNfZWO2Pc3HyhK/ZVPTqWPRPmYfHXdUZ9/hU64wFUYLS6ZkhVdkPrdIrx+ 4bBQqH3d/jF+JVn1I8ccdnLa9Q2ZOQHCFwHtx7EIERlrVIwpbkfUZ2kebkRFXAjs B8wYCEEYe9/+8RT9GPJhFUrn5N9lWgBI3hUwYs9Yl3Yk4uFCJ4d9bjqQdCdKQ0AD EoZoUl0Cq+NgN6p7mbZM =bVdy -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150425143648.GA91290>