On Wed, Dec 21, 2016 at 08:05:28PM +0100, Nico Huber wrote:
On 21.12.2016 02:53, Jonathan Neuschäfer wrote:
[...]
That's known trouble due to their GCC using `-fpie/-pie` by default now. One way to work around is adding `-with-pic` to the configure step when building GMP.
We could do that automatically. I guess, there is something in `gcc -dumpspecs` that could be used. Can you provide that output for the failing GCC, please.
Nico
$ gcc --version gcc (Debian 6.2.1-5) 6.2.1 20161124 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc -dumpspecs <see attachment>
Regards, Jonathan