how to get binutils gold on osx

2014-02-28 Thread Timothee Cour
I'm trying to get gold on osx;
i tried homebrew binutils but it seems to install everything except gold
I tried configure make from git head but it fails ( Bug 16644)
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/16644] ../../binutils/nm.c:1698:28: error: 'sbrk' is deprecated [-Werror,-Wdeprecated-declarations]

2014-02-28 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16644

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID
   Severity|critical|normal

--- Comment #1 from Alan Modra  ---
Not really a binutils problem.  It is your system that chooses to declare sbrk
as deprecated..  You can work around this by configuring binutils with
--disable-werror.  Configure with --enable-gold if you want gold (and it is
supported for your target).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: how to get binutils gold on osx

2014-02-28 Thread Ian Lance Taylor
Timothee Cour  writes:

> I'm trying to get gold on osx;
> i tried homebrew binutils but it seems to install everything except gold
> I tried configure make from git head but it fails ( Bug 16644)

The gold linker doesn't work on OS X or Windows.  It only supports
systems that use ELF.

Ian

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/16644] ../../binutils/nm.c:1698:28: error: 'sbrk' is deprecated [-Werror,-Wdeprecated-declarations]

2014-02-28 Thread ppluzhnikov at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16644

Paul Pluzhnikov  changed:

   What|Removed |Added

 CC||ppluzhnikov at google dot com

--- Comment #2 from Paul Pluzhnikov  ---
(In reply to Timothee Cour from comment #0)
> can't build on OSX from git head (error in subject)

As explained elsewhere, Gold is not supported on OSX:
http://lists.gnu.org/archive/html/bug-binutils/2014-02/msg00158.html
http://stackoverflow.com/a/22088116/50617

Please don't ask the same question 3 times in parallel in different channels
(and waste everyone's time giving you the same answer). Ask it once, wait a
couple of days, *then* ask it again *if* you got no answer.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils