Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667460 - media-libs/dav1d-9999: [x32] [...] is incompatible with i386:x64-32 output
Summary: media-libs/dav1d-9999: [x32] [...] is incompatible with i386:x64-32 output
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-01 15:56 UTC by Michał Górny
Modified: 2022-11-14 07:44 UTC (History)
1 user (show)

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


Attachments
media-libs:dav1d-9999:20181001-154204.log (media-libs:dav1d-9999:20181001-154204.log,67.16 KB, text/plain)
2018-10-01 15:56 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-10-01 15:56:09 UTC
Created attachment 548586 [details]
media-libs:dav1d-9999:20181001-154204.log

As I mentioned on the prematurely merged PR, the package likely fails on x32 ABI, and indeed it does:


FAILED: tests/checkasm 
x86_64-pc-linux-gnu-gcc-7.3.0 -mx32  -o tests/checkasm 'tests/tests@@checkasm@exe/checkasm.obj' 'tests/tests@@checkasm@exe/checkasm_checkasm.c.o' 'tests/tests@@checkasm_bitdepth_8@sta/checkasm_mc.c.o' 'tests/tests@@checkasm_bitdepth_10@sta/checkasm_mc.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,--start-group src/libdav1d_private.a -Wl,--end-group '-Wl,-rpath,$ORIGIN/../src' -Wl,-rpath-link,/var/tmp/portage/media-libs/dav1d-9999/work/dav1d-9999-abi_x86_x32.x32/src -O2 -pipe -march=core-avx-i -mno-aes -mno-rdrnd --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed 
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `tests/tests@@checkasm@exe/checkasm.obj' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `src/libdav1d_private.a(cpuid.obj)' is incompatible with i386:x64-32 output
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `src/libdav1d_private.a(mc.obj)' is incompatible with i386:x64-32 output
collect2: error: ld returned 1 exit status


Also, you've added it with no maintainer.  Please add yourself or suffer the wrath of maintainer-needed.
Comment 1 Luca Barbato gentoo-dev 2018-10-01 18:44:30 UTC
I'll fix both soon, thank you for testing it :)
Comment 2 Luca Barbato gentoo-dev 2022-11-14 07:44:19 UTC
It was solved in aedbcba4f4c0eef97557e9d8068dbeec1e154b54