[kget] [Bug 442297] New: 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"
Kyle Devir
bugzilla_noreply at kde.org
Sat Sep 11 09:17:13 BST 2021
https://bugs.kde.org/show_bug.cgi?id=442297
Bug ID: 442297
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: kget
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kget at kde.org
Reporter: kyle.devir at mykolab.com
CC: wbauer at tmo.at
Target Milestone: ---
Created attachment 141468
--> https://bugs.kde.org/attachment.cgi?id=141468&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KGet
mailing list