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]

Vendor compiler problems and Results for 5.0.93 -nx gdb testsuite oni586-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
cc -c -g    -I. -I../../gdb-5.0.93/gdb -I../../gdb-5.0.93/gdb/config -DHAVE_CONFIG_H -I../../gdb-5.0.93/gdb/../include/opcode \
 -I../../gdb-5.0.93/gdb/../readline/.. -I../bfd -I../../gdb-5.0.93/gdb/../bfd  -I../../gdb-5.0.93/gdb/../include -I../intl \
 -I../../gdb-5.0.93/gdb/../intl  -DMI_OUT=1 -DUI_OUT=1   ../../gdb-5.0.93/gdb/gnu-regex.c
UX:acomp: WARNING: "../../gdb-5.0.93/gdb/../include/ansidecl.h", line 114: macro redefined: PARAMS
UX:acomp: WARNING: "../../gdb-5.0.93/gdb/gnu-regex.c", line 350: macro redefined: STREQ
UX:acomp: ERROR: "../../gdb-5.0.93/gdb/gnu-regex.c", line 357: identifier redeclared: boolean

cc -g         -o gdb \
main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o m
i-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd
-disas.o mi-main.o mi-parse.o mi-getopt.o    ../bfd/libbfd.a ../readline/libread
line.a ../opcodes/libopcodes.a ./../intl/libintl.a ../libiberty/libiberty.a -lte
rmlib -lsocket -lnsl    -lm -lsocket  ../libiberty/libiberty.a \

Undefined                       first referenced
 symbol                             in file
alloca                              libgdb.a(gnu-regex.o)
UX:ld: ERROR: gdb: fatal error: Symbol referencing errors. No output written to
gdb
make[1]: *** [gdb] Error 1
make[1]: Leaving directory `/devel/src/gdb-5.0.93.vendor/gdb'

Apologies, I should have tried this earlier.

Also, unfortunately, it seems that the UnixWare 7 triplet should revert from
`i586-sco-sysv5uw7.1.0' to `i686-unknown-sysv5UnixWare7.1.0'  which is
what the current master config.guess gives. Too late to import the master
for 5.1 I guess.


Built using gcc version 2.95.2 19991024 (release)

Native configuration is i586-sco-sysv5uw7.1.0

          === gdb tests ===


