This is the mail archive of the gdb@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]

Re: Vendor compiler problems and Results for 5.0.93 -nx gdb testsuite on i586-sco-sysv5uw7.1.0


> 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



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