save up test build
This commit is contained in:
55
patches/0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch
Normal file
55
patches/0001-libavutil-clean-up-unused-FF_SYMVER-macro.patch
Normal file
@@ -0,0 +1,55 @@
|
||||
From ab11be0becb90542f10d5713659b559842c53af2 Mon Sep 17 00:00:00 2001
|
||||
From: Natanael Copa <ncopa@alpinelinux.org>
|
||||
Date: Tue, 29 Mar 2016 15:15:17 +0200
|
||||
Subject: [PATCH] libavutil: clean up unused FF_SYMVER macro
|
||||
|
||||
There is nothing using it since commit d63443b9 (lavc: drop the
|
||||
av_fast_{re,m}alloc compatibility wrappers).
|
||||
|
||||
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
|
||||
---
|
||||
libavutil/internal.h | 28 ----------------------------
|
||||
1 file changed, 28 deletions(-)
|
||||
|
||||
diff --git a/libavutil/internal.h b/libavutil/internal.h
|
||||
index 61784b5..69d63d5 100644
|
||||
--- a/libavutil/internal.h
|
||||
+++ b/libavutil/internal.h
|
||||
@@ -177,34 +177,6 @@
|
||||
#endif
|
||||
|
||||
/**
|
||||
- * Define a function with only the non-default version specified.
|
||||
- *
|
||||
- * On systems with ELF shared libraries, all symbols exported from
|
||||
- * FFmpeg libraries are tagged with the name and major version of the
|
||||
- * library to which they belong. If a function is moved from one
|
||||
- * library to another, a wrapper must be retained in the original
|
||||
- * location to preserve binary compatibility.
|
||||
- *
|
||||
- * Functions defined with this macro will never be used to resolve
|
||||
- * symbols by the build-time linker.
|
||||
- *
|
||||
- * @param type return type of function
|
||||
- * @param name name of function
|
||||
- * @param args argument list of function
|
||||
- * @param ver version tag to assign function
|
||||
- */
|
||||
-#if HAVE_SYMVER_ASM_LABEL
|
||||
-# define FF_SYMVER(type, name, args, ver) \
|
||||
- type ff_##name args __asm__ (EXTERN_PREFIX #name "@" ver); \
|
||||
- type ff_##name args
|
||||
-#elif HAVE_SYMVER_GNU_ASM
|
||||
-# define FF_SYMVER(type, name, args, ver) \
|
||||
- __asm__ (".symver ff_" #name "," EXTERN_PREFIX #name "@" ver); \
|
||||
- type ff_##name args; \
|
||||
- type ff_##name args
|
||||
-#endif
|
||||
-
|
||||
-/**
|
||||
* Return NULL if a threading library has not been enabled.
|
||||
* Used to disable threading functions in AVCodec definitions
|
||||
* when not needed.
|
||||
--
|
||||
2.7.4
|
||||
|
||||
24
patches/cflags-speed-O2.patch
Normal file
24
patches/cflags-speed-O2.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
gcc fails if we compile with -O3
|
||||
|
||||
libavcodec/sbrdsp.c: In function 'sbr_neg_odd_64_c':
|
||||
libavcodec/sbrdsp.c:47:13: internal compiler error: in vect_analyze_data_ref_accesses, at tree-vect-data-refs.c:2596
|
||||
static void sbr_neg_odd_64_c(float *x)
|
||||
^
|
||||
|
||||
We work around it by using -O2 which is more sane.
|
||||
|
||||
http://bugs.alpinelinux.org/issues/5334
|
||||
|
||||
diff --git a/configure b/configure
|
||||
index 5e788ac..aa34f9b 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -3795,7 +3795,7 @@ probe_cc(){
|
||||
warn "gcc 4.2 is outdated and may miscompile FFmpeg. Please use a newer compiler." ;;
|
||||
esac
|
||||
fi
|
||||
- _cflags_speed='-O3'
|
||||
+ _cflags_speed='-O2'
|
||||
_cflags_size='-Os'
|
||||
elif $_cc --version 2>/dev/null | grep -q ^icc; then
|
||||
_type=icc
|
||||
Reference in New Issue
Block a user