This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: we are starting the wide int merge
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: Mike Stump <mikestump at comcast dot net>, Kenneth Zadeck <zadeck at naturalbridge dot com>, gcc at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 18 May 2014 21:08:37 -0600 (MDT)
- Subject: Re: we are starting the wide int merge
- Authentication-results: sourceware.org; auth=none
- References: <5368FD99 dot 2010607 at naturalbridge dot com> <A41D2B7B-480F-475B-B1CB-9FD001F5622C at comcast dot net> <alpine dot LSU dot 2 dot 11 dot 1405102137220 dot 2722 at tuna dot site> <alpine dot LSU dot 2 dot 11 dot 1405161854490 dot 2259 at tuna dot site> <87a9agztw1 dot fsf at talisman dot default>
On Sat, 17 May 2014, Richard Sandiford wrote:
> To rule out one possibility: which GCC are you using for stage1?
I think that may the smoking gun. When I use GCC 4.7 to bootstrap,
FreeBSD 8, 9 and 10 all build fine on i386 (= i486) and amd64.
When I use the system compiler, which is GCC 4.2 on FreeBSD 8 and 9
and clang on FreeBSD 10, things fail on FreeBSD 10...
...with a bootstrap comparison failure of stages 2 and 3 on i386:
https://redports.org/~gerald/20140518230801-31619-208277/gcc410-4.10.0.s20140518.log
...and an interesting failure on amd64:
https://redports.org/~gerald/20140518230801-31619-208275/gcc410-4.10.0.s20140518.log
In file included from .././../gcc-4.10-20140518/gcc/xcoffout.c:29:
.././../gcc-4.10-20140518/gcc/tree.h:4576:3: warning: extraneous template
parameter list in template specialization
template <>
^~~~~~~~~~~
.././../gcc-4.10-20140518/gcc/wide-int.cc:1274:23: error: invalid use of a
cast in a inline asm context requiring an l-value: remove the cast or
build with -fheinous-gnu-extensions
umul_ppmm (val[1], val[0], op1.ulow (), op2.ulow ());
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This means this clang-based system is not able to bootstrap GCC trunk
on amd64.
Perhaps looking into this first may affect the failure on i486?
Gerald