From owner-svn-ports-head@freebsd.org Sat Jul 28 03:03:21 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5855B1060D3E; Sat, 28 Jul 2018 03:03:21 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C42676800; Sat, 28 Jul 2018 03:03:21 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E08E320CBD; Sat, 28 Jul 2018 03:03:20 +0000 (UTC) (envelope-from leres@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6S33KH3085009; Sat, 28 Jul 2018 03:03:20 GMT (envelope-from leres@FreeBSD.org) Received: (from leres@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6S33KlG085008; Sat, 28 Jul 2018 03:03:20 GMT (envelope-from leres@FreeBSD.org) Message-Id: <201807280303.w6S33KlG085008@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: leres set sender to leres@FreeBSD.org using -f From: Craig Leres Date: Sat, 28 Jul 2018 03:03:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475486 - head/devel/xtensa-esp32-elf X-SVN-Group: ports-head X-SVN-Commit-Author: leres X-SVN-Commit-Paths: head/devel/xtensa-esp32-elf X-SVN-Commit-Revision: 475486 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2018 03:03:21 -0000 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: