On Friday 20 February 2009 15:26:27, Newman, Marc K. (JSC-OD)[BOEING] wrote:
> I had some trouble compiling gdb 6.8 with gcc (2.95/3.2.2/4.0.2) on a Dec OSF 
> 4.0f system.  I was able to get around this by turning of -Werror in the 
> makefile, but when I try running "make check" it immediately fails with an 
> error on test-demangle.  Here is the error:

I'm confused.  If you're just trying to build GDB, why are you
running "make check" ?

> make[3]: Entering directory `/users/mknewman/gdb-6.8/libiberty/testsuite'
> ./test-demangle < ../.././libiberty/testsuite/demangle-expected
> make[3]: *** [check-cplus-dem] Segmentation fault (core dumped)
> make[3]: Leaving directory `/users/mknewman/gdb-6.8/libiberty/testsuite'
> make[2]: *** [check-subdir] Error 2
> make[2]: Leaving directory `/users/mknewman/gdb-6.8/libiberty'
> make[1]: *** [check-libiberty] Error 2
> make[1]: Leaving directory `/users/mknewman/gdb-6.8'
> make: *** [do-check] Error 2

libiberty is maintained by the gcc folks, you'll have
to report this there.  Could even be a compiler bug.

> Does anyone have hints on getting gdb (any version) to work on a Dec?

If you want to test gdb, you can run "make -k check" so the testing
keeps going to other components, or "make check-gdb", or just
cd into the gdb build dir, and issue "make check" there.

-- 
Pedro Alves


_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to