<div dir="ltr"><div>Thanks, Pierre.</div><div><br></div><div>I have confirmed that your build can debug a C "Hello, World!" built with each of `-mabi=32`, `-mabi=n32` and `-mabi=64`.</div><div>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.</div><div><br></div><div>-Paul</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Jun 17, 2025 at 3:00 PM Pierre Muller via cfarm-users <<a href="mailto:cfarm-users@lists.tetaneutral.net">cfarm-users@lists.tetaneutral.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
   after manually compiling gmp and mpfr libraries,<br>
and twisting configure, I finally managed to generate a n64 ABI gdb-16.3 executable.<br>
<br>
   I tried to move it to /opt/cfarm/gdb-16.3-mips32-all<br>
bit this will probably also not work for other users, if it is related to fs.protected_symlinks...<br>
<br>
You should be able to use it directly as<br>
/home/muller/bin/gdb-16.3-64<br>
<br>
In the hope this can help others,<br>
<br>
Pierre<br>
<br>
Le 17/06/2025 à 23:16, Paul H. Hargrove via cfarm-users a écrit :<br>
> <br>
> <br>
> On Tue, Jun 17, 2025 at 2:06 PM Andreas Schwab <<a href="mailto:schwab@linux-m68k.org" target="_blank">schwab@linux-m68k.org</a> <mailto:<a href="mailto:schwab@linux-m68k.org" target="_blank">schwab@linux-m68k.org</a>>> wrote:<br>
> <br>
>     On Jun 17 2025, Paul H. Hargrove via cfarm-users wrote:<br>
> <br>
>      > I've symlinked from my GDB install to /opt/cfarm/gdb-8.0.1.<br>
>      > However, Pierre reported that the symlink gave permission denied errors,<br>
>      > while direct access to the symlink target worked fine.<br>
>      > No clue what's up with that.<br>
> <br>
>     It's a security feature (fs.protected_symlinks).<br>
> <br>
> [...]<br>
> <br>
> Ah.  Makes sense.<br>
> <br>
> Anybody who wishes to use my install of GDB 8.0.1 can just use the symlink target "manually":<br>
>     /home/phargrov/MIPS64/gdb-8.0.1/bin/gdb<br>
> <br>
> 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.<br>
> <br>
> -Paul<br>
> -- <br>
> Paul H. Hargrove <<a href="mailto:PHHargrove@lbl.gov" target="_blank">PHHargrove@lbl.gov</a> <mailto:<a href="mailto:PHHargrove@lbl.gov" target="_blank">PHHargrove@lbl.gov</a>>><br>
> Pronouns: he, him, his<br>
> Computer Languages & Systems Software (CLaSS) Group<br>
> Computer Science Department<br>
> Lawrence Berkeley National Laboratory<br>
> <br>
> _______________________________________________<br>
> cfarm-users mailing list<br>
> <a href="mailto:cfarm-users@lists.tetaneutral.net" target="_blank">cfarm-users@lists.tetaneutral.net</a><br>
> <a href="https://lists.tetaneutral.net/listinfo/cfarm-users" rel="noreferrer" target="_blank">https://lists.tetaneutral.net/listinfo/cfarm-users</a><br>
<br>
_______________________________________________<br>
cfarm-users mailing list<br>
<a href="mailto:cfarm-users@lists.tetaneutral.net" target="_blank">cfarm-users@lists.tetaneutral.net</a><br>
<a href="https://lists.tetaneutral.net/listinfo/cfarm-users" rel="noreferrer" target="_blank">https://lists.tetaneutral.net/listinfo/cfarm-users</a><br>
</blockquote></div><div><br clear="all"></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-family:"courier new",monospace">Paul H. Hargrove <<a href="mailto:PHHargrove@lbl.gov" target="_blank">PHHargrove@lbl.gov</a>><br>Pronouns: he, him, his<br></div><div style="font-family:"courier new",monospace">Computer Languages & Systems Software (CLaSS) Group</div><div style="font-family:"courier new",monospace">Computer Science Department</div><div style="font-family:"courier new",monospace">Lawrence Berkeley National Laboratory</div></div></div></div></div>