Bug 11383 - bin2c cannot link because it requires libintl
Summary: bin2c cannot link because it requires libintl
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.20
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 14:01 UTC by Aymeric Vincent
Modified: 2023-01-12 06:55 UTC (History)
1 user (show)

See Also:
Host: x86_64-unknown-netbsd5.0.
Target:
Build: x86_64-unknown-netbsd5.0.
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aymeric Vincent 2010-03-16 14:01:21 UTC
Trying to compile binutils 2.20.1 fails because the bin2c utility cannot link.

The undefined symbols are clearly from libintl, so adding $(LIBINTL) to the
command line in the generated binutils/Makefile allowed me to continue the build.

I'm not sure what is the way to go here: either add $(LIBINTL) to that command
line (around line 1213 of binutils/Makefile.in), or some other magic; I'm not
familiar with the binutils sources.
Comment 1 Alan Modra 2010-03-17 07:26:32 UTC
Fixed on mainline http://sourceware.org/ml/binutils/2010-01/msg00336.html
Comment 2 Aymeric Vincent 2010-03-17 08:05:42 UTC
Subject: Re:  bin2c cannot link because it requires libintl

Ah, thanks.

Regards,
  Aymeric

On 03/17/10 08:26, amodra at gmail dot com wrote:
> ------- Additional Comments From amodra at gmail dot com  2010-03-17 07:26 -------
> Fixed on mainline http://sourceware.org/ml/binutils/2010-01/msg00336.html
>
Comment 3 Alan Modra 2023-01-12 06:55:31 UTC
I'm not sure why this one wasn't closed long ago.