public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48173] New: [4.6 regression] bootstrap error on arm-linux-gnueabi (defaulting to armv4t)
@ 2011-03-17 22:19 doko at ubuntu dot com
  2011-03-17 22:34 ` [Bug target/48173] " jakub at gcc dot gnu.org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: doko at ubuntu dot com @ 2011-03-17 22:19 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48173

           Summary: [4.6 regression] bootstrap error on arm-linux-gnueabi
                    (defaulting to armv4t)
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@ubuntu.com


according to
https://buildd.debian.org/fetch.cgi?pkg=gcc-4.6&arch=armel&ver=4.6.0~rc1-1&stamp=1300253746&file=log&as=raw

the bootstrap build fails with:

/build/buildd-gcc-4.6_4.6.0~rc1-1-armel-5jpjEr/gcc-4.6-4.6.0~rc1/build/./prev-gcc/xgcc
-B/build/buildd-gcc-4.6_4.6.0~rc1-1-armel-5jpjEr/gcc-4.6-4.6.0~rc1/build/./prev-gcc/
-B/usr/arm-linux-gnueabi/bin/ -B/usr/arm-linux-gnueabi/bin/
-B/usr/arm-linux-gnueabi/lib/ -isystem /usr/arm-linux-gnueabi/include -isystem
/usr/arm-linux-gnueabi/sys-include    -c   -g -O2 -gtoggle -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 -Wold-style-definition -Wc++-compat  -Wno-error
-DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/.
-I../../src/gcc/../include -I../../src/gcc/../libcpp/include 
-I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd
-I../libdecnumber    ../../src/gcc/expmed.c -o expmed.o
../../src/gcc/expmed.c: In function 'init_expmed':
../../src/gcc/expmed.c:134:3: warning: array subscript is above array bounds
[-Warray-bounds]
xgcc: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[5]: *** [expmed.o] Error 4
make[5]: Leaving directory
`/build/buildd-gcc-4.6_4.6.0~rc1-1-armel-5jpjEr/gcc-4.6-4.6.0~rc1/build/gcc'
make[4]: *** [all-stage2-gcc] Error 2
make[4]: Leaving directory
`/build/buildd-gcc-4.6_4.6.0~rc1-1-armel-5jpjEr/gcc-4.6-4.6.0~rc1/build'
make[3]: *** [stage2-bubble] Error 2
make[3]: Leaving directory
`/build/buildd-gcc-4.6_4.6.0~rc1-1-armel-5jpjEr/gcc-4.6-4.6.0~rc1/build'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory
`/build/buildd-gcc-4.6_4.6.0~rc1-1-armel-5jpjEr/gcc-4.6-4.6.0~rc1/build'
s=`cat status`; rm -f status; test $s -eq 0
make[1]: *** [stamps/05-build-stamp] Error 1


configured as:
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.6 --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib  --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes
--enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold
--enable-objc-gc --disable-sjlj-exceptions --enable-checking=release
--build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi

and the patch:
--- a/src/gcc/config/arm/linux-eabi.h
+++ b/src/gcc/config/arm/linux-eabi.h
@@ -44,7 +44,7 @@
    The ARM10TDMI core is the default for armv5t, so set
    SUBTARGET_CPU_DEFAULT to achieve this.  */
 #undef  SUBTARGET_CPU_DEFAULT
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi

 /* TARGET_BIG_ENDIAN_DEFAULT is set in
    config.gcc for big endian configurations.  */


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-08-29  8:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-17 22:19 [Bug target/48173] New: [4.6 regression] bootstrap error on arm-linux-gnueabi (defaulting to armv4t) doko at ubuntu dot com
2011-03-17 22:34 ` [Bug target/48173] " jakub at gcc dot gnu.org
2011-03-22  8:59 ` hector.oron at gmail dot com
2011-03-22 13:16 ` doko at ubuntu dot com
2011-03-22 14:46 ` hector.oron at gmail dot com
2011-03-24 16:29 ` rguenth at gcc dot gnu.org
2011-06-12 13:03 ` rguenth at gcc dot gnu.org
2011-06-27 16:29 ` jakub at gcc dot gnu.org
2011-10-26 18:09 ` jakub at gcc dot gnu.org
2012-03-01 15:46 ` jakub at gcc dot gnu.org
2013-04-12 15:47 ` jakub at gcc dot gnu.org
2013-08-29  8:50 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).