FPC doesn't recompile units when switching instruction set
Original Reporter info from Mantis: kanzels
-
Reporter name: Pavel Kanzelsberger
Original Reporter info from Mantis: kanzels
- Reporter name: Pavel Kanzelsberger
Description:
When I'm building ARM binaries for both armv6 and armv7, and first compile for example for armv6, then I clean some units and compile whole project for armv7, fps won't recompile those armv6 units ending in a mixed binary with both armv6 and armv7.
This is ok for an armv7 cpu, however when going from armv7 to armv6 it will produce broken code.
Steps to reproduce:
- Compile project for armv6
- Clean some units, leave some of them compiled
- Recompile project for armv7 with -Cn switch
- Check libfpc.a with "lipo -info libfpc.a" ... it contains mixed armv6 and armv7 code
Mantis conversion info:
- Mantis ID: 20566
- OS: Darwin
- OS Build: 10.7 Lion
- Build: svn-19536
- Platform: ARM
- Version: 2.7.1