GDB doesn't compile on GNU/Linux

Nick Roberts nickrob@snap.net.nz
Tue Nov 28 21:57:00 GMT 2006


 > > In his case, linux-thread-db.c probably didn't get rebuilt after his
 > > changes.
 > 
 > Actually, I did a complete rebuild from scratch ;-)   See the other mail
 > why it happened to work on s390-ibm-linux and s390x-ibm-linux anyway ...

Sorry, "possibly" would have been more polite than "probably"!

 > > Nothing in the Makefile seems to depend on nm-linux.h.  I probably hadn't
 > > updated this checkout since before 2006-10-19.
 > 
 > I thought the nm.h dependencies are set up automagically during configure?

My understanding of the config is quite shallow but I just noticed that when I
did a rebuild of a more recent checkout from the top-level with make (make
"CFLAGS=-g3" actually) it compiled OK.  This normally picks up any problems.


-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb-patches mailing list