You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Wa,-Av9b is supported by gcc on sparc and it would be helpful if clang would support it as well so makefiles don't have to conditionally use -Wa,-mcpu=niagara for clang and -Wa,-Av9b for gcc.
The text was updated successfully, but these errors were encountered:
-Wa,-Av9b is supported by gcc on sparc and it would be helpful if clang would support it as well so makefiles don't have to conditionally use -Wa,-mcpu=niagara for clang and -Wa,-Av9b for gcc.
clang -x assembler-with-cpp -Wa,-mcpu=ultrasparc does not change the instruction set to v9a and errors when v9a instructions are used:
/usr/xenocara/driver/xf86-video-sunffb/src/VISmoveImage.s:2436:2: error: instruction requires a CPU feature not currently enabled
faligndata %f42, %f44, %f26
The workaround for 2 is to use clang -x assembler-with-cpp -mcpu=ultrasparc
Please let me know if the above should be their own bug reports or can be a part of this bug report.
oracle$ echo | clang -Wa,-Av9b -x c -
clang: error: unsupported argument '-Av9b' to option '-Wa,'
oracle$ clang -v
OpenBSD clang version 19.1.7
Target: sparc64-unknown-openbsd7.6
Thread model: posix
InstalledDir: /usr/bin
-Wa,-Av9b is supported by gcc on sparc and it would be helpful if clang would support it as well so makefiles don't have to conditionally use -Wa,-mcpu=niagara for clang and -Wa,-Av9b for gcc.
The text was updated successfully, but these errors were encountered: