Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2018 01:23:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229597] converters/p5-Encode-Detect build error missing stdc++
Message-ID:  <bug-229597-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229597

            Bug ID: 229597
           Summary: converters/p5-Encode-Detect build error missing stdc++
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: perl@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
             Flags: maintainer-feedback?(perl@FreeBSD.org)
          Assignee: perl@FreeBSD.org

Created attachment 194943
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D194943&action=
=3Dedit
Replace stdc++ with c++

During build of /usr/ports/converters/p5-Encode-Detect
/usr/local/bin/ld: cannot find -lstdc++
Error code 2

Enclosed patch enables build with clang 6.0.0 on "FreeBSD 11.2-STABLE  r336=
017M
    i386 hqdev-amd64-smp-vga 1102501 1102501"

A gcc7 build will require something like=20
+     extra_linker_flags =3D> ['-L/usr/local/lib/gcc7/ -lstdc++'],

unfortunately issues with -fstack-protector-strong with arose.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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