Opened 12 months ago
Closed 7 months ago
#11695 closed defect (worksforme)
Configure for armv6 doesn't disable neon and armv6t2.
| Reported by: | danergo | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | build system |
| Version: | git-master | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
I'm trying to configure ffmpeg for rpi1 (armv6).
First, I have modified this line: https://github.com/FFmpeg/FFmpeg/blob/master/configure#L8021
From echo "ARCH $arch ($cpu)"
To echo "ARCH $arch ($cpu) $subarch"
In case I'm doing a configure with these parameters:
./configure --enable-cross-compile --cross-prefix=arm-linux-gnueabihf- --arch=armv6z --cpu=arm1176jzf-s --target-os=linux:
source path src C compiler arm-linux-gnueabihf-gcc C library glibc host C compiler gcc host C library glibc ARCH arm (arm1176jzf-s) armv6 big-endian no runtime cpu detection yes ARMv5TE enabled yes ARMv6 enabled yes ARMv6T2 enabled yes VFP enabled yes NEON enabled yes
As you can see: $subarch is printed and it's correctly set to armv6.
However, neither "ARMv6T2" nor NEON are disabled.
Note:
See TracTickets
for help on using tickets.



NEON instructions are guarded by runtime cpu detection, it works by design. If you find anything doesn't work as expected, please provide the compiler information and config.log.