maintainer-feedback requested: [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:43 UTC 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-perl mailing list
<perl at FreeBSD.org> for maintainer-feedback:
Bug 229597: converters/p5-Encode-Detect build error missing stdc++
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229597



--- Description ---
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.


More information about the freebsd-perl mailing list