Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934064 - dev-debug/valgrind-3.22.0-r2 fails to compile tests on arm: {standard input}:43: Error: selected processor does not support `udiv r3,r9,r10' in Thumb mode
Summary: dev-debug/valgrind-3.22.0-r2 fails to compile tests on arm: {standard input}:...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-11 18:23 UTC by matoro
Modified: 2024-06-12 02:18 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (build.log,739.02 KB, text/x-log)
2024-06-11 18:23 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-06-11 18:23:45 UTC
Created attachment 895629 [details]
build.log and emerge --info

With -j1 for clarity.  Note the warning message:

armv7a-unknown-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../.. -I../../../include -I../../../coregrind -I../../../include -I../../../VEX/pub -I../../../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -DVGPV_arm_linux_vanilla=1    -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector    -g -mcpu=cortex-a15 -mthumb -O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-stack-protector -c -o intdiv-intdiv.o `test -f 'intdiv.c' || echo './'`intdiv.c
cc1: warning: switch ‘-mcpu=cortex-a15’ conflicts with switch ‘-march=armv7-a+fp’
{standard input}: Assembler messages:
{standard input}:43: Error: selected processor does not support `udiv r3,r9,r10' in Thumb mode
{standard input}:84: Error: selected processor does not support `sdiv r3,r9,r10' in Thumb mode
make[5]: *** [Makefile:986: intdiv-intdiv.o] Error 1
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 02:13:42 UTC
This is really annoying because it does work on ARM, it just fails to build with some CFLAGS.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-12 02:18:35 UTC
(In reply to Sam James from comment #1)
> This is really annoying because it does work on ARM, it just fails to build
> with some CFLAGS.

(including, apparently, our default stage ones.)