This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: nls patches - need help with make machinery


On Sat, 3 Jun 2000, Philipp Thomas wrote:
> I'm just now running a bootstrap for testing my patches. Robert, Richard,
> would you be willing to test the patches before I check them in?

I hope these patches fix the following problem(s) as well? In addition, I
suggest to address those tons of warnings in that code; right now, it's
even hard to find the errors.

Currently both Linux and FreeBSD are broken on ia32. :-(

---- Seen on i486-suse-linux (SuSE 6.4), bootstrapping with GCC 2.95.2
In file included from /cvs/gcc/gcc/intl/localealias.c:73:
/cvs/gcc/gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
/cvs/gcc/gcc/intl/localealias.c: In function `_nl_expand_alias':
/cvs/gcc/gcc/intl/localealias.c:172: warning: implicit declaration of function `bsearch'
/cvs/gcc/gcc/intl/localealias.c: In function `read_alias_file':
/cvs/gcc/gcc/intl/localealias.c:258: warning: pointer targets in passing arg 1 of `fgets' differ in signedness
/cvs/gcc/gcc/intl/localealias.c:264: warning: pointer targets in passing arg 1 of `index' differ in signedness
/cvs/gcc/gcc/intl/localealias.c:317: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
/cvs/gcc/gcc/intl/localealias.c:318: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
/cvs/gcc/gcc/intl/localealias.c:326: warning: implicit declaration of function `realloc'
/cvs/gcc/gcc/intl/localealias.c:337: void value not ignored as it ought to be
/cvs/gcc/gcc/intl/localealias.c:341: void value not ignored as it ought to be
/cvs/gcc/gcc/intl/localealias.c:355: warning: implicit declaration of function `qsort'
/cvs/gcc/gcc/intl/localealias.c: In function `extend_alias_table':
/cvs/gcc/gcc/intl/localealias.c:370: warning: function `realloc' was previously declared within a block
make[4]: *** [localealias.o] Error 1
make[4]: Leaving directory `/tmp/OBJ-0406-00:50/gcc/intl' (cd po && make --jobs=1 all)
make[4]: Entering directory `/tmp/OBJ-0406-00:50/gcc/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/OBJ-0406-00:50/gcc/po'
make[3]: Leaving directory `/tmp/OBJ-0406-00:50/gcc'
rm -f obstack.c
ln -s /cvs/gcc/gcc/../libiberty/obstack.c obstack.c
gcc -c  -DIN_GCC    -g  -W -Wall -Wtraditional -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-DHAVE_CONFIG_H    -I. -I/cvs/gcc/gcc -I/cvs/gcc/gcc/config
-I/cvs/gcc/gcc/../include obstack.c
gcc  -DIN_GCC    -g  -W -Wall -Wtraditional -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-DHAVE_CONFIG_H  -o cpp cppmain.o \
intl.o libcpp.a obstack.o   ./intl/libintl.a     ../libiberty/libiberty.a
gcc: ./intl/libintl.a: No such file or directory
make[2]: *** [cpp] Error 1
make[2]: Leaving directory `/tmp/OBJ-0406-00:50/gcc'

---- Seen on FreeBSD 3.4
In file included from /sw/test/gcc/gcc/gcc/intl/bindtextdom.c:47:
/sw/test/gcc/gcc/gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
/sw/test/gcc/gcc/gcc/intl/bindtextdom.c: In function `bindtextdomain__':
/sw/test/gcc/gcc/gcc/intl/bindtextdom.c:121: warning: implicit declaration of function `malloc'
/sw/test/gcc/gcc/gcc/intl/bindtextdom.c:142: warning: function `malloc' was previously declared within a block
gcc -c -DLOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DGNULOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/test/gcc/FreeBSD/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I/sw/test/gcc/gcc/gcc/intl -I/sw/test/gcc/gcc/gcc/lib  -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  /sw/test/gcc/gcc/gcc/intl/dcgettext.c
/sw/test/gcc/gcc/gcc/intl/dcgettext.c:52: warning: function declaration isn't a prototype
/sw/test/gcc/gcc/gcc/intl/dcgettext.c:56: warning: function declaration isn't a prototype
In file included from /sw/test/gcc/gcc/gcc/intl/dcgettext.c:79:
/sw/test/gcc/gcc/gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
In file included from /sw/test/gcc/gcc/gcc/intl/dcgettext.c:85:
/sw/test/gcc/gcc/gcc/intl/hash-string.h:38: warning: ANSI does not permit the keyword `inline'
/sw/test/gcc/gcc/gcc/intl/dcgettext.c:99: warning: function declaration isn't a prototype
/sw/test/gcc/gcc/gcc/intl/dcgettext.c: In function `guess_category_value':
/sw/test/gcc/gcc/gcc/intl/dcgettext.c:545: warning: unused parameter `category'
gcc -c -DLOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DGNULOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/test/gcc/FreeBSD/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I/sw/test/gcc/gcc/gcc/intl -I/sw/test/gcc/gcc/gcc/lib  -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  /sw/test/gcc/gcc/gcc/intl/dgettext.c
gcc -c -DLOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DGNULOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/test/gcc/FreeBSD/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I/sw/test/gcc/gcc/gcc/intl -I/sw/test/gcc/gcc/gcc/lib  -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  /sw/test/gcc/gcc/gcc/intl/gettext.c
gcc -c -DLOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DGNULOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/test/gcc/FreeBSD/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I/sw/test/gcc/gcc/gcc/intl -I/sw/test/gcc/gcc/gcc/lib  -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  /sw/test/gcc/gcc/gcc/intl/finddomain.c
/sw/test/gcc/gcc/gcc/intl/finddomain.c:34: warning: function declaration isn't a prototype
In file included from /sw/test/gcc/gcc/gcc/intl/finddomain.c:57:
/sw/test/gcc/gcc/gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
/sw/test/gcc/gcc/gcc/intl/finddomain.c: In function `_nl_find_domain':
/sw/test/gcc/gcc/gcc/intl/finddomain.c:152: warning: implicit declaration of function `malloc'
gcc -c -DLOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DGNULOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/test/gcc/FreeBSD/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I/sw/test/gcc/gcc/gcc/intl -I/sw/test/gcc/gcc/gcc/lib  -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  /sw/test/gcc/gcc/gcc/intl/loadmsgcat.c
In file included from /sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:39:
/sw/test/gcc/gcc/gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c: In function `_nl_load_domain':
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:98: warning: implicit declaration of function `close'
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:124: warning: implicit declaration of function `malloc'
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:132: warning: implicit declaration of function `read'
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:135: warning: function `close' was previously declared within a block
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:144: warning: function `close' was previously declared within a block
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:149: warning: integer constant is unsigned in ANSI C, signed with -traditional
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:149: warning: integer constant is unsigned in ANSI C, signed with -traditional
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:158: warning: implicit declaration of function `free'
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:163: warning: function `malloc' was previously declared within a block
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:174: warning: integer constant is unsigned in ANSI C, signed with -traditional
/sw/test/gcc/gcc/gcc/intl/loadmsgcat.c:197: warning: function `free' was previously declared within a block
gcc -c -DLOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DGNULOCALEDIR=\"/sw/test/gcc/FreeBSD/share/locale\" -DLOCALE_ALIAS_PATH=\"/sw/test/gcc/FreeBSD/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I/sw/test/gcc/gcc/gcc/intl -I/sw/test/gcc/gcc/gcc/lib  -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  /sw/test/gcc/gcc/gcc/intl/localealias.c
/sw/test/gcc/gcc/gcc/intl/localealias.c:47: warning: function declaration isn't a prototype
/sw/test/gcc/gcc/gcc/intl/localealias.c:51: warning: function declaration isn't a prototype
In file included from /sw/test/gcc/gcc/gcc/intl/localealias.c:73:
/sw/test/gcc/gcc/gcc/intl/gettextP.h:49: warning: ANSI does not permit the keyword `inline'
/sw/test/gcc/gcc/gcc/intl/localealias.c: In function `_nl_expand_alias':
/sw/test/gcc/gcc/gcc/intl/localealias.c:172: warning: implicit declaration of function `bsearch'
/sw/test/gcc/gcc/gcc/intl/localealias.c: In function `read_alias_file':
/sw/test/gcc/gcc/gcc/intl/localealias.c:258: warning: pointer targets in passing arg 1 of `fgets' differ in signedness
/sw/test/gcc/gcc/gcc/intl/localealias.c:264: warning: pointer targets in passing arg 1 of `index' differ in signedness
/sw/test/gcc/gcc/gcc/intl/localealias.c:317: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
/sw/test/gcc/gcc/gcc/intl/localealias.c:318: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
/sw/test/gcc/gcc/gcc/intl/localealias.c:326: warning: implicit declaration of function `realloc'
/sw/test/gcc/gcc/gcc/intl/localealias.c:337: void value not ignored as it ought to be
/sw/test/gcc/gcc/gcc/intl/localealias.c:341: void value not ignored as it ought to be
/sw/test/gcc/gcc/gcc/intl/localealias.c:355: warning: implicit declaration of function `qsort'
/sw/test/gcc/gcc/gcc/intl/localealias.c: In function `extend_alias_table':
/sw/test/gcc/gcc/gcc/intl/localealias.c:370: warning: function `realloc' was previously declared within a block
gmake[4]: *** [localealias.o] Error 1
gmake[4]: Leaving directory `/files/pfeifer/OBJ-0306-23:39/gcc/intl'
(cd po && gmake all)
gmake[4]: Entering directory `/files/pfeifer/OBJ-0306-23:39/gcc/po'
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory `/files/pfeifer/OBJ-0306-23:39/gcc/po'
gmake[3]: Leaving directory `/files/pfeifer/OBJ-0306-23:39/gcc'
rm -f obstack.c
ln -s /sw/test/gcc/gcc/gcc/../libiberty/obstack.c obstack.c
gcc -c  -DIN_GCC    -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H    -I. -I/sw/test/gcc/gcc/gcc -I/sw/test/gcc/gcc/gcc/config -I/sw/test/gcc/gcc/gcc/../include obstack.c
gcc  -DIN_GCC    -g  -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long  -DHAVE_CONFIG_H  -o cpp cppmain.o \
intl.o libcpp.a obstack.o   ./intl/libintl.a     ../libiberty/libiberty.a
gcc: ./intl/libintl.a: No such file or directory
gmake[2]: *** [cpp] Error 1
gmake[2]: Leaving directory `/files/pfeifer/OBJ-0306-23:39/gcc'


Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



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