Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [Head/5.3] Build failure on powerpc-aix-4.3.2
@ 2002-11-03 11:09 Joel Brobecker
  2002-11-08 19:53 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2002-11-03 11:09 UTC (permalink / raw)
  To: gdb-patches

GDB fails to build aix-thread.c on our AiX 4.3.2 machine. I think this
is because aix-thread.c expects lib pthread debug version 2 or 3, while
we have lib pthread debug version 1 only installed on our 4.3.2 machine.

By contrast, we have version 3 installed on our AiX 5.1 machine.

The comment at the begining of aix-thread.c says that it should work on
4.3+ systems... Has anybody been able to build it on a 4.3.2 machine?
Does anybody have something else than version 1 of the pthread debug
library installed on a 4.3+ system? If you have something else than
version 1, you should see something like this in
/usr/include/sys/pthdebug.h:

     /* The pthread debug library version number.  This is used to maintain
      * binary compatibility.  The initial release of the pthread debug
      * library in AIX 4.3.2, represented by PTHDB_VERSION_1, was a
      * technology only release and binary compatibility with it is not
      * guaranteed.  It is kept in this file for historical perspective
      * only.
      */
     #define PTHDB_VERSION_1 0xa1c432
     #define PTHDB_VERSION_2 0xa1c433
     #define PTHDB_VERSION_3 0xa1c434

Thanks,
-- 
Joel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Head/5.3] Build failure on powerpc-aix-4.3.2
  2002-11-03 11:09 [Head/5.3] Build failure on powerpc-aix-4.3.2 Joel Brobecker
@ 2002-11-08 19:53 ` Andrew Cagney
  2002-11-09 11:57   ` Joel Brobecker
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2002-11-08 19:53 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

> GDB fails to build aix-thread.c on our AiX 4.3.2 machine. I think this
> is because aix-thread.c expects lib pthread debug version 2 or 3, while
> we have lib pthread debug version 1 only installed on our 4.3.2 machine.
> 
> By contrast, we have version 3 installed on our AiX 5.1 machine.
> 
> The comment at the begining of aix-thread.c says that it should work on
> 4.3+ systems... Has anybody been able to build it on a 4.3.2 machine?
> Does anybody have something else than version 1 of the pthread debug
> library installed on a 4.3+ system? If you have something else than
> version 1, you should see something like this in
> /usr/include/sys/pthdebug.h:
> 
>      /* The pthread debug library version number.  This is used to maintain
>       * binary compatibility.  The initial release of the pthread debug
>       * library in AIX 4.3.2, represented by PTHDB_VERSION_1, was a
>       * technology only release and binary compatibility with it is not
>       * guaranteed.  It is kept in this file for historical perspective
>       * only.
>       */
>      #define PTHDB_VERSION_1 0xa1c432
>      #define PTHDB_VERSION_2 0xa1c433
>      #define PTHDB_VERSION_3 0xa1c434

Check the bug database (including closed).  I know that people have 
reported problems.  Eg:

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gdb&pr=344

Andrew



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Head/5.3] Build failure on powerpc-aix-4.3.2
  2002-11-08 19:53 ` Andrew Cagney
@ 2002-11-09 11:57   ` Joel Brobecker
  2002-11-11 17:15     ` Kevin Buettner
  0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2002-11-09 11:57 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches

> Check the bug database (including closed).  I know that people have
> reported problems.  Eg:

Thanks for the tip. I checked the database, and could not find this
problem reported there. I would open a new PR, but wanted to make sure
that the the pthread debug library version 1 is the only version
available on 4.3.2...

Thinking more about it, though, I am realizing that we should probably
add a configure test that deactivates this code if we detect that the
thread debug library is too ancient... Thoughts?

-- 
Joel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Head/5.3] Build failure on powerpc-aix-4.3.2
  2002-11-09 11:57   ` Joel Brobecker
@ 2002-11-11 17:15     ` Kevin Buettner
  0 siblings, 0 replies; 4+ messages in thread
From: Kevin Buettner @ 2002-11-11 17:15 UTC (permalink / raw)
  To: Joel Brobecker, Andrew Cagney; +Cc: gdb-patches

On Nov 9, 12:00pm, Joel Brobecker wrote:

> Thinking more about it, though, I am realizing that we should probably
> add a configure test that deactivates this code if we detect that the
> thread debug library is too ancient... Thoughts?

Yes, that sounds right to me.

Kevin


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-11 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-03 11:09 [Head/5.3] Build failure on powerpc-aix-4.3.2 Joel Brobecker
2002-11-08 19:53 ` Andrew Cagney
2002-11-09 11:57   ` Joel Brobecker
2002-11-11 17:15     ` Kevin Buettner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox