FS#66857 - [libtommath] Library are not compiled with -fPIC

Attached to Project: Arch Linux
Opened by Mateusz Paluszkiewicz (TheAifam5) - Monday, 01 June 2020, 20:51 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 02 June 2020, 08:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
```
/usr/lib/libtommath.a(bn_deprecated.o): relocation R_X86_64_PC32 against symbol `s_mp_rand_source' can not be used when making a shared object; recompile with -fPIC
```

Steps to reproduce:
Create shared library and use libtommath.

Fix:
Just add `-fPIC` to compiler flags.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 02 June 2020, 08:57 GMT
Reason for closing:  Won't fix
Additional comments about closing:  static library has been dropped in 1.2.0-3

Loading...