public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Perry Smith <pedzsan@gmail.com>
To: gdb@sourceware.org
Subject: gdb 7.3.1 and gdb 7.2 on AIX 6.1
Date: Mon, 24 Oct 2011 02:16:00 -0000	[thread overview]
Message-ID: <76FEEABF-7483-41AE-8C3E-809F91F3613B@gmail.com> (raw)

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

             reply	other threads:[~2011-10-23 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24  2:16 Perry Smith [this message]
2011-10-24 15:43 ` Tom Tromey
2011-10-24 16:07   ` Perry Smith
2011-10-24 20:03     ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76FEEABF-7483-41AE-8C3E-809F91F3613B@gmail.com \
    --to=pedzsan@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).