This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Bootstrap broken on arm-linux was: ARM patch: Thumb2 reorg
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Richard Earnshaw <rearnsha at arm dot com>
- Date: Sat, 12 Jun 2010 16:45:45 +0200
- Subject: Bootstrap broken on arm-linux was: ARM patch: Thumb2 reorg
- References: <4BD80169.7070206@codesourcery.com> <4BE7C8AB.4030209@redhat.com> <4C0F6330.4030300@codesourcery.com>
On Wed, 2010-06-09 at 11:47 +0200, Bernd Schmidt wrote:
> On 05/10/2010 10:49 AM, Nick Clifton wrote:
> > Note - for the record I have had an offline conversation with Bernd
> > about this patch and I now agree that, despite the possibility pointed
> > out by Richard that it could introduce performance regressions in
> > certain cases, it is still worthwhile overall.
>
> Just for the record, Richard also seemed ok with it when I spoke to him
> a few weeks ago. Retested & committed now.
Hi,
This likely broke native bootstrap on ARM, see last comment of:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44458
/home/guerby/build/./prev-gcc/xgcc -B/home/guerby/build/./prev-gcc/
-B/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/bin/
-B/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/bin/
-B/n/57/guerby/install-t\
runk-160646/armv5tel-unknown-linux-gnueabi/lib/ -isystem
/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/include
-isystem
/n/57/guerby/install-trunk-160646/armv5tel-unknown-linux-gnueabi/sys-include
-c -g -O2 -gtog\
gle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition
-Wc++-compat -f\
no-common -DHAVE_CONFIG_H -I. -I. -I../../trunk/gcc -I../../trunk/gcc/.
-I../../trunk/gcc/../include -I../../trunk/gcc/../libcpp/include
-I../../trunk/gcc/../libdecnumber -I../../trunk/gcc/../libdecnumber/dpd
-I../libdecnumber \
../../trunk/gcc/config/arm/arm.c -o arm.o
../../trunk/gcc/config/arm/arm.c: In function 'thumb2_reorg':
../../trunk/gcc/config/arm/arm.c:11466:19: error: initialization from
incompatible pointer type [-Werror]
../../trunk/gcc/config/arm/arm.c:11467:9: error: passing argument 3 of
'gen_rtx_fmt_E_stat' from incompatible pointer type [-Werror]
./genrtl.h:60:1: note: expected 'rtvec' but argument is of type 'rtx'
../../trunk/gcc/config/arm/arm.c:11460:9: error: unused variable 'op1'
[-Werror=unused-variable]
cc1: all warnings being treated as errors
make[3]: *** [arm.o] Error 1
make[3]: Leaving directory `/home/guerby/build/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/guerby/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/guerby/build'
make: *** [bootstrap] Error 2
Laurent