On Sat, 22 May 2010 23:46:56 +0200 Benjamin Zores <b...@geexbox.org> said:

any reason you use just -O not -O2?

fyi - no attached file - sf.net filtered it out. :) though generally this kind
of a problem is a result of compiler issues - eg no neon support in gcc (or
poor/older support) etc. generally anyway.

> Hi,
> 
> I'm no longer able to build evas on ARM Cortex-A8 (using NEON
> optimizations) after r48733
> (see http://trac.enlightenment.org/e/changeset/48733 the one with NEON
> optimizations actually).
> 
> Below is GCC output:
> 
> b...@q6600:~/GeeXboX/geexbox/build.arm.eglibc/evas-r49141/src/lib/engines/common
> $ 
> /home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/bin/armv7-geexbox-linux-gnueabi-gcc
> -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../../../../src/lib
> -I../../../../src/lib/cserve -I../../../../src/lib/include
> -DPACKAGE_BIN_DIR=
> \"/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/bin
> \" -DPACKAGE_LIB_DIR=
> \"/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/lib
> \" -DPACKAGE_DATA_DIR=
> \"/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/share/evas
> \"
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include/freetype2
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include/eina-0
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include/eina-0/eina
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include/eina-0
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include/eina-0/eina
> -I/home/ben/GeeXboX/geexbox/build.arm.eglibc/toolchain/armv7-geexbox-linux-gnueabi/sysroot/usr/local/include/fribidi
> -O -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -Wall
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -s -fomit-frame-pointer
> -D_GNU_SOURCE -MT evas_op_blend_main_.lo -MD -MP
> -MF .deps/evas_op_blend_main_.Tpo -c evas_op_blend_main_.c  -fPIC -DPIC
> -o .libs/evas_op_blend_main_.o In file included from
> evas_op_blend_main_.c:92: ./evas_op_blend/op_blend_mask_color_neon.c: In
> function
> '_op_blend_mas_c_dp_neon': ./evas_op_blend/op_blend_mask_color_neon.c:8:
> warning: unused variable
> 'alpha' ./evas_op_blend/op_blend_mask_color_neon.c:7: warning: unused
> variable 'e' ./evas_op_blend/op_blend_mask_color_neon.c: In function
> '_op_blend_mas_can_dp_neon': ./evas_op_blend/op_blend_mask_color_neon.c:169:
> warning: unused variable
> 'alpha' ./evas_op_blend/op_blend_mask_color_neon.c:168: warning: unused
> variable 'tmp' /tmp/cccYHaUV.s: Assembler messages: /tmp/cccYHaUV.s:8166:
> Error: invalid neon suffix for non neon instruction /tmp/cccYHaUV.s:8304:
> Error: invalid neon suffix for non neon instruction
> 
> Attached is the bzip'ed generated assembly file.
> 
> Evas is cross-compiled using:
> - GCC 4.4.4
> - Binutils 2.20.51.0.8
> - eGlibc 2.11
> 
> Any idea how to fix this bug ? Any special CFLAGS to be added maybe
> (though it used to compile just fine before) ?
> 
> Ben
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to