* Re: linux-next: Tree for Nov 15 (RV32: arch/riscv/kernel/tests/module_test/test_uleb128.S) [not found] <20231115122752.6b12654a@canb.auug.org.au> @ 2023-11-15 21:01 ` Randy Dunlap 2023-11-17 17:12 ` Charlie Jenkins 0 siblings, 1 reply; 2+ messages in thread From: Randy Dunlap @ 2023-11-15 21:01 UTC (permalink / raw) To: Stephen Rothwell, Linux Next Mailing List Cc: Linux Kernel Mailing List, linux-riscv, Charlie Jenkins [-- Attachment #1: Type: text/plain, Size: 600 bytes --] On 11/14/23 17:27, Stephen Rothwell wrote: > Hi all, > > Changes since 20231114: > (using gcc 13.2.0 from kernel.org) on riscv 32-bit: arch/riscv/kernel/tests/module_test/test_uleb128.S: Assembler messages: arch/riscv/kernel/tests/module_test/test_uleb128.S:9: Error: unrecognized opcode `ld a0,second' arch/riscv/kernel/tests/module_test/test_uleb128.S:15: Error: unrecognized opcode `ld a0,fourth' riscv32-linux-ld: cannot find arch/riscv/kernel/tests/module_test/test_uleb128.o: No such file or directory Full randconfig file is attached. Is this a toolchain problem? thanks. -- ~Randy [-- Attachment #2: config-r1939.gz --] [-- Type: application/gzip, Size: 27752 bytes --] [-- Attachment #3: Type: text/plain, Size: 161 bytes --] _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-next: Tree for Nov 15 (RV32: arch/riscv/kernel/tests/module_test/test_uleb128.S) 2023-11-15 21:01 ` linux-next: Tree for Nov 15 (RV32: arch/riscv/kernel/tests/module_test/test_uleb128.S) Randy Dunlap @ 2023-11-17 17:12 ` Charlie Jenkins 0 siblings, 0 replies; 2+ messages in thread From: Charlie Jenkins @ 2023-11-17 17:12 UTC (permalink / raw) To: Randy Dunlap Cc: Stephen Rothwell, Linux Next Mailing List, Linux Kernel Mailing List, linux-riscv On Wed, Nov 15, 2023 at 01:01:24PM -0800, Randy Dunlap wrote: > > > On 11/14/23 17:27, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20231114: > > > > (using gcc 13.2.0 from kernel.org) > > on riscv 32-bit: > > arch/riscv/kernel/tests/module_test/test_uleb128.S: Assembler messages: > arch/riscv/kernel/tests/module_test/test_uleb128.S:9: Error: unrecognized opcode `ld a0,second' > arch/riscv/kernel/tests/module_test/test_uleb128.S:15: Error: unrecognized opcode `ld a0,fourth' > riscv32-linux-ld: cannot find arch/riscv/kernel/tests/module_test/test_uleb128.o: No such file or directory > > > Full randconfig file is attached. > > Is this a toolchain problem? > > thanks. > -- > ~Randy I had an assumption when writing this code that uleb128 was only supported on rv64 toolchains. Since it appears that there do exist rv32 toolchains with uleb128 support I will modify this test to be supported on rv32 platforms. The config AS_HAS_ULEB128 in arch/riscv/kernel/tests/Kconfig.debug should be auto-set to N if the toolchain does not support ULEB128 even though the randconfig has CONFIG_AS_HAS_ULEB128=y. There are a couple of sparse warnings in this series that I will fix up and send out in a new series with this fix. - Charlie _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-17 17:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20231115122752.6b12654a@canb.auug.org.au>
2023-11-15 21:01 ` linux-next: Tree for Nov 15 (RV32: arch/riscv/kernel/tests/module_test/test_uleb128.S) Randy Dunlap
2023-11-17 17:12 ` Charlie Jenkins
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox