he authors of libquadm don't want
users to use it in statically linked binaries, and did something to
prevent that from happening. Unfortunately, it means that specialized
knowledge is required to statically link gfortran programs, even if they
don't use quad precision math.
Dan
On Sat, 20 Mar 2021, Iain Sandoe wrote:
Daniel Feenberg wrote:
On 3/19/21, Iain Sandoe wrote:
On Fri, 19 Mar 2021, Tobias Burnus wrote:
you should be able to work around this without changing the compiler or
rebuilding it,
%rename lib liborig
*lib: -lquadmath -lm %(libgcc
not help.
Of course I have no need for lquad precision variables, which I
understand is the source of the problem.
Daniel Feenberg
NBER
>
> change the last line line to :
>
> *lib: %{!static-libgfortran: -lquadmath } %{static-libgfortran:
> libquadmath.a%s} %(libgcc) %(liborig)
>
> ===
>
> and try your link again
>
Tried that, the error message is:
ld: library not found for -lSystem
Indeed there is no libsystem.a anywhere on the computer. Any ideas?
Daniel Feenberg