- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Packages
-
Assigned To
Andreas Baumann - Operating System pentium4
- Severity Low
- Priority Medium
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Arch Linux 32
Opened by Andreas Baumann - 25.02.2022
Last edited by Andreas Baumann - 25.03.2022
Opened by Andreas Baumann - 25.02.2022
Last edited by Andreas Baumann - 25.03.2022
FS#239 - [ffmpeg] and [ffmepg4.4] fail to build
libswscale/x86/rgb2rgb_template.c: In function ‘interleaveBytes_sse2’: libswscale/x86/rgb2rgb_template.c:1838:9: error: the register ‘xmm2’ cannot be clobbered in ‘asm’ for the current target 1838 | __asm__( | ^
Also on i486 symbols are missing if not using LTO and probing of libraries like x264/x265 fail.
On 486, though x264 is there, I get:
I have no clue why..
And though I explicitely disable lto with configure flags it insists to build
with LTO.
Now I get tons of link errors:
This is pentium4..
This is pretty annoying: enabling LTO leads to assembly errors:
Disabling LTO only half-disabled LTO (I still see -flto in places and
it results in "undefined references".
This package is basically broken.. (which makes things tricky, as too many
packages need it).
Disabling more assembly code might result in terrible performance..
ok, –disable-asm, at least things build then and packages can be installed again.
Don't blame me, if the performace is really bad..
(i686 and pentium4 work this way)
On i486 still issues around:
gcc -Wl,-O1,–sort-common,–as-needed,-z,relro,-z,now -flto -Wl,–as-needed -Wl,-z,noexecstack -pthread -
in configure. And I disable LTO with –disable-lto?
Ok, happens also without LTO (and devtools makepkg.conf for i486 contains a 'lto'
per default, which might not be that smart).
Well, disabled X.264 on i486 for now.
fixed on i686 and pentium4, in stable and testing.
Now they build in a i486 chroot on 64-bit but not on a 486 VM:
ERROR: librsvg-2.0 not found using pkg-config
weird.
Maybe librsvg-og is missing a pkg-config file, or it is an older version.
So, if meson decides to have -Db_lto=auto everywhere, and if !lto in makepkg.conf is not
disabling it, then we will have a lot of issues on i486 with LTO.
LTO in i486 is disabled because the toolchain fails to build currently with LTO support
enabled.
pacman -Ql librsvg-og | grep pc
librsvg-og /usr/lib/pkgconfig/librsvg-2.0.pc
so, maybe this is a similar issue like with x.264, something broke fundamenaly
when probing for certain library properties?
/usr/bin/ld: warning: libcroco-0.6.so.3, needed by /usr/lib/gcc/i486-pc-linux-gnu/11
.2.0/../../../librsvg-2.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/i486-pc-linux-gnu/11.2.0/../../../librsvg-2.so: undefined
reference to `cr_parser_set_sac_handler'
/usr/bin/ld: /usr/lib/gcc/i486-pc-linux-gnu/11.2.0/../../../librsvg-2.so: undefined reference to `cr_selector_ref'
This is libcroco, why this is not a dependency of librsvg?
So let's rebuild librsvg-og against libcroco..
Should have been a dependency long time ago, when librsvg was still the C library..