Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2016 00:02:33 +0000
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
Message-ID:  <bug-214863-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214863-29464>