diff options
author | Catalin Enache <catalin.enache@windriver.com> | 2020-03-26 17:26:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-29 20:04:10 +0100 |
commit | f7bde5f06a3ff810faf40a2ba8cac85b83351b06 (patch) | |
tree | bfdd1c797c4b60a85287ec932d7bdb360797aeec /meta/recipes-devtools | |
parent | abee806f114fff3565d8796db0eab86f64bb937b (diff) | |
download | poky-f7bde5f06a3ff810faf40a2ba8cac85b83351b06.tar.gz |
pulseaudio: fix for ARM thumb + frame pointers compilation error
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled
since the Thumb frame pointer in r7 clashes with pulseaudio's use of inline
asm to make syscalls (where r7 is used for the syscall NR).
In most cases, frame pointers will be disabled automatically due to
the optimisation level, but appending an explicit -fomit-frame-pointer
to CFLAGS handles cases where optimisation is set to -O0 or frame
pointers have been enabled by -fno-omit-frame-pointer earlier in
CFLAGS, etc.
References:
https://www.openwall.com/lists/musl/2017/10/09/2
(From OE-Core rev: b199a9dbc3440d7c4fad8d8baeea931a6b7381c1)
Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions