Bug 243194 - devel/binutils: enable gold on powerpc64 and powerpc
Summary: devel/binutils: enable gold on powerpc64 and powerpc
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-08 17:09 UTC by Piotr Kubaj
Modified: 2020-01-08 19:43 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments
patch (643 bytes, patch)
2020-01-08 17:09 UTC, Piotr Kubaj
no flags Details | Diff
v2 (760 bytes, patch)
2020-01-08 17:31 UTC, Piotr Kubaj
no flags Details | Diff
v3 (714 bytes, patch)
2020-01-08 17:56 UTC, Piotr Kubaj
no flags Details | Diff
v4 (709 bytes, patch)
2020-01-08 19:43 UTC, Piotr Kubaj
pkubaj: maintainer-approval? (bapt)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2020-01-08 17:09:26 UTC
Created attachment 210541 [details]
patch

ld.gold now works fine on powerpc64.
Comment 1 Piotr Kubaj freebsd_committer 2020-01-08 17:31:32 UTC
Created attachment 210542 [details]
v2

Don't add -Wno-c++11-narrowing on powerpc64 elfv1.
Comment 2 Piotr Kubaj freebsd_committer 2020-01-08 17:56:52 UTC
Created attachment 210543 [details]
v3

gold has issues with elfv1. Use it only on elfv2.
Comment 3 Piotr Kubaj freebsd_committer 2020-01-08 19:43:48 UTC
Created attachment 210544 [details]
v4

Enable gold also on powerpc, seems to work. Base GCC can't build it so make it clang-only.