Public bug reported: Binary package hint: gcc-4.3
For the armel Ubuntu port, since it is optimised for ARMv7, it would be good to have gcc automatically generating code equivalent to the flags below so that all the applications would benefit, unrelated to whether CFLAGS was set or not: -march=armv5t -mtune=cortex-a8 -mfpu=vfp -mfloat-abi=softfp The above are compliant with the ARM EABI standard and also allow the code to run on ARMv5 hardware with VFP (e.g. ARM926). The generated code would be tuned for Cortex-A8 (ARMv7 architecture). The -mfloat- abi=softfp is required by the ARM EABI so that objects compiled for soft floating point could be linked (statically or dynamically) with hard floating point (VFP) objects. The current patches from Debian applied to gcc change the default target to ARMv4t (arm9tdmi) in the gcc/config/arm/linux-eabi.h file (used, generally, by gcc/config/arm/arm.c to define the default architecture target and CPU tuning). Thanks. ** Affects: gcc-4.3 (Ubuntu) Importance: Undecided Status: New -- armel gcc default optimisations https://bugs.launchpad.net/bugs/303232 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs