public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "chris.january at allinea dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/13835] New: Build fails on SLES 10 (PPC)
Date: Mon, 12 Mar 2012 15:43:00 -0000	[thread overview]
Message-ID: <bug-13835-4717@http.sourceware.org/bugzilla/> (raw)

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

             Bug #: 13835
           Summary: Build fails on SLES 10 (PPC)
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: chris.january@allinea.com
    Classification: Unclassified


Building today's HEAD on SLES 10 SP1 (PPC970) host fails due to missing
prototypes for some yy* functions in ada-lex.c.

Target: powerpc64-suse-linux
gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)
bison (GNU Bison) 2.1

Removing -Wmissing-prototypes from WARN_CFLAGS in Makefile allows the build to
continue.

rm -f ada-exp.c ada-exp.c.tmp
/bin/sh ./../ylwrap ada-exp.y y.tab.c ada-exp.c -- bison -y  && mv ada-exp.c
ada-exp.c.tmp \
    || (rm -f ada-exp.c; false)
sed -e '/extern.*malloc/d' \
     -e '/extern.*realloc/d' \
     -e '/extern.*free/d' \
     -e '/include.*malloc.h/d' \
     -e 's/\([^x]\)malloc/\1xmalloc/g' \
     -e 's/\([^x]\)realloc/\1xrealloc/g' \
     -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
     -e 's/\([ \t;,(]\)free$/\1xfree/g' \
     -e '/^#line.*y.tab.c/d' \
     -e "s/^\(#line.*\)`basename ada-exp.y`/\1`echo ada-exp.y|sed
's/\//\\\\\//g'`/" \
  < ada-exp.c.tmp > ada-exp.c
rm -f ada-exp.c.tmp
gcc -g -O2 -mminimal-toc  -I. -I. -I./common -I./config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
-I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include
-I../libdecnumber -I./../libdecnumber  -I./gnulib -Ignulib   -DTUI=1 
-I/usr/include/python2.4 -I/usr/include/python2.4 -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wmissing-prototypes -Werror -c -o ada-exp.o -MT ada-exp.o
-MMD -MP -MF .deps/ada-exp.Tpo ada-exp.c
cc1: warnings being treated as errors
In file included from ada-exp.y:765:
ada-lex.c:2183: warning: no previous prototype for ‘yyget_in’
ada-lex.c:2191: warning: no previous prototype for ‘yyget_out’
ada-lex.c:2199: warning: no previous prototype for ‘yyget_leng’
ada-lex.c:2208: warning: no previous prototype for ‘yyget_text’
ada-lex.c:2219: warning: no previous prototype for ‘yyset_in’
ada-lex.c:2224: warning: no previous prototype for ‘yyset_out’
ada-lex.c:2229: warning: no previous prototype for ‘yyget_debug’
ada-lex.c:2234: warning: no previous prototype for ‘yyset_debug’
ada-lex.c:2240: warning: no previous prototype for ‘yylex_destroy’
make[2]: *** [ada-exp.o] Error 1
make[2]: Leaving directory `/home/cjanuary/git/gdb-sles-10sp1-ppc64/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/cjanuary/git/gdb-sles-10sp1-ppc64'
make: *** [all] Error 2

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


             reply	other threads:[~2012-03-12 15:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-12 15:43 chris.january at allinea dot com [this message]
2012-07-19 12:07 ` [Bug build/13835] " rguenther at suse dot de
2012-07-19 12:22 ` schwab@linux-m68k.org
2012-07-31 15:55 ` emachado at sourceware dot org

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=bug-13835-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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).