This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Move LTRANS invocation from lto1 to lto-wrapper
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Mike Stump <mikestump at comcast dot net>
- Date: Fri, 7 May 2010 23:19:22 +0200
- Subject: Re: [PATCH] Move LTRANS invocation from lto1 to lto-wrapper
- References: <alpine.LNX.2.00.1005061258350.1429@zhemvz.fhfr.qr>
On Thu, May 6, 2010 at 1:02 PM, Richard Guenther <rguenther@suse.de> wrote:
>
> This moves LTRANS invocation as far to the driver as possible
> (which is to lto-wrapper). ?In the end lto-wrapper itself
> should probably xgcc, but that requires way more surgery
> (and the use of stdout in lto-wrapper is really clumsy).
This breaks WHOPR on darwin. I get lots of warnings like this now:
PASS: gcc.c-torture/execute/ieee/compare-fp-2.c compilation, -O2 -flto
Setting LD_LIBRARY_PATH to
:/Users/stevenb/lto_objdir/gcc::/Users/stevenb/lto_objdir/gcc
PASS: gcc.c-torture/execute/ieee/compare-fp-2.c execution, -O2 -flto
Executing on host: /Users/stevenb/lto_objdir/gcc/xgcc
-B/Users/stevenb/lto_objdir/gcc/
/Users/stevenb/gcc_trunk/gcc/testsuite/gcc.c-torture/execute/ieee/compare-fp-2.c
-w -O2
/usr/bin/../libexec/gcc/darwin/x86_64/as: Flag option -o has already
been seen!^M
output is:
/usr/bin/../libexec/gcc/darwin/x86_64/as: Flag option -o has already
been seen!^M
FAIL: gcc.c-torture/execute/ieee/compare-fp-2.c compilation, -O2 -fwhopr
I am going to go ahead and check in the Mach-O LTO stuff anyway. It
looks like another specs problem.
Ciao!
Steven