Bug 165771

Summary: Fix devel/binutils build with clang, after gold was enabled
Product: Ports & Packages Reporter: Dimitry Andric <dim>
Component: Individual Port(s)Assignee: Martin Matuska <mm>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dimitry Andric freebsd_committer freebsd_triage 2012-03-06 10:30:13 UTC
After ports/165406, gold got enabled in the devel/binutils ports.
Unfortunately, gold does not cleanly compile with clang, neither the
3.0 release in the base system, nor top-of-trunk clang.

Here is a set of patch files to make gold compile with clang.

Fix: Patch attached with submission follows:
How-To-Repeat: CC=clang CXX=clang++ CPP=clang-cpp make -C /usr/ports/devel/binutils
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-06 10:30:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2012-09-04 07:40:10 UTC
State Changed
From-To: open->closed

Fixed in r303529. Thanks!