[cfarm-users] gcc230: Unable to use GDB on 64-bit mips executable

Paul H. Hargrove phhargrove at lbl.gov
Tue Jun 17 23:16:47 CEST 2025


On Tue, Jun 17, 2025 at 2:06 PM Andreas Schwab <schwab at 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 <PHHargrove at lbl.gov>
Pronouns: he, him, his
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department
Lawrence Berkeley National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/cfarm-users/attachments/20250617/9645a414/attachment.htm>


More information about the cfarm-users mailing list