This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Re: [RFA] fix AIX builds


AIX builds are failing because CONFIG_LDFLAGS is getting set to
-lpthdebug which results in the library being linked before all the
object files.  The library needs to be after the object files and
CONFIG_LDFLAGS is for flags not libraries. This patch basically reverts
a previous one from a few months ago. There might be a better way to do
this but this seems to work OK for me.

2003-02-19 Martin M. Hunt <hunt at redhat dot com>

	* configure.in: Don't set CONFIG_LDFLAGS to -lpthdebug.
	* config/powerpc/aix432.mh (NAT_CLIBS): Set to -lpthdebug.



This is configure, approval isn't needed. How quickly you commit something depends on how lucky you feel. Do you feel lucky? :-)


+# pthread debugging support
+NAT_CLIBS = -lpthdebug

Given it reverts something, you'll want to add comments explaining why it didn't work the other way.


Andrew



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