Date: Sat, 28 Jul 2018 03:03:20 +0000 (UTC) From: Craig Leres <leres@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475486 - head/devel/xtensa-esp32-elf Message-ID: <201807280303.w6S33KlG085008@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: leres Date: Sat Jul 28 03:03:20 2018 New Revision: 475486 URL: https://svnweb.freebsd.org/changeset/ports/475486 Log: A user reported a build failure with portmaster. I was able to deduce he had lang/gcc48 installed and reproduce the build error in a poudriere jail: /usr/local/lib/gcc48/libstdc++.so.6: version CXXABI_1.3.9 required by /usr/local/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc not found He also reported that the binaries from the FreeBSD built package produced this error. The fix is explicitly set LD_RUN_PATH to the gcc lib directory. Reported by: danny@cs.huji.ac.il Reviewed by: ler (mentor) Approved by: ler (mentor) Differential Revision: https://reviews.freebsd.org/D16477 Modified: head/devel/xtensa-esp32-elf/Makefile Modified: head/devel/xtensa-esp32-elf/Makefile ============================================================================== --- head/devel/xtensa-esp32-elf/Makefile Sat Jul 28 02:54:19 2018 (r475485) +++ head/devel/xtensa-esp32-elf/Makefile Sat Jul 28 03:03:20 2018 (r475486) @@ -3,6 +3,7 @@ PORTNAME= xtensa-esp32-elf DISTVERSION= 1.22.0.g20171219 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SOURCEWARE/binutils/releases/binutils:source1 \ GNU/binutils:source1 \ @@ -62,6 +63,7 @@ TAGNAME= 1.22.0-80-g6c4433a5 GH_TUPLE= espressif:${SUBDIR}:${TAGNAME} BINARY_ALIAS= g++=${CXX} gcc=${CC} python=${PYTHON_VERSION} BUILD_ENV= CT_ALLOW_BUILD_AS_ROOT_SURE=1 \ + LD_RUN_PATH=${PREFIX}/lib/${CC} \ ${MAKE_ENV:MPATH=*} post-extract:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807280303.w6S33KlG085008>