Running target unix
FAIL: gdb.base/callfuncs.exp: p t_float_values(3.14159,-2.3765)
FAIL: gdb.base/callfuncs.exp: p t_float_values(float_val1,float_val2)
FAIL: gdb.base/callfuncs.exp: p t_float_values(3.14159,float_val2)
FAIL: gdb.base/callfuncs.exp: p t_float_values(float_val1,-2.3765)
FAIL: gdb.base/callfuncs.exp: p t_float_values2(3.14159,float_val2)
FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns float
FAIL: gdb.base/callfuncs.exp: call inferior func with struct - returns double
FAIL: gdb.base/callfwmall.exp: p t_float_values(3.14159,-2.3765)
FAIL: gdb.base/callfwmall.exp: p t_float_values(float_val1,float_val2)
FAIL: gdb.base/callfwmall.exp: p t_float_values(3.14159,float_val2)
FAIL: gdb.base/callfwmall.exp: p t_float_values(float_val1,-2.3765)
FAIL: gdb.base/callfwmall.exp: p t_float_values2(3.14159,float_val2)
FAIL: gdb.base/callfwmall.exp: call inferior func with struct - returns float
FAIL: gdb.base/callfwmall.exp: call inferior func with struct - returns double
FAIL: gdb.base/commands.exp: continue with watch
XPASS: gdb.base/constvars.exp: ptype qux1
XPASS: gdb.base/constvars.exp: ptype laconic
XPASS: gdb.base/constvars.exp: ptype laggard
XPASS: gdb.base/constvars.exp: ptype lampoon
XPASS: gdb.base/constvars.exp: ptype languid
XPASS: gdb.base/constvars.exp: ptype legend
XPASS: gdb.base/constvars.exp: ptype legerdemain
XPASS: gdb.base/constvars.exp: ptype lethargic
XPASS: gdb.base/constvars.exp: ptype levity
XPASS: gdb.base/constvars.exp: ptype lewd
XPASS: gdb.base/constvars.exp: ptype lexicographer
XPASS: gdb.base/constvars.exp: ptype libertine
XPASS: gdb.base/constvars.exp: ptype libidinous
XPASS: gdb.base/constvars.exp: ptype languish
XPASS: gdb.base/constvars.exp: ptype languor
XPASS: gdb.base/constvars.exp: ptype lascivious
XPASS: gdb.base/constvars.exp: ptype lassitude
XPASS: gdb.base/constvars.exp: ptype lamprey
XPASS: gdb.base/constvars.exp: ptype lariat
XPASS: gdb.base/constvars.exp: ptype lissome
XPASS: gdb.base/constvars.exp: ptype locust
FAIL: gdb.base/default.exp: info float
FAIL: gdb.base/finish.exp: finish from float_func
FAIL: gdb.base/finish.exp: finish from double_func
FAIL: gdb.base/interrupt.exp: call function when asleep (stays asleep)
XPASS: gdb.base/maint.exp: maint info breakpoints
FAIL: gdb.base/recurse.exp: first instance watchpoint deleted when leaving scope
FAIL: gdb.base/return2.exp: float value returned successfully
FAIL: gdb.base/return2.exp: double value returned successfully
FAIL: gdb.base/selftest.exp: backtrace through signal handler
FAIL: gdb.base/signals.exp: 'next' behaved as 'continue (known SVR4 bug)'
FAIL: gdb.base/varargs.exp: print find_max_double(5,1.0,17.0,2.0,3.0,4.0)
XPASS: gdb.base/volatile.exp: ptype vox
XPASS: gdb.base/volatile.exp: ptype victuals
XPASS: gdb.base/volatile.exp: ptype vixen
XPASS: gdb.base/volatile.exp: ptype vellum
XPASS: gdb.base/volatile.exp: ptype vacuity
XPASS: gdb.base/volatile.exp: ptype vertigo
XPASS: gdb.base/volatile.exp: ptype vampire
XPASS: gdb.base/volatile.exp: ptype viper
XPASS: gdb.base/volatile.exp: ptype vocation
XPASS: gdb.base/volatile.exp: ptype veracity
XPASS: gdb.base/volatile.exp: ptype vapidity
XPASS: gdb.base/volatile.exp: ptype velocity
XPASS: gdb.base/volatile.exp: ptype vitality
XPASS: gdb.base/volatile.exp: ptype voracity
XPASS: gdb.base/volatile.exp: ptype victor
XPASS: gdb.base/volatile.exp: ptype vicar
XPASS: gdb.base/volatile.exp: ptype victory
XPASS: gdb.base/volatile.exp: ptype vicarage
XPASS: gdb.base/volatile.exp: ptype vein
XPASS: gdb.base/volatile.exp: ptype vogue
XPASS: gdb.base/volatile.exp: ptype cavern
XPASS: gdb.base/volatile.exp: ptype coverlet
XPASS: gdb.base/volatile.exp: ptype caveat
XPASS: gdb.base/volatile.exp: ptype covenant
XPASS: gdb.base/volatile.exp: ptype vizier
XPASS: gdb.base/volatile.exp: ptype vanadium
XPASS: gdb.base/volatile.exp: ptype vane
XPASS: gdb.base/volatile.exp: ptype veldt
XPASS: gdb.base/volatile.exp: ptype cove
XPASS: gdb.base/volatile.exp: ptype cavity
XPASS: gdb.base/volatile.exp: ptype vagus
XPASS: gdb.base/volatile.exp: ptype vagrancy
XPASS: gdb.base/volatile.exp: ptype vagary
XPASS: gdb.base/volatile.exp: ptype vendor
FAIL: gdb.c++/annota2.exp: watch triggered on a.x
FAIL: gdb.c++/annota2.exp: annotate-quit (timeout)
FAIL: gdb.c++/classes.exp: base class (&param)->a
FAIL: gdb.c++/classes.exp: base class (&param)->x
FAIL: gdb.c++/classes.exp: inherited class (&param)->a
FAIL: gdb.c++/classes.exp: inherited class (&param)->x
FAIL: gdb.c++/cplusfuncs.exp: info function for "operator*("
FAIL: gdb.c++/cplusfuncs.exp: info function for "operator*=("
FAIL: gdb.c++/cplusfuncs.exp: info function for "operator->*("
FAIL: gdb.c++/cplusfuncs.exp: info function for "operator[]("
FAIL: gdb.c++/cplusfuncs.exp: info function for "operator char *("
FAIL: gdb.c++/demangle.exp: gnu:
__thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator
XPASS: gdb.c++/derivation.exp: print value of g_instance.afoo()
XPASS: gdb.c++/derivation.exp: print value of g_instance.bfoo()
XPASS: gdb.c++/derivation.exp: print value of g_instance.cfoo()
XPASS: gdb.c++/local.exp: ptype Local
FAIL: gdb.c++/method.exp: print this (in foo)
FAIL: gdb.c++/method.exp: print this (in bar)
FAIL: gdb.c++/method.exp: print this in getfunky
FAIL: gdb.c++/namespace.exp: info func xyzq
FAIL: gdb.c++/namespace.exp: print 'BBB::Class'::xyzq
XPASS: gdb.c++/overload.exp: print call overloaded func 1 arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 2 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 3 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 4 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 5 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 6 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 7 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 8 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 9 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 10 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func 11 args (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func void arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func char arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func signed char arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func unsigned char arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func int arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func unsigned int arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func float arg (PRMS CLLbs16901)
XPASS: gdb.c++/overload.exp: print call overloaded func double arg (PRMS CLLbs16901)
FAIL: gdb.c++/ovldbreak.exp: continue to bp overloaded : char
FAIL: gdb.c++/ovldbreak.exp: continue to bp overloaded : signed char
FAIL: gdb.c++/ovldbreak.exp: continue to bp overloaded : unsigned char
FAIL: gdb.c++/ovldbreak.exp: continue to bp overloaded : short
FAIL: gdb.c++/ovldbreak.exp: continue to bp overloaded : unsigned short
FAIL: gdb.c++/templates.exp: print Foo<volatile char *>::foo
FAIL: gdb.c++/templates.exp: print Garply<Garply<char> >::garply
XPASS: gdb.c++/virtfunc.exp: print pAa->f()
XPASS: gdb.c++/virtfunc.exp: print pDd->vg()
XPASS: gdb.c++/virtfunc.exp: print pVB->vvb()
FAIL: gdb.mi/mi-break.exp: insert temp breakpoint at "<fullfilename>":6 (callee4)
FAIL: gdb.mi/mi-console.exp: Hello message (known bug)
FAIL: gdb.mi/mi-simplerun.exp: insert breakpoint at "<fullfilename>":6 (callee4)
FAIL: gdb.mi/mi-simplerun.exp: continue to end (1)
FAIL: gdb.mi/mi-var-child.exp: get children of struct_declarations
FAIL: gdb.mi/mi-var-child.exp: get children of struct_declarations.s2.u2.u1s1
FAIL: gdb.mi/mi-var-child.exp: get children of struct_declarations.s2.u2.u1s2
FAIL: gdb.mi/mi-var-child.exp: create local variable weird
FAIL: gdb.mi/mi-var-child.exp: get children of weird
FAIL: gdb.mi/mi-var-cmd.exp: create local variable lpcharacter
FAIL: gdb.mi/mi-var-cmd.exp: update all vars: linteger changed

          === gdb Summary ===

# of expected passes          6662
# of unexpected failures 60
# of unexpected successes     82
# of expected failures        122
# of untested testcases       1
/devel/src/gdb-5.0.93.obj/gdb/testsuite/../../gdb/gdb version  5.0.93 -nx


Compiler version: 5.0.93 -nx gdb
Platform: i586-sco-sysv5uw7.1.0
configure flags: --host=i586-sco-sysv5uw7.1.0
Counting all warnings,
there are 82 warnings in stage0 of this bootstrap.

Number of warnings per file:
46 libiberty/md5.c
8 libiberty/regex.c
8 include/sys/byteorder.h
8 ../../gdb-5.0.93/gdb/defs.h
2 libiberty/getopt.c
2 include/sys/file.h
2 ../../gdb-5.0.93/bfd/archures.c
1 p-exp.y
1 ../../gdb-5.0.93/gdb/tracepoint.c
1 ../../gdb-5.0.93/gdb/procfs.c
1 ../../gdb-5.0.93/gdb/proc-api.c
1 ../../gdb-5.0.93/bfd/cofflink.c
1 ../../gdb-5.0.93/bfd/coffgen.c

Number of warning types:
49 integer constant is unsigned in ANSI C, signed with -traditional
8 this is the location of the previous definition
8 \`???' redefined
4 implicit declaration of function \`???'
4 \`???' declared \`static' but never defined
3 unused parameter \`???'
2 comparison between signed and unsigned
2 \`???' within comment
2 \`???' might be used uninitialized in this function


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