This setting is inherited from Debian's package gcc-16:
ifeq ($(derivative),Ubuntu)
ifneq (,$(filter $(distrelease), focal jammy noble oracular plucky))
CONFARGS += --with-arch=rv64gc
else
# Ubuntu 25.10 Questing Quokka is built for the RVA23 family of profiles.
# The 'RVA23 Profiles' specification is available in
# https://drive.google.com/file/d/12QKRm92cLcEk8-5J9NI91m0fAQOxqNAq/view
#
# Here we select the RVA23U64 profile and the zifencei extension.
# The zifencei extension is in RVA23S64 but fence.i is a U-mode
# instruction.
RV_EXT = i m a f d c b v zic64b \
zicbom zicbop zicboz ziccamoa ziccif \
zicclsm ziccrse zicntr zicond zicsr \
zifencei zihintntl zihintpause zihpm zimop \
zmmul za64rs zaamo zalrsc zawrs zfa \
zfhmin zca zcb zcd zcmop zba zbb \
zbs zkt zvbb zve32f zve32x zve64d \
zve64f zve64x zvfhmin zvkb zvkt zvl128b \
zvl32b zvl64b supm
CONFARGS += --with-arch=rv64$(subst $(SPACE),_,$(RV_EXT))
endif
else # Debian
CONFARGS += --with-arch=rv64gc
endif
** Description changed:
- Our GCC defaults to RVA23U64. In GCC 15.2 we set the -march
+ Our GCC defaults to RVA23U64. In GCC 15.2 we set the --with-arch=
configuration option to a long list of extensions for this purpose. GCC
16 offers a value -march=rva23u64 for this purpose. See
https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html.
We should move to this value.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152642
Title:
RVA23 configuration in debian/rules2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-16/+bug/2152642/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs