Passing -fno-lto by default?

2014-02-06 Thread Markus Trippelsdorf
When using gcc with Link Time Optimization (-flto) enabled there are certain configuration tests that always fail. For example the following test taken from Firefox's configure.in: ac_cv_visibility_default=no if ${CC-cc} -fvisibility=hidden -Werror -S conftest.c -o conftest.s >/dev/null 2>&1;

Re: Passing -fno-lto by default?

2014-02-06 Thread Markus Trippelsdorf
On 2014.02.06 at 17:30 +0100, Thomas Jahns wrote: > On 02/06/14 16:48, Markus Trippelsdorf wrote: > > When using gcc with Link Time Optimization (-flto) enabled there are > > certain configuration tests that always fail. For example the following > > test taken from F

Re: Passing -fno-lto by default?

2014-02-07 Thread Markus Trippelsdorf
On 2014.02.07 at 08:44 +0100, Thomas Jahns wrote: > On Feb 6, 2014, at 22:00 , Russ Allbery wrote: > > Why would one not instead build the object and then use objdump on > > it to > > look at the exported symbols? It's still not ideally portable, but it > > seems like it should be more portable