Port-RISCV archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: No GDB in riscv64-none-elf-binutils?



Hmm yeah must have been a typo on my part, or I
forgot to do the -m riscv64. I deleted the previous build output folder and tried
./build.sh -O ../obj  -U -u -N1 -m riscv64 -j4 -V MKCROSSGDB=yes  tools
and now I got the gdb again.

Leo

On Fri, 1 Aug 2025, leo.lundberg99%ikmail.com@localhost wrote:

It worked now!

./build.sh  -U -u -N1 -m riscv64  -j4 -V MKCROSSGDB=yes -T ../tools  tools

Seems like the -T is what did it but that seems so silly since it is only a path specification? Thanks for all the help :)

Leo

On Fri, 1 Aug 2025, Martin Husemann wrote:

 On Thu, Jul 31, 2025 at 09:57:43PM +0200, leo.lundberg99%ikmail.com@localhost wrote:
 I downloaded the current branch via CVS ('CVS/Tag' doesn't exist which
 means
 it should be current?) and tried the aforementioned build.sh commands
 again
 but no luck, I also ran find on the build output obj dir but no dice. Is
 it
 related to me building on an amd64 machine?

 I don't know, maybe some typo ?

 I just tried it:

 ===> build.sh command:    ./build.sh -u -U -m riscv64 -M
 /work/branches/obj-current/riscv64 -R /work/branches/rel-current/riscv64
 -V BUILDINFO=Build locally, cvs.netbsd.org source tree date: 2025-08-01
 05:34 UTC -V MKDEBUG=yes -V TMPDIR=/var/shm/btmp -V MKCROSSGDB=yes -T
 /work/tools -D /work/branches/hosts-current/riscv64 -j 8 tools
 ===> build.sh started:    Fri Aug  1 07:49:35 CEST 2025
 ===> NetBSD version:      11.99.1
 ===> MACHINE:             riscv
 ===> MACHINE_ARCH:        riscv64
 ===> Build platform:      NetBSD 11.99.1 amd64
 [..]

 and got:

 [~] martin@seven-days-to-the-wolves > ll
 /work/tools/bin/riscv64--netbsd-gdb
 -rwxr-xr-x  1 builds  builds  10608608 Aug  1 07:59
 /work/tools/bin/riscv64--netbsd-gdb*
 [~] martin@seven-days-to-the-wolves > /work/tools/bin/riscv64--netbsd-gdb
 GNU gdb (GDB) 15.1
 Copyright (C) 2024 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Type "show copying" and "show warranty" for details.
 This GDB was configured as "--host=x86_64-unknown-netbsd11.99
 --target=riscv64--netbsd".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <https://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

 For help, type "help".
 Type "apropos word" to search for commands related to "word".
 (gdb)


 Martin





Home | Main Index | Thread Index | Old Index