[FFmpeg-trac] #4474(build system:open): Some inline asm code does not compile on Haiku 32-bit with GCC 4
FFmpeg
trac at avcodec.org
Tue Jun 2 03:39:52 CEST 2015
#4474: Some inline asm code does not compile on Haiku 32-bit with GCC 4
-------------------------------------+-------------------------------------
Reporter: Timothy_Gu | Owner:
Type: defect | Status: open
Priority: normal | Component: build
Version: git-master | system
Keywords: haiku | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Changes (by michael):
* cc: michael (added)
* status: new => open
Comment:
You could disable the functions which fail to build on haiku with some #if
!HAIKU, iam not sure how to detect haiku ...
or something like this could be added:
{{{
--- a/configure
+++ b/configure
@@ -5622,6 +5622,7 @@ enabled threads && ! enabled pthreads && ! enabled
atomics_native && die "non pt
if test $target_os = "haiku"; then
disable memalign
disable posix_memalign
+ disable ebp_available # gcc 4.8.4 (2014_12_21) on haiku at least
fails if ebp is used
fi
enabled_all d3d11va d3d11_cobj CoTaskMemFree &&
}}}
I can apply this but i suspect the problem is between the compiler and the
individual functions and its more a coincidence that ebp_available = 0
catches all
the {{{"g" (-mmx_len)}}} looks suspicous as a potential cause, the
compiler here must be capable to put the intermediate negated variable in
memory to avoid the need for another register
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4474#comment:11>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list