Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937332 - media-video/ffmpeg-6.1.1-r5, bad immediate value for 8-bit offset, on ARM MUSL
Summary: media-video/ffmpeg-6.1.1-r5, bad immediate value for 8-bit offset, on ARM MUSL
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-04 20:01 UTC by Marius Dinu
Modified: 2024-08-05 16:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,7.14 KB, text/plain)
2024-08-04 20:01 UTC, Marius Dinu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Dinu 2024-08-04 20:01:13 UTC
emerge fails with this error:

armv7a-unknown-linux-musleabihf-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -O2 -pipe -fomit-frame-pointer -march=armv7ve+neon-vfpv3 -mcpu=cortex-a17 -mfpu=neon-vfpv3 -mfloat-abi=hard   -mfp16-format=ieee -mcpu=cortex-a17 -std=c11 -fPIC -marm      -pthread -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/fribidi -I/usr/include/freetype2  -I/usr/include/libdrm -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include        -I/usr/include/libdrm -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-bool-operation -Wno-char-subscripts -O2 -pipe -fomit-frame-pointer -march=armv7ve+neon-vfpv3 -mcpu=cortex-a17 -mfpu=neon-vfpv3 -mfloat-abi=hard -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -Wno-maybe-uninitialized    -MMD -MF fftools/ffmpeg_mux.d -MT fftools/ffmpeg_mux.o -c -o fftools/ffmpeg_mux.o src/fftools/ffmpeg_mux.c
{standard input}: Assembler messages:
{standard input}:2564: Error: bad immediate value for 8-bit offset (256)
{standard input}:2604: Error: bad immediate value for 8-bit offset (256)
{standard input}:2747: Error: bad immediate value for 8-bit offset (256)
make: *** [/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1/ffbuild/common.mak:81: fftools/ffmpeg_mux.o] Error 1

Reproducible: Always
Comment 1 Marius Dinu 2024-08-04 20:01:35 UTC
Created attachment 899035 [details]
emerge --info
Comment 2 Marius Dinu 2024-08-04 20:03:28 UTC
I can't attach the complete build log - file too large.
Comment 3 Mike Gilbert gentoo-dev 2024-08-04 21:49:45 UTC
It is suspicious that the error is the same as bug 937331.

Please refrain from filing further bugs until we can determine if your system or toolchain is broken.
Comment 4 Marius Dinu 2024-08-05 14:53:54 UTC
OK...

In the meantime, I tried previous ffmpeg versions. Last one working is v4.4.4-r10.