svn commit: r475486 - head/devel/xtensa-esp32-elf
Craig Leres
leres at FreeBSD.org
Sat Jul 28 03:03:21 UTC 2018
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 at 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:
More information about the svn-ports-all
mailing list