/usr/sbin/gnat refers to /lib64
Description:
gnat uses /lib64 and /usr/lib64 as its library path, but Arch uses /lib and /usr/lib.
Additional info:
- package version(s): gcc-ada 13.2.1-5
- config and/or log files: n/a
- link to upstream bug report, if any:
Steps to reproduce:
ldd /usr/sbin/gnat
linux-vdso.so.1 (0x00007ffdd034f000)
libc.so.6 => /usr/lib/libc.so.6 (0x000074a3d64ee000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000074a3d6700000)
Using /lib64 is bad according to namcap:
ghdl-gcc E: Insecure RUNPATH '/usr/lib64' in file ('usr/lib/libghdl-4_0_0.so')
Note that ghdl-gcc is an executable dependend on gcc-ada, and therefore it inherits the rpaths from gnat, which is why I am reporting the issue here.