[Buildroot] [PATCH v2] openssl: fix m68k uclinux compile
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Aug 1 21:05:00 UTC 2016
Hello,
On Sun, 31 Jul 2016 20:48:00 +0200, Waldemar Brodkorb wrote:
> The GCC manual suggest when getting:
> relocation truncated to fit: R_68K_GOT16O foobar
> to use -mxgot.
>
> Fixes:
> http://autobuild.buildroot.net/results/455fd0f274bfa4bbd786bcd6740ecf960e47c1bd/
>
> Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
> ---
> package/openssl/openssl.mk | 5 +++++
> 1 file changed, 5 insertions(+)
It's somewhat annoying that we have to do this manually instead of
having the compiler switch automatically to this less efficient mode
for handling the GOT. But I guess we don't really have the choice.
Let's see how many packages need such a hack.
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list