[TH] parted i gcc-4.2.0-5.i486

Bartosz Świątek shadzik w gmail.com
Pon, 4 Cze 2007, 14:42:21 CEST


2007/6/4, Arkadiusz Patyk <areq w pld-linux.org>:
> Hej
>
>
> Revision 1.142  2007/05/18 19:47:03  qboosh
> - glibc 2.6 headers support gcc 4.2, -fgnu89-inline no longer needed
>
> ale, u mnie kończy się:
>
>  i486-pld-linux-gcc -std=gnu99 -I. -I../lib -I../lib -I../include
> -pipe -Os -march=i486 -falign-loops=0 -falign-jumps=0
> -falign-functions=0 -mno-align-double -Werror -MT constraint.lo -MD
> -MP -MF .deps/constraint.Tpo -c cs/constraint.c -o constraint.o
> >/dev/null 2>&1
> mv -f .deps/constraint.Tpo .deps/constraint.Plo
> /bin/sh ../libtool --tag=CC   --mode=compile i486-pld-linux-gcc
> -std=gnu99  -I. -I../lib -I../lib -I../include     -pipe -Os
> -march=i486 -falign-loops=0 -falign-jumps=0 -falign-functions=0
> -mno-align-double -Werror -MT natmath.lo -MD -MP -MF .deps/natmath.Tpo
> -c -o natmath.lo `test -f 'cs/natmath.c' || echo './'`cs/natmath.c
>  i486-pld-linux-gcc -std=gnu99 -I. -I../lib -I../lib -I../include
> -pipe -Os -march=i486 -falign-loops=0 -falign-jumps=0
> -falign-functions=0 -mno-align-double -Werror -MT natmath.lo -MD -MP
> -MF .deps/natmath.Tpo -c cs/natmath.c  -fPIC -DPIC -o .libs/natmath.o
> cc1: warnings being treated as errors
> cs/natmath.c:80: warning: C99 inline functions are not supported;
> using GNU89
> cs/natmath.c:80: warning: to disable this warning use -fgnu89-inline
> or the gnu_inline function attribute
> cs/natmath.c:86: warning: C99 inline functions are not supported;
> using GNU89
> make[2]: *** [natmath.lo] Error 1
> make[2]: Leaving directory
> `/home/areq/rpm/BUILD/parted-1.8.7/libparted'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/areq/rpm/BUILD/parted-1.8.7/libparted'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /home/areq/tmp/rpm-tmp.9052 (%build)
>
> cały log:
> http://areq.th-i486.pld.areq.eu.org/problemy/parted.spec.log
>

Wyłącz -Werror, wtedy zdaje się traktuje warningi jak errory, a z tym
inlinem to tylko warning.


Więcej informacji o liście dyskusyjnej pld-devel-pl