GNU bug report logs -
#57954
[PATCH] gnu: clapack: Use position-independent code for use as a library.
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Tue, 20 Sep 2022 12:42:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Graves <ngraves <at> ngraves.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> * compile the static library as -fPIC (your patch)
> * let kaldi link to a shared clapack (which is -fPIC by default)
> Hence, my proposed (and untested) solution is to make 'kaldi' link to a
> shared clapack.
Thanks Maxime for your quick answer.
Just to be sure of what that would imply (using the second answer here:
https://stackoverflow.com/questions/2649735/how-to-link-static-library-into-dynamic-library-in-gcc):
1) We keep the version of clapack patched for -fPIC.
2) I need to make a package providing a shared version of clapack based
on this version of clapack compiled with -fPIC.
Also, my original patch is wrong, I'll send a corrected one once I
understand the process.
--
Best regards,
Nicolas Graves
This bug report was last modified 2 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.