[Bug 229597] converters/p5-Encode-Detect build error missing stdc++

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 8 01:23:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229597

            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 at FreeBSD.org
          Reporter: dewayne at heuristicsystems.com.au
             Flags: maintainer-feedback?(perl at FreeBSD.org)
          Assignee: perl at FreeBSD.org

Created attachment 194943
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194943&action=edit
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  r336017M
    i386 hqdev-amd64-smp-vga 1102501 1102501"

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

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

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


More information about the freebsd-ports-bugs mailing list