public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13121] New: GDB HEAD 2011-08-23 does not build on AIX 5.3 without --enable-werror=no
@ 2011-08-23  9:52 chris.january at allinea dot com
  2011-08-23 14:38 ` [Bug build/13121] " chris.january at allinea dot com
  0 siblings, 1 reply; 2+ messages in thread
From: chris.january at allinea dot com @ 2011-08-23  9:52 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13121

             Bug #: 13121
           Summary: GDB HEAD 2011-08-23 does not build on AIX 5.3 without
                    --enable-werror=no
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: chris.january@allinea.com
    Classification: Unclassified


Without passing --enable-werror=no to configure the build fails here:

make[4]: Entering directory
`/home/cjanuary/code/patches/tarball/build-gdb-cvs-aix-53-ppc64/bfd'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../src/bfd -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE 
-DAIX_WEAK_SUPPORT -I. -I../../src/bfd -I../../src/bfd/../include 
-DHAVE_rs6000coff_vec -DHAVE_aix5coff64_vec -I./../intl
-DBINDIR='"/usr/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wshadow -Werror -g -O2 -MT reloc.lo -MD -MP -MF .deps/reloc.Tpo -c -o reloc.lo
../../src/bfd/reloc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -DAIX_5_CORE
-DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -I../../src/bfd
-I../../src/bfd/../include -DHAVE_rs6000coff_vec -DHAVE_aix5coff64_vec
-I./../intl -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Werror -g -O2 -MT reloc.lo -MD -MP -MF
.deps/reloc.Tpo -c ../../src/bfd/reloc.c -o reloc.o
cc1: warnings being treated as errors
../../src/bfd/reloc.c: In function 'bfd_generic_lookup_section_flags':
../../src/bfd/reloc.c:6127: warning: declaration of 'finfo' shadows a global
declaration
/usr/include/unistd.h:937: warning: shadowed declaration is here
make[4]: *** [reloc.lo] Error 1

The line in unistd.h:

        extern int      ffinfo(int, int, void *, int32long64_t);

and the line in reloc.c:

void
bfd_generic_lookup_section_flags (struct bfd_link_info *info ATTRIBUTE_UNUSED,
                                  struct flag_info *finfo)

Obviously this warning can be ignored. Either configure needs to suppress the
warning or not enable -Werror on AIX.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug build/13121] GDB HEAD 2011-08-23 does not build on AIX 5.3 without --enable-werror=no
  2011-08-23  9:52 [Bug build/13121] New: GDB HEAD 2011-08-23 does not build on AIX 5.3 without --enable-werror=no chris.january at allinea dot com
@ 2011-08-23 14:38 ` chris.january at allinea dot com
  0 siblings, 0 replies; 2+ messages in thread
From: chris.january at allinea dot com @ 2011-08-23 14:38 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13121

Christopher January <chris.january at allinea dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc-ibm-aix5.3.0.0
               Host|                            |powerpc-ibm-aix5.3.0.0
              Build|                            |powerpc-ibm-aix5.3.0.0

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-23  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-23  9:52 [Bug build/13121] New: GDB HEAD 2011-08-23 does not build on AIX 5.3 without --enable-werror=no chris.january at allinea dot com
2011-08-23 14:38 ` [Bug build/13121] " chris.january at allinea dot com

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).