Thanks, Pierre. I have confirmed that your build can debug a C "Hello, World!" built with each of `-mabi=32`, `-mabi=n32` and `-mabi=64`. Consequently, I've dropped my own attempts to build GDB 16.3 and have removed my symlink in /opt/cfarm to the ancient GDB 8.0.1.
-Paul On Tue, Jun 17, 2025 at 3:00 PM Pierre Muller via cfarm-users < cfarm-users@lists.tetaneutral.net> wrote: > Hello, > > after manually compiling gmp and mpfr libraries, > and twisting configure, I finally managed to generate a n64 ABI gdb-16.3 > executable. > > I tried to move it to /opt/cfarm/gdb-16.3-mips32-all > bit this will probably also not work for other users, if it is related to > fs.protected_symlinks... > > You should be able to use it directly as > /home/muller/bin/gdb-16.3-64 > > In the hope this can help others, > > Pierre > > Le 17/06/2025 à 23:16, Paul H. Hargrove via cfarm-users a écrit : > > > > > > On Tue, Jun 17, 2025 at 2:06 PM Andreas Schwab <sch...@linux-m68k.org > <mailto:sch...@linux-m68k.org>> wrote: > > > > On Jun 17 2025, Paul H. Hargrove via cfarm-users wrote: > > > > > I've symlinked from my GDB install to /opt/cfarm/gdb-8.0.1. > > > However, Pierre reported that the symlink gave permission denied > errors, > > > while direct access to the symlink target worked fine. > > > No clue what's up with that. > > > > It's a security feature (fs.protected_symlinks). > > > > [...] > > > > Ah. Makes sense. > > > > Anybody who wishes to use my install of GDB 8.0.1 can just use the > symlink target "manually": > > /home/phargrov/MIPS64/gdb-8.0.1/bin/gdb > > > > I am going to see if I can find the "recipe" I used 7.5 years ago, and > update it to generate a GDB 16.3 that works on `-mabi=64` executables. > > > > -Paul > > -- > > Paul H. Hargrove <phhargr...@lbl.gov <mailto:phhargr...@lbl.gov>> > > Pronouns: he, him, his > > Computer Languages & Systems Software (CLaSS) Group > > Computer Science Department > > Lawrence Berkeley National Laboratory > > > > _______________________________________________ > > cfarm-users mailing list > > cfarm-users@lists.tetaneutral.net > > https://lists.tetaneutral.net/listinfo/cfarm-users > > _______________________________________________ > cfarm-users mailing list > cfarm-users@lists.tetaneutral.net > https://lists.tetaneutral.net/listinfo/cfarm-users > -- Paul H. Hargrove <phhargr...@lbl.gov> Pronouns: he, him, his Computer Languages & Systems Software (CLaSS) Group Computer Science Department Lawrence Berkeley National Laboratory
_______________________________________________ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.net/listinfo/cfarm-users