package/x264: disable asm on i386
PATCH 1/2 package/x264: disable asm on i386
Fixes build errors
In function 'x264_predictor_clip_mmx2',
inlined from 'x264_8_me_search_ref' at encoder/me.c:231:30:
./common/osdep.h:455:13: error: 'asm' operand has impossible constraints
or there are not enough registers
455 | #define asm __asm__
Fixes:
https://autobuild.buildroot.net/results/3db/3dbc13972fe0c31584cbc9d9f928ea0d13a1ad4d/
The oldest build error of this kind dates back to 2022 with gcc 10:
https://autobuild.buildroot.net/results/080/08011e939f9d2ed949392656d744c53b1bb07117/
so a backport to LTS branches should be considered.
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/d59ef84f5e18a4f05c04061dcbcea691479d3045
package/x264/x264.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/x264/x264.mk +1 -1
@@ -13,7 +13,7 @@ X264_LICENSE_FILES = COPYING X264_INSTALL_STAGING = YES X264_CONF_OPTS = --disable-avs --disable-lavf --disable-swscale -ifeq ($(BR2_i386)$(BR2_x86_64),y) +ifeq ($(BR2_x86_64),y) ifeq ($(BR2_TOOLCHAIN_USES_MUSL)$(BR2_PIC_PIE),yy) # libx264 uses large amounts of non-pic assembly code, resulting in text # section relocations, which are not supported on musl-libc's ld.so.
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/x264: bump version to git 0480cb05fa
---
Gitlab pipelines passed:
https://gitlab.com/bkuhls/buildroot/-/commits/e8272329a492289972dc19540ecd933fadfa22ec
package/x264/x264.hash | 2 +- package/x264/x264.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/x264/x264.hash +1 -1
@@ -1,3 +1,3 @@ # Locally computed -sha256 adb3f2f780607420134def42d0fac58be9c6de718a451f3f0ec56236a783f937 x264-baee400fa9ced6f5481a728138fed6e867b0ff7f-git4.tar.gz +sha256 dbfac9615e62cc85a638643ae0ba8cdfecff645755fcded389b53507eebb23ec x264-0480cb05fa188d37ae87e8f4fd8f1aea3711f7ee-git4.tar.gz sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
package/x264/x264.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -X264_VERSION = baee400fa9ced6f5481a728138fed6e867b0ff7f +X264_VERSION = 0480cb05fa188d37ae87e8f4fd8f1aea3711f7ee X264_SITE = https://code.videolan.org/videolan/x264.git X264_SITE_METHOD = git X264_LICENSE = GPL-2.0+
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · Bernd Kuhls
Fixes build errors
In function '
x264_predictor_clip_mmx2',inlined from 'x264_8_me_search_ref' at encoder/me.c:231:30:
./common/osdep.h:455:13: error: 'asm' operand has impossible constraints
or there are not enough registers
455 | #define asm__asm__
Is this a gcc bug, or an x264 issue?
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Thomas Petazzoni via buildroot
Quoted 7 lines · Bernd Kuhls
Fixes build errors
In function '
x264_predictor_clip_mmx2',inlined from 'x264_8_me_search_ref' at encoder/me.c:231:30:
./common/osdep.h:455:13: error: 'asm' operand has impossible constraints
or there are not enough registers
455 | #define asm__asm__Is this a gcc bug, or an x264 issue?
Gentle ping.
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot