bfd/archive64.c is always compiled even for 32-bit targets that don't need it.
configure sets bfd_libs to either bfd_libs='$(BFD64_LIBS) $(BFD32_LIBS)' or bfd_libs='$(BFD32_LIBS)' and that's propagated to the bfd/Makefile as BFD_LIBS = @bfd_libs@ but this make variable seems unused. I'm not very familair with automake, but I think that instead libbfd_la_SOURCES = $(BFD32_LIBS_CFILES) $(BFD64_LIBS_CFILES) (where BFD64_LIBS_CFILES = archive64.c) is used to determine which files to compile, and so archive64.c is always picked up. Found this with 2.16.1 and confirmed on HEAD. This bug has been about since automake'ification, I guess. -- Summary: bfd/archive64.c is compiled unconditionally even for 32- bit targets Product: binutils Version: unspecified Status: NEW Severity: minor Priority: P3 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: uwe at NetBSD dot org CC: bug-binutils at gnu dot org GCC build triplet: i386--netbsdelf GCC host triplet: i386--netbsdelf GCC target triplet: i386--netbsdelf http://sourceware.org/bugzilla/show_bug.cgi?id=3631 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils