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

Arkadiusz Patyk areq w pld-linux.org
Pon, 4 Cze 2007, 14:50:35 CEST


On Mon, 4 Jun 2007 14:42:21 +0200, you wrote:

>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.

--- parted.spec 18 May 2007 19:47:03 -0000      1.142
+++ parted.spec 4 Jun 2007 12:49:43 -0000
@@ -145,6 +145,7 @@
 %{__autoconf}
 %{__automake}
 %configure \
+       --disable-Werror \
        %{!?with_readline:--without-readline} \
        %{?with_readline:--with-readline} \
        %{!?with_nls:--disable-nls} \

i sie buduje, ale czy to napewno jest właściwe rozwiązanie problemu i
comitować ?
-- 
Arkadiusz Patyk [areq<>pld-linux:org] [http://rescuecd.pld-linux.org/]
[IRC:areq skype:arekpatyk  GG:1383 jid:arek<>patyk:net]


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