Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905774

Summary: dev-util/libtree-3.1.1 fails tests on arm64 (aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-m32’)
Product: Gentoo Linux Reporter: Arthur Zamarin <arthurzam>
Component: Current packagesAssignee: Sam James <sam>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: ARM64   
OS: Linux   
URL: https://github.com/haampie/libtree/issues/78
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 905046    
Attachments: build.log

Description Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2023-05-05 16:02:03 UTC
Created attachment 861202 [details]
build.log

Caught on arm64-unstable container on jiji.arm64 devbox
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-17 09:15:50 UTC
make[1]: Entering directory '/var/tmp/portage/dev-util/libtree-3.1.1/work/libtree-3.1.1/tests/05_32_bits'
echo 'int a(){return 42;}' | aarch64-unknown-linux-gnu-gcc -shared -Wl,-soname,libx.so -m32 -o lib32/libx.so -nostdlib -x c -
aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-m32’
make[1]: *** [Makefile:16: lib32/libx.so] Error 1

Oh dear.