[FFmpeg-cvslog] parisc: work around bug in gcc 4.3 and later
Mans Rullgard
git at videolan.org
Sun Nov 18 13:39:55 CET 2012
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Nov 14 15:56:46 2012 +0000| [5af530f5a95e6e1a8c82dd86bf625aea75fce670] | committer: Mans Rullgard
parisc: work around bug in gcc 4.3 and later
A bug in tail call optimisation in gcc 4.3 and later on parisc causes
numerous tests to fail. Disabling this optimisation gives a working
build. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55023
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5af530f5a95e6e1a8c82dd86bf625aea75fce670
---
configure | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/configure b/configure
index 14a887e..e6d4ecb 100755
--- a/configure
+++ b/configure
@@ -3077,6 +3077,14 @@ elif enabled mips; then
check_inline_asm loongson '"dmult.g $1, $2, $3"'
+elif enabled parisc; then
+
+ if enabled gcc; then
+ case $($cc -dumpversion) in
+ 4.[3-8].*) check_cflags -fno-optimize-sibling-calls ;;
+ esac
+ fi
+
elif enabled ppc; then
enable local_aligned_8 local_aligned_16
More information about the ffmpeg-cvslog
mailing list