> > fall apart.. I tried a build on my debian-ppc desktop with gcc-4.0.2, > > and it died with bogus assembler messages. > > > > What systems/distros/compilers are people using for development? Is > > anyone using gcc-4.X ? > > We mainly use x84/x86_64 Linux and OS X (PPC) for development. I > believe one of the developers (Josh) is testing on a fairly regular > basis with Yellow Dog Linux, but can't give any specifics. > > Can you send the assembler message? It's possible I screwed > something up again (wouldn't be the first time).
Ah.. looking at the generated .s file.. It looks like this is a 32/64 bit mixup... .file 4 "../../opal/include/sys/powerpc/atomic.h" .loc 4 245 0 stwu 1,-48(1) .LCFI35: stw 31,40(1) .LCFI36: mr 31,1 .LCFI37: stw 3,8(31) stw 5,16(31) stw 6,20(31) stw 7,24(31) stw 8,28(31) .loc 4 259 0 lwz 0,8(31) #APP ld r4,16(31) ld r5,24(31) 1: ldarx r9, 0, 0 cmpd 0, r9, r4 bne- 2f stdcx. r5, 0, 0 bne- 1b 2: xor r5,r4,r9 subfic r9,r5,0 adde 11,r9,r5