Hi Philippe!

I cannot compile the userspace-vm in rtai/fusion for ppc. I don't need
it, dunno if someone needs its... Here's the error message:

make[1]: Entering directory
`/home/frogger/diplom/build/rtai-4.0-build-2.6-ppc/nucleus'
if powerpc-750-linux-gnu-gcc -DHAVE_CONFIG_H -I.
-I../../rtai-4.0/nucleus -I..  -g
-I/home/frogger/diplom/build/linux-2.6.9-rc1-adeos-r6c4/include -Wall
-Wstrict-prototypes -pipe -D__IN_RTAI__ -D_GNU_SOURCE -D_REENTRANT
-D__RTAI_UVM__ -I../../rtai-4.0/nucleus/../include -I../include    -MT
libnucleus_a-intr.o -MD -MP -MF ".deps/libnucleus_a-intr.Tpo" \
-c -o libnucleus_a-intr.o `test -f 'intr.c' || echo
'../../rtai-4.0/nucleus/'`intr.c; \
then mv -f ".deps/libnucleus_a-intr.Tpo" ".deps/libnucleus_a-intr.Po";
\
else rm -f ".deps/libnucleus_a-intr.Tpo"; exit 1; \
fi
{standard input}: Assembler messages:
{standard input}:585: Error: unsupported relocation against r5
{standard input}:586: Error: unsupported relocation against r5
{standard input}:586: Error: unsupported relocation against r5
{standard input}:587: Error: unsupported relocation against r5
{standard input}:615: Error: unsupported relocation against r5
{standard input}:616: Error: unsupported relocation against r5
{standard input}:616: Error: unsupported relocation against r5
{standard input}:617: Error: unsupported relocation against r5

I think there is a problem with atomic_set_mask and atomic_clear_mask:
This is the faulty assembler input:

-----------------------------------------------------------------------------
atomic_set_mask:
.LFB15:
        .loc 35 201 0
        stwu 1,-32(1)
.LCFI39:
        stw 31,28(1)
.LCFI40:
        mr 31,1
.LCFI41:
        stw 3,8(31)
        stw 4,12(31)
        .loc 35 202 0
        lwz 9,12(31)
        lwz 0,8(31)
#APP

1:      lwarx   r5,0,9                          <--- line 585
        or      r5,r5,0
        stwcx.  r5,0,9
        bne-    1b
        .loc 35 211 0
#NO_APP
        lwz 11,0(1)
        lwz 31,-4(11)
        mr 1,11
        blr
.LFE15:
        .size   atomic_set_mask, .-atomic_set_mask
        .align 2
        .type   atomic_clear_mask, @function
-----------------------------------------------------------------------------

The same in atomic_clear_mask later...

btw:
gcc version 3.3.3
GNU assembler 2.15

goodnight - marc

-- 
#!/bin/sh
set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \
shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\
echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf shgvyr!"'|$1|sh

Reply via email to