On Wed, 2012-07-11 08:44:33 +0200, Steven Bosscher <stevenb....@gmail.com> wrote: > On Wed, Jul 11, 2012 at 7:49 AM, Jan-Benedict Glaw <jbg...@lug-owl.de> wrote: > > Hi! > > > > Git revision 4a020a8 [aka. SVN 189359], the large header reordering patch, > > broke m68k-linux (.../configure --target=m68k-linux --prefix=... > > --enable-languages=c --disable-threads) for me: > > > > [...] > > gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall > > -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes > > -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno > > -long-long -Wno-variadic-macros -Wno-overlength-strings > > -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. > > -I../../../../gcc/gcc -I../../../../gcc/gcc/. > > -I../../../../gcc/gcc/../include -I../../../../gcc/gcc/../libcpp/include > > -I../../../../gcc/gcc/../libdecnumber > > -I../../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber > > ../../../../gcc/gcc/resource.c -o resource.o > > ../../../../gcc/gcc/resource.c: In function ‘init_resource_info’: > > ../../../../gcc/gcc/resource.c:1179:5: error: ‘current_function_decl’ > > undeclared (first use in this function) > > ../../../../gcc/gcc/resource.c:1179:5: note: each undeclared identifier is > > reported only once for each function it appears in > > make[2]: *** [resource.o] Error 1 [...] > Did your build already include > http://gcc.gnu.org/ml/gcc-patches/2012-07/msg00378.html ?
No, this was fixed parallel to my observation. With an almost identical patch:) Thanks for the work! MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: Alles sollte so einfach wie möglich gemacht sein. the second : Aber nicht einfacher. (Einstein)
signature.asc
Description: Digital signature