Summary: | Build failure with error "relocation R_X86_64_PC32 against symbol `__gmp_free_func' can not be used when making a shared object; recompile with -fPIC" | ||
---|---|---|---|
Product: | [Applications] kget | Reporter: | Kyle Devir <kyle.devir> |
Component: | general | Assignee: | KGet authors <kget> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | wbauer1 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | error.log |
Created attachment 141468 [details] error.log SUMMARY Building via kdesrc-build. Error as follows: ``` [...] Consolidate compiler generated dependencies of target kget [ 88%] Built target kget /run/media/valmar/IronWolfRAID1/Packages/AUR/Tk-Glitch/mostlyportable-gcc/gcc-mostlyportable-current/bin/ld: /run/media/valmar/IronWolfRAID1/Packages/AUR/Tk-Glitch/mostlyportable-gcc/gcc-mostlyportable-current/lib/libgmp.a(lt31-mul.o): warning: relocation against `__gmp_free_func' in read-only section `.text' /run/media/valmar/IronWolfRAID1/Packages/AUR/Tk-Glitch/mostlyportable-gcc/gcc-mostlyportable-current/bin/ld: /run/media/valmar/IronWolfRAID1/Packages/AUR/Tk-Glitch/mostlyportable-gcc/gcc-mostlyportable-current/lib/libgmp.a(lt4-clear.o): relocation R_X86_64_PC32 against symbol `__gmp_free_func' can not be used when making a shared object; recompile with -fPIC /run/media/valmar/IronWolfRAID1/Packages/AUR/Tk-Glitch/mostlyportable-gcc/gcc-mostlyportable-current/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [transfer-plugins/bittorrent/CMakeFiles/kget_bittorrent.dir/build.make:498: bin/kget_bittorrent.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:936: transfer-plugins/bittorrent/CMakeFiles/kget_bittorrent.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ``` Error log attached. Can provide more details as requested. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.14.1-arch1-1-custom (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: Radeon RX 580 Series