In message <[email protected]> John Tytgat <[email protected]> wrote:
> In message <[email protected]> > Simon Wilson <[email protected]> wrote: > > > When building gnash with the autobuilder, there is a failure when a patch is > > applied to the file 'glib-2.0.pc.in'. The patch file is 'pcre.p'. [snippity] > The Autobuilder does several actions to convince packages to properly > build using the cross-compiler instead of the native compiler (e.g. use > configure's --build and --host options, setting up CC/CC_FOR_BUILD/HOST_CC, > etc; see gcc4/porting-scripts for details). But some packages are still > not quite following the accepted ways to be cross-compilable and that's > also the reason of several patches in our Autobuilder for those packages. This is one of those packages where the maintainer has done something a bit odd (probably through honest ignorance), and there isn't an obvious fix. Anyway, it was due to a mix of native vs cross dynamic linking, and I put in a work around for this, and some of the immediate build problems. I try to keep stuff up to date, but I'm in the middle of moving right now. If nothing else, usually it's far faster for me to fix it, than anyone who isn't intimately familir with cross building setups. For a more tenable problem, perhaps someone would like to have a go at this one: /home/riscos/cross/bin/arm-unknown-riscos-gcc -DHAVE_CONFIG_H -I. -I.. -isystem /home/riscos/env/include -Wall -fvisibility=hidden -MT libpixman_arm_simd_la-pixman-arm-simd.lo -MD -MP -MF .deps/libpixman_arm_simd_la-pixman-arm-simd.Tpo -c pixman-arm-simd.c -fPIC -DPIC -o .libs/libpixman_arm_simd_la-pixman-arm-simd.o pixman-arm-simd.c: In function 'fbCompositeSrc_8888x8888arm': pixman-arm-simd.c:134: error: PIC register 'r7' clobbered in 'asm' pixman-arm-simd.c: In function 'fbCompositeSrc_8888x8x8888arm': pixman-arm-simd.c:228: error: PIC register 'r7' clobbered in 'asm' pixman-arm-simd.c: In function 'fbCompositeSolidMask_nx8x8888arm': pixman-arm-simd.c:342: error: PIC register 'r7' clobbered in 'asm' It's using some custom ARM assembler, so this error isn't very surprising, but it'll need to be rewritten without this clobber. The package is libpixman-1-0 -- Peter Naulls - [email protected] | http://www.chocky.org/ ---------------------------------------------------------------------------- RISC OS Community Wiki - add your own content | http://www.riscos.info/ _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
