Received: by mail.netbsd.org (Postfix, from userid 605) id 7B38B84D33; Mon, 20 Jul 2020 02:14:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0485284D31 for ; Mon, 20 Jul 2020 02:14:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id dHrjpH01kdo7 for ; Mon, 20 Jul 2020 02:14:10 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 4BFB684C8B for ; Mon, 20 Jul 2020 02:14:10 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4598AFB28; Mon, 20 Jul 2020 02:14:10 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1595211250292500" MIME-Version: 1.0 Date: Mon, 20 Jul 2020 02:14:10 +0000 From: "Tobias Nygren" Subject: CVS commit: pkgsrc/cross/xtensa-esp32-elf-gcc To: pkgsrc-changes@NetBSD.org Reply-To: tnn@netbsd.org X-Mailer: log_accum Message-Id: <20200720021410.4598AFB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1595211250292500 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: tnn Date: Mon Jul 20 02:14:10 UTC 2020 Modified Files: pkgsrc/cross/xtensa-esp32-elf-gcc: Makefile Log Message: xtensa-esp32-elf-gcc: fix C++ relocation issue Build C++ support libraries with -mlongcalls. Avoids "call8: call target out of range: malloc" error when linking some esp-idf projects that use C++. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/cross/xtensa-esp32-elf-gcc/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1595211250292500 Content-Disposition: inline Content-Length: 1284 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/cross/xtensa-esp32-elf-gcc/Makefile diff -u pkgsrc/cross/xtensa-esp32-elf-gcc/Makefile:1.5 pkgsrc/cross/xtensa-esp32-elf-gcc/Makefile:1.6 --- pkgsrc/cross/xtensa-esp32-elf-gcc/Makefile:1.5 Sat Jul 11 09:05:13 2020 +++ pkgsrc/cross/xtensa-esp32-elf-gcc/Makefile Mon Jul 20 02:14:10 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2020/07/11 09:05:13 tnn Exp $ +# $NetBSD: Makefile,v 1.6 2020/07/20 02:14:10 tnn Exp $ # We could use the upstream GCC distfile, but Espressif has important vendor # patches in their branch and it seems not worth the maintenance overhead to @@ -9,7 +9,7 @@ #EXTRACT_SUFX= .tar.xz DISTNAME= espressif-gcc-8.2.0 -PKGREVISION= 2 +PKGREVISION= 3 PKGNAME= ${DISTNAME:C/.*gcc/xtensa-esp32-elf-gcc/} CATEGORIES= cross MASTER_SITES= ${MASTER_SITE_GITHUB:=espressif/} @@ -58,7 +58,7 @@ CONFIGURE_ARGS+= --disable-nls CONFIGURE_ARGS+= --disable-libstdcxx-pch CONFIGURE_ARGS+= --disable-libstdcxx-verbose CONFIGURE_ARGS+= --disable-__cxa_atexit -CONFIGURE_ARGS+= --enable-cxx-flags="-fno-rtti -ffunction-sections" +CONFIGURE_ARGS+= --enable-cxx-flags="-fno-rtti -ffunction-sections -mlongcalls" CONFIGURE_ARGS+= --enable-target-optspace CONFIGURE_ARGS+= --disable-libquadmath CONFIGURE_ARGS+= --disable-libssp --_----------=_1595211250292500--