This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Vendor compiler problems and Results for 5.0.93 -nx gdb testsuite on i586-sco-sysv5uw7.1.0
- To: rbrown64 at csc dot com dot au
- Subject: Re: Vendor compiler problems and Results for 5.0.93 -nx gdb testsuite on i586-sco-sysv5uw7.1.0
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 12 Nov 2001 11:23:50 -0500
- Cc: gdb at sources dot redhat dot com
- References: <OFD4951A50.C6855A41-ONCA256B02.0028EE33@int.csc.com.au>
> Building with the vendor compiler on systems where it doesn't provide alloca will
> fail. libiberty provides C_alloca, but it looks like libiberty/regex.c and libiberty/putenv.c
> don't include libiberty.h to alias alloca to C_alloca.
> Including libiberty.h in libiberty/regex.c compiles ok (Should try again with gcc though).
> gdb/gnu-regex.c doesn't seem to include defs.h (which includes libiberty.h) so
> the aliasing doesn't happen. Explicitly including defs.h gives a redefinition of
> boolean
Hmm, devo no longer has gdb/gnu-regex.c so if this problem is there it
will be in a different form. Have you tried just including libiberty?
Does it build using GCC?
Andrew