Build failure after recent checkins

Mike Frysinger vapier at gentoo.org
Mon Nov 28 06:39:14 UTC 2005


On Sun, Nov 27, 2005 at 11:52:49PM +0100, Peter S. Mazinger wrote:
> On Sun, 27 Nov 2005, Jan-Benedict Glaw wrote:
> 
> > 12537 worked for me, 12544 doesn't:
> > 
> > [...]
> > vax-linux-uclibc-gcc -c libc/string/stpcpy.c -o libc/string/stpcpy.o -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -fno-builtin -nostdinc -D_LIBC -I./include -I. -Os -funit-at-a-time -isystem /home/jbglaw/vax-linux/scm/build-20051127-143504-vax-linux-uclibc/install/usr/lib/gcc/vax-linux-uclibc/4.2.0/include -DNDEBUG
> > In file included from libc/string/stpcpy.c:10:
> > libc/string/wstring.c:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> > libc/string/wstring.c:76: warning: type defaults to 'int' in declaration of 'wchar_t'
> > libc/string/wstring.c:76: error: expected ';', ',' or ')' before '*' token
> > libc/string/wstring.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> > libc/string/wstring.c:79: warning: type defaults to 'int' in declaration of 'wchar_t'
> > libc/string/wstring.c:79: error: expected ';', ',' or ')' before '*' token
> > libc/string/wstring.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
> > make: *** [libc/string/stpcpy.o] Error 1
> > 
> > My cross-gcc is an up-to-date 4.2.0 snapshot. This looks like being a
> > problem with the recent hiding work.
> 
> I didn't even know that 4.1 is out

it isnt yet

> well try to move attribute_hidden 
> around in the line and see where it is accepted. If the current syntax 
> fails, then not even glibc can be built.

personally i'm not too worried about trying to suport such mainline
stuff ... if you want to use gcc-4.2.x, then post a patch to fix the
issue rather than making us try to track down what may be a bug in
the compiler itself.
-mike



More information about the uClibc mailing list