On Mon, Feb 28, 2005 at 09:41:56AM +0100, Andreas Jochens wrote:
> Package: pfe
> Severity: normal
> Tags: patch
> 
> When building 'pfe' on amd64 with gcc-4.0,
> I get the following error:
> 
> ../../../pfe/core-ext.c:2692: error: invalid lvalue in increment
> ../../../pfe/core-ext.c:2692: warning: value computed is not used
> ../../../pfe/core-ext.c: In function 'p4_value_RT_SEE':
> ../../../pfe/core-ext.c:2748: warning: pointer targets in passing argument 2 
> of '__builtin_strncat' differ in signedness
> ../../../pfe/core-ext.c: In function 'p4_value_':
> ../../../pfe/core-ext.c:2770: error: invalid lvalue in increment
> ../../../pfe/core-ext.c:2770: warning: value computed is not used
> ../../../pfe/core-ext.c:2771: error: invalid lvalue in increment
> ../../../pfe/core-ext.c:2771: warning: value computed is not used
> ../../../pfe/core-ext.c: At top level:
> ../../../pfe/core-ext.c:2773: warning: pointer targets in initialization 
> differ in signedness
> make[4]: *** [core-ext.lo] Error 1
> make[4]: Leaving directory `/pfe-0.33.34/Release/x86_64-unknown-linux-gnu/pfe'
> 
> With the attached patch 'pfe' can be compiled
> on amd64 using gcc-4.0.

I was going to NMU at Stephen's request, but this fails to build on
powerpc/gcc-3.4:

if /bin/sh ./libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. 
-I../../../pfe/..             -I. -I../../../pfe -I.  -DNDEBUG -O1        -Wall 
-fno-writable-strings -Wwrite-strings -Wstrict-prototypes  -fomit-frame-pointer 
-D_OMIT_FRAME_POINTER  -MT core-ext.lo -MD -MP -MF ".deps/core-ext.Tpo" \
  -c -o core-ext.lo `test -f '../../../pfe/core-ext.c' || echo 
'../../../pfe/'`../../../pfe/core-ext.c; \
then mv -f ".deps/core-ext.Tpo" ".deps/core-ext.Plo"; \
else rm -f ".deps/core-ext.Tpo"; exit 1; \
fi
../../../pfe/core-ext.c: In function `p4_dot_quote_execution_':
../../../pfe/core-ext.c:277: error: address of global register variable `p4IP' 
requested
../../../pfe/core-ext.c: In function `p4_to_r_execution_':
../../../pfe/core-ext.c:624: error: address of global register variable `p4RP' 
requested
../../../pfe/core-ext.c: In function `p4_do_execution_':
../../../pfe/core-ext.c:929: error: address of global register variable `p4SP' 
requested
../../../pfe/core-ext.c: In function `p4_literal_execution_':
../../../pfe/core-ext.c:1447: error: address of global register variable `p4IP' 
requested
../../../pfe/core-ext.c: In function `p4_postpone_execution_':
../../../pfe/core-ext.c:1604: error: address of global register variable `p4IP' 
requested
../../../pfe/core-ext.c:1604: warning: left-hand operand of comma expression 
has no effect
../../../pfe/core-ext.c: In function `p4_s_quote_execution_':
../../../pfe/core-ext.c:1775: error: address of global register variable `p4IP' 
requested
../../../pfe/core-ext.c: In function `p4_two_to_r_execution_':
../../../pfe/core-ext.c:2172: error: address of global register variable `p4RP' 
requested
../../../pfe/core-ext.c:2173: error: address of global register variable `p4RP' 
requested
../../../pfe/core-ext.c:2174: error: address of global register variable `p4SP' 
requested
../../../pfe/core-ext.c: In function `p4_two_r_from_execution_':
../../../pfe/core-ext.c:2201: error: address of global register variable `p4SP' 
requested
../../../pfe/core-ext.c:2202: error: address of global register variable `p4RP' 
requested
../../../pfe/core-ext.c:2203: error: address of global register variable `p4RP' 
requested
../../../pfe/core-ext.c: In function `p4_c_quote_execution_':
../../../pfe/core-ext.c:2341: error: address of global register variable `p4IP' 
requested
../../../pfe/core-ext.c: In function `p4_c_quote_':
../../../pfe/core-ext.c:2366: error: address of global register variable `p4SP' 
requested
../../../pfe/core-ext.c: In function `p4_parse_':
../../../pfe/core-ext.c:2560: error: address of global register variable `p4SP' 
requested
../../../pfe/core-ext.c: In function `p4_parse_word_':
../../../pfe/core-ext.c:2580: error: address of global register variable `p4SP' 
requested
make[4]: *** [core-ext.lo] Error 1
make[4]: Leaving directory 
`/home/cjwatson/src/debian/nmu/pfe/pfe-0.33.34/Release/powerpc-unknown-linux-gnu/pfe'

Any idea what's going on?

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to