Summary: | app-benchmarks/stress-ng-0.18.00 - fails to build with -mcpu=G5: Error: unrecognized opcode: `lvx' [...] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
Component: | Current packages | Assignee: | Conrad Kostecki <conikost> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | erhard_f, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
URL: | https://github.com/ColinIanKing/stress-ng/issues/406 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log (ppc64, 0.18.0)
emerge --info |
Created attachment 896562 [details]
emerge --info
Upstream suggests Gentoo toolchain may have a problem as building with debian powerpc-linux-gnu-gcc-13 toolchain and -mcpu=G5 worked fine: https://github.com/ColinIanKing/stress-ng/issues/406 Mysterious. Is it the GCC checking nonsense again, I wonder? |
Created attachment 896561 [details] build.log (ppc64, 0.18.0) Builds ok with -mcpu=power9 but fails to build with -mcpu=G5 or -mcpu=970. [...] powerpc64-unknown-linux-gnu-gcc -O2 -mcpu=970 -mtune=970 -O2 -maltivec -mabi=altivec -pipe -Wall -Wextra -DVERSION='"0.18.00"' -std=gnu99 -Wformat -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Werror=format-security -c -o stress-quota.o stress-quota.c CC stress-qsort.c powerpc64-unknown-linux-gnu-gcc -O2 -mcpu=970 -mtune=970 -O2 -maltivec -mabi=altivec -pipe -Wall -Wextra -DVERSION='"0.18.00"' -std=gnu99 -Wformat -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Werror=format-security -c -o stress-qsort.o stress-qsort.c {standard input}: Assembler messages: {standard input}:4996: Error: unrecognized opcode: `lvx' {standard input}:4997: Error: unrecognized opcode: `lvx' {standard input}:5000: Error: unrecognized opcode: `lvsr' {standard input}:5003: Error: unrecognized opcode: `lvsr' [...] {standard input}:7667: Error: unrecognized opcode: `vperm' {standard input}:7668: Error: unrecognized opcode: `stvx' {standard input}:7669: Error: unrecognized opcode: `stvx' make: *** [Makefile:708: stress-qsort.o] Error 1