From owner-freebsd-toolchain@freebsd.org Sun Nov 27 00:02:34 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69EECC57A03 for ; Sun, 27 Nov 2016 00:02:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4068EFD0 for ; Sun, 27 Nov 2016 00:02:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uAR02XAA006009 for ; Sun, 27 Nov 2016 00:02:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 214863] lang/gcc + libc++ may fail due to spurious __cxa_throw_bad_array_new_length reference Date: Sun, 27 Nov 2016 00:02:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gerald@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc blocked flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2016 00:02:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214863 Bug ID: 214863 Summary: lang/gcc + libc++ may fail due to spurious __cxa_throw_bad_array_new_length reference Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: freebsd-toolchain@FreeBSD.org Blocks: 196712 Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org Bug 196712 regressed USES=3Dcompiler:gcc-c++11-lib ports. gcc49 or later ap= pear to have the following regression on /releng/10.1. Maybe toolchain@ has a cl= ue. $ cat a.cc int main() { // Snippet from lilypond-devel int argc =3D 5; char **argv =3D new char*[argc + 2]; return 0; } $ pkg install -y gcc libc++ $ g++49 -std=3Dc++11 -nostdinc++ -isystem /usr/local/include/c++/v1 -L/usr/local/lib/c++ a.cc /tmp//ccZYfujU.o: In function `main': a.cc:(.text+0x2b): undefined reference to `__cxa_throw_bad_array_new_leng= th' collect2: error: ld returned 1 exit status Affected ports: cad/openvsp math/ceres-solver math/saga print/lilypond-devel Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196712 [Bug 196712] exp-run: Update lang/gcc from GCC 4.8 to GCC 4.9 --=20 You are receiving this mail because: You are on the CC list for the bug.=