Compilation with latest binutils (ld)

2 views
Skip to first unread message

Sylvain Beucler

unread,
May 27, 2010, 2:31:07 PM5/27/10
to gargl...@googlegroups.com
Hi,

Here's a mini-patch to fix compilation with the latest "gold" version
of binutils.

It specifies the maths library (-lm) explicitely to the linker.

The bug was reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554390
with the following comment:
"The important difference is that --no-add-needed is the default
behavior of of GNU binutils-gold."

'jacl' and 'level9' use functions that 'atan' or 'pow' and hence need
-lm.

--
Sylvain

ftbfs_binutils-gold.patch

Ben Cressey

unread,
Jun 1, 2010, 6:23:12 PM6/1/10
to be...@beuc.net, gargl...@googlegroups.com
On Thu, May 27, 2010 at 11:31 AM, Sylvain Beucler <be...@beuc.net> wrote:
Here's a mini-patch to fix compilation with the latest "gold" version
of binutils.

Thanks!  I've added this patch to the trunk.

Regards,
Ben 
Reply all
Reply to author
Forward
0 new messages