Bug 19246 - undefined reference to `dgettext'
Summary: undefined reference to `dgettext'
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.27
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-14 04:05 UTC by Stephen Fisher
Modified: 2015-11-14 04:11 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Fisher 2015-11-14 04:05:15 UTC
When building binutils (or just the "all-gas" target) checked out from Git, I get the following errors.  I'm building with gmake (GNU make 4.1) on NetBSD/i386 6.1.5.

gcc: unrecognized option '-static-libstdc++'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_errmsg':
/net/u/6/s/sfisher/binutils-gdb/bfd/bfd.c:557: undefined reference to `dgettext'
/net/u/6/s/sfisher/binutils-gdb/bfd/bfd.c:543: undefined reference to `dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_assert':
/net/u/6/s/sfisher/binutils-gdb/bfd/bfd.c:1081: undefined reference to `dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `_bfd_abort':
/net/u/6/s/sfisher/binutils-gdb/bfd/bfd.c:1093: undefined reference to `dgettext'
/net/u/6/s/sfisher/binutils-gdb/bfd/bfd.c:1099: undefined reference to `dgettext'
../bfd/.libs/libbfd.a(bfd.o):/net/u/6/s/sfisher/binutils-gdb/bfd/bfd.c:1097: more undefined references to `dgettext' follow
Makefile:769: recipe for target 'as-new' failed
Comment 1 Stephen Fisher 2015-11-14 04:11:20 UTC
Passing --disable-nls to the top-level configure script does allow the build to finish.  I wouldn't expect a problem though because this host does have dgettext according to the man pages.