Ralf Wildenhues wrote:
> This seems to work fine on AIX with this patch. Thanks!
Thanks for testing. I've now applied the patch.
Bruno
* Bruno Haible wrote on Sun, Jan 17, 2010 at 09:19:33PM CET:
> 2010-01-17 Bruno Haible
>
> Avoid a link error due to the __printf__ symbol.
> * lib/stdio.in.h (__attribute__): Define to empty also for gcc 2.5.x
> and 2.6.x.
> (__format__, __printf__): Remove definitions.
Ralf Wildenhues wrote:
> It comes from test-select.o:
> $ nm -B test-select.o | grep print
> - U .__printf__
> static void
> failed (const char *reason)
> {
> if (++failures > 1)
> __printf__ (" ");
> __printf__ ("failed (%s)\n", reason);
> }
This is as expected.
> $ nm -B ../gl
* Bruno Haible wrote on Sun, Jan 17, 2010 at 07:34:49PM CET:
> Ralf Wildenhues wrote:
> > I'm seeing this on AIX 5.3:
> >
> > /tmp/gl/build-aux/compile cc -qlanglvl=extc89 -qlanglvl=extc99 -g
> > -o test-select test-select.o ../gllib/libgnu.a -lm
> > ld: 0711-317 ERROR: Undefined s
Ralf Wildenhues wrote:
> I'm seeing this on AIX 5.3:
>
> /tmp/gl/build-aux/compile cc -qlanglvl=extc89 -qlanglvl=extc99 -g
> -o test-select test-select.o ../gllib/libgnu.a -lm
> ld: 0711-317 ERROR: Undefined symbol: .__printf__
> ld: 0711-345 Use the -bloadmap or -bnoquiet option t