From tk @end|ng |rom tkoen|g@net  Tue Apr 23 14:59:02 2019
From: tk @end|ng |rom tkoen|g@net (=?UTF-8?Q?Thomas_K=c3=b6nig?=)
Date: Tue, 23 Apr 2019 14:59:02 +0200
Subject: [Rd] configure script issue with -flto with recent gcc and system
 ar/ranlib
Message-ID: <60fd285c-1aac-29ba-c867-dfc43c7de930@tkoenig.net>

Hi,

there can be an issue with recent gcc where the system-installed "ar"
and "ranlib" commands cannot handle LTO binaries.  On compilation, this
manifests itself with error messages claiming that they need extra
plugins.

This can be fixed by using the command line

$ AR=gcc-ar RANLIB=gcc-ranlib ./configure --enable-lto

so it is not a big issue, but it would still be nicer if the configure
script tested the functionality of ar and ranlib itself and would
select the appropriate one accordingly.

This is with R version 3.5.3.

Regards

	Thomas



[Rd] configure script issue with -flto with recent gcc and system ar/ranlib
=?UTF-8?Q?Thomas_K=c3=b6nig?=