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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-noreply
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: [hidden email]
          Reporter: [hidden email]
             Flags: maintainer-feedback?([hidden email])
          Assignee: [hidden email]

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.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 229597] converters/p5-Encode-Detect build error missing stdc++

bugzilla-noreply
Bugzilla Automation <[hidden email]> has asked freebsd-perl mailing list
<[hidden email]> 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.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229597

Walter Schwarzenfeld <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from Walter Schwarzenfeld <[hidden email]> ---
Version 1.01_1 with clang90 shows no errors. Could you confirm?

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-perl
To unsubscribe, send any mail to "[hidden email]"