nixpkgs/pkgs/development/tools/misc/gdb
Robert Kovacsics 0f456ce627 pkgsStatic.gdb: Fix compile
Fixes the following issue:

        [host@user:/nix/pkgs]$ nix build .\#pkgsStatic.gdb
        checking size of unsigned long long...   CXXLD  libinproctrace.so
        /nix/store/gzms61swp55fg5qbvshyqv5jfsnfvybz-x86_64-unknown-linux-musl-binutils-2.38/bin/x86_64-unknown-linux-musl-ld: /nix/store/dnmh1aj0kd60qz8yl4srak8kn2bspbxc-x86_64-unknown-linux-musl-stage-final-gcc-11.3.0/lib/gcc/x86_64-unknown-linux-musl/11.3.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
        /nix/store/gzms61swp55fg5qbvshyqv5jfsnfvybz-x86_64-unknown-linux-musl-binutils-2.38/bin/x86_64-unknown-linux-musl-ld: failed to set dynamic section sizes: bad value
        collect2: error: ld returned 1 exit status
        make[2]: *** [Makefile:383: libinproctrace.so] Error 1
        make[2]: *** Waiting for unfinished jobs....
        8
        checking size of unsigned long... make[2]: Leaving directory '/build/gdb-12.1/_build/gdbserver'
        make[1]: *** [Makefile:11064: all-gdbserver] Error 2

as the inprocess library can only be compiled as a shared library
2022-08-09 14:13:10 +00:00
..
32-bit-BFD_VMA-format.patch pkgsi686Linux.gdb: fix formatting for 32-bit systems 2022-05-21 21:18:21 +01:00
darwin-target-match.patch
debug-info-from-env.patch gdb: 11.2 -> 12.1 2022-05-04 19:39:45 +01:00
default.nix pkgsStatic.gdb: Fix compile 2022-08-09 14:13:10 +00:00