chris.january at allinea dot com
2012-03-12 15:42:49 UTC
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: ***@sourceware.org
ReportedBy: ***@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
Bug #: 13835
Summary: Build fails on SLES 10 (PPC)
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: build
AssignedTo: ***@sourceware.org
ReportedBy: ***@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.
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.