This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GDB version of libbfd.a links to libintl.a incorrectly


I have been building cygwin, and after a reinstall of the complete 
toolkit, I have run into problems rebuilding.  Only dumper.exe had 
problems.

I have resolved it, sort of.  In the process of linking dumper.exe, 
libbfd.a gets brought in, and it brings in _dcgettext from libintl.a.  
Or rather that's what it should bring in.  In fact it brings in 
_dcgettext__, which used to be the internal name which was aliased to 
_dcgettext__.  (note for pedents, I am playing fast and loose with the 
fact that the leading _ is an artifact of the compiler the standard C 
calling convention)

The resolution is that libbfd.a is included in both the gdb-20010428-3 
and binutils-20021117-1 packages.  The gdb version of libbfd.a wrongly 
imports _dcgettext__, and the binutils version correctly imports 
_dcgettext.

By reinstalling the binutils package, and overwriting the gdb version 
of libbfd.a, problem solved.


----------------+-------------------------------------------------
Craig McGeachie | #include <cheesy_tag.h>
+64(21)037-6917 | while (!inebriated) c2h5oh=(++bottle)->contents;
----------------+-------------------------------------------------



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]