This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

gdb 7.3.1 and gdb 7.2 on AIX 6.1


I'm trying to compile gdb 7.3.1 on AIX 6.1 using gcc 4.5.2.

The end of the make dies with:

> /gsa/ausgsa/projects/r/ruby/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/work/src/gdb-7.2/bfd -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE  -DAIX_WEAK_SUPPORT -I. -I/usr/work/src/gdb-7.2/bfd -I/usr/work/src/gdb-7.2/bfd/../include  -DHAVE_rs6000coff_vec -DHAVE_aix5coff64_vec  -DBINDIR='"/gsa/ausgsa/projects/r/ruby/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bfd.lo -MD -MP -MF .deps/bfd.Tpo -c -o bfd.lo /usr/work/src/gdb-7.2/bfd/bfd.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/work/src/gdb-7.2/bfd -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -I/usr/work/src/gdb-7.2/bfd -I/usr/work/src/gdb-7.2/bfd/../include -DHAVE_rs6000coff_vec -DHAVE_aix5coff64_vec -DBINDIR=\"/gsa/ausgsa/projects/r/ruby/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bfd.lo -MD -MP -MF .deps/bfd.Tpo -c /usr/work/src/gdb-7.2/bfd/bfd.c -o bfd.o
> cc1: warnings being treated as errors
> /usr/work/src/gdb-7.2/bfd/bfd.c: In function '_bfd_default_error_handler':
> /usr/work/src/gdb-7.2/bfd/bfd.c:710:3: error: value computed is not used
> make[4]: *** [bfd.lo] Error 1

The same error happens with 7.3.1 and 7.2 (the above snippet is from 7.2).

Searching the web did not hit anything connected to gdb.  The curious thing is that I compiled gdb 7.2 using a previous gcc of 4.2.4.

I notice the message "warnings being treated as errors" which might explain why, looking at the code, I don't see the problem.

Any suggestions of what is wrong?

Thank you,
pedz


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