public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
@ 2011-03-22 10:14 corsepiu at gcc dot gnu.org
2012-01-09 18:03 ` [Bug bootstrap/48231] " dj at redhat dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: corsepiu at gcc dot gnu.org @ 2011-03-22 10:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
Summary: bootstrapping gcc-4.6.0-RC-20110321 fails for
h8300-rtems*
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: corsepiu@gcc.gnu.org
bootstrapping gcc-4.6.0-RC-20110321 fails for --target=h8300-rtems*
with a segfault in "as" (binutils-2.21):
...
/bin/sh ../libtool --tag CXX --mode=compile
/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/./gcc/xgcc
-shared-libgcc
-B/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/./gcc
-nostdinc++
-L/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/src
-L/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/src/.libs
-nostdinc
-B/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/newlib/
-isystem
/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/newlib/targ-include
-isystem
/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/gcc-4.6.0-RC-20110321/newlib/libc/include
-B/opt/rtems-4.11/h8300-rtems4.11/bin/ -B/opt/rtems-4.11/h8300-rtems4.11/lib/
-isystem /opt/rtems-4.11/h8300-rtems4.11/include -isystem
/opt/rtems-4.11/h8300-rtems4.11/sys-include
-I/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/include/h8300-rtems4.11
-I/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/include
-I/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/gcc-4.6.0-RC-20110321/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2
-c -o locale-inst.lo
../../../../gcc-4.6.0-RC-20110321/libstdc++-v3/src/locale-inst.cc
libtool: compile:
/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/./gcc/xgcc
-shared-libgcc
-B/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/./gcc
-nostdinc++
-L/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/src
-L/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/src/.libs
-nostdinc
-B/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/newlib/
-isystem
/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/newlib/targ-include
-isystem
/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/gcc-4.6.0-RC-20110321/newlib/libc/include
-B/opt/rtems-4.11/h8300-rtems4.11/bin/ -B/opt/rtems-4.11/h8300-rtems4.11/lib/
-isystem /opt/rtems-4.11/h8300-rtems4.11/include -isystem
/opt/rtems-4.11/h8300-rtems4.11/sys-include
-I/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/include/h8300-rtems4.11
-I/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/build/h8300-rtems4.11/libstdc++-v3/include
-I/builddir/build/BUILD/rtems-4.11-h8300-rtems4.11-gcc-4.6.0/gcc-4.6.0-RC-20110321/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -c
../../../../gcc-4.6.0-RC-20110321/libstdc++-v3/src/locale-inst.cc -o
locale-inst.o
/tmp/ccuoymTp.s: Assembler messages:
/tmp/ccuoymTp.s:69895: Error: value of 66089 too large for field of 2 bytes at
15035
/tmp/ccuoymTp.s:70073: Error: value of 66488 too large for field of 2 bytes at
15309
/tmp/ccuoymTp.s:70201: Error: value of 66846 too large for field of 2 bytes at
15508
/opt/rtems-4.11/h8300-rtems4.11/bin/as: BFD (GNU Binutils) 2.21 assertion fail
../../binutils-2.21/bfd/elf.c:2795
xgcc: internal compiler error: Segmentation fault (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [istream-inst.lo] Error 1
This is a regression against gcc-4.5.2, which built flawlessly
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
@ 2012-01-09 18:03 ` dj at redhat dot com
2012-01-10 7:55 ` corsepiu at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dj at redhat dot com @ 2012-01-09 18:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
DJ Delorie <dj at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dj at redhat dot com
--- Comment #1 from DJ Delorie <dj at redhat dot com> 2012-01-09 18:02:53 UTC ---
See if this helps:
Index: gcc/config/h8300/h8300.h
===================================================================
--- gcc/config/h8300/h8300.h (revision 183004)
+++ gcc/config/h8300/h8300.h (working copy)
@@ -126,12 +126,13 @@ extern const char * const *h8_reg_names;
/* The return address is pushed on the stack. */
#define INCOMING_RETURN_ADDR_RTX gen_rtx_MEM (Pmode, gen_rtx_REG (Pmode,
STACK_POINTER_REGNUM))
#define INCOMING_FRAME_SP_OFFSET (POINTER_SIZE / 8)
#define DWARF_CIE_DATA_ALIGNMENT 2
+#define DWARF2_ADDR_SIZE 4
/* Define this if addresses of constant functions
shouldn't be put through pseudo regs where they can be cse'd.
Desirable on machines where ordinary constants are expensive
but a CALL with constant address is cheap.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
2012-01-09 18:03 ` [Bug bootstrap/48231] " dj at redhat dot com
@ 2012-01-10 7:55 ` corsepiu at gcc dot gnu.org
2012-11-02 5:35 ` corsepiu at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: corsepiu at gcc dot gnu.org @ 2012-01-10 7:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
--- Comment #2 from Ralf Corsepius <corsepiu at gcc dot gnu.org> 2012-01-10 07:55:14 UTC ---
(In reply to comment #1)
> See if this helps:
You made my day - Your patch lets building gcc-4.6.2 for --target=h8300-rtems*
succeed (using binutils-2.22).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
2012-01-09 18:03 ` [Bug bootstrap/48231] " dj at redhat dot com
2012-01-10 7:55 ` corsepiu at gcc dot gnu.org
@ 2012-11-02 5:35 ` corsepiu at gcc dot gnu.org
2013-05-02 14:53 ` joel at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: corsepiu at gcc dot gnu.org @ 2012-11-02 5:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
--- Comment #3 from Ralf Corsepius <corsepiu at gcc dot gnu.org> 2012-11-02 05:35:18 UTC ---
DJ,
any chances to see your patch from comment#1 be commited?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
` (2 preceding siblings ...)
2012-11-02 5:35 ` corsepiu at gcc dot gnu.org
@ 2013-05-02 14:53 ` joel at gcc dot gnu.org
2013-05-02 17:39 ` dj at redhat dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: joel at gcc dot gnu.org @ 2013-05-02 14:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
Joel Sherrill <joel at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joel at gcc dot gnu.org
--- Comment #4 from Joel Sherrill <joel at gcc dot gnu.org> 2013-05-02 14:53:05 UTC ---
Ping DJ.
Any chance you can commit this to all impacted branches and the head.
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
` (3 preceding siblings ...)
2013-05-02 14:53 ` joel at gcc dot gnu.org
@ 2013-05-02 17:39 ` dj at redhat dot com
2013-05-02 18:55 ` joel at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dj at redhat dot com @ 2013-05-02 17:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
--- Comment #5 from DJ Delorie <dj at redhat dot com> 2013-05-02 17:39:29 UTC ---
I'm OK with it being committed, but it's not up to me, ping Jeff or Kazu.
h8 port Jeff Law law@redhat.com
h8 port Kazu Hirata kazu@codesourcery.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
` (4 preceding siblings ...)
2013-05-02 17:39 ` dj at redhat dot com
@ 2013-05-02 18:55 ` joel at gcc dot gnu.org
2015-02-05 17:23 ` law at redhat dot com
2015-02-05 19:31 ` law at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: joel at gcc dot gnu.org @ 2013-05-02 18:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
--- Comment #6 from Joel Sherrill <joel at gcc dot gnu.org> 2013-05-02 18:55:02 UTC ---
>From Jeff Law:
The problem is that's not the right fix. See this thread:
http://gcc.gnu.org/ml/gcc-patches/2012-05/msg00707.html
Basically something needs to avoid building the C++ runtime for the 16
bit models of the H8. I don't think we have any configury magic for that.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
` (5 preceding siblings ...)
2013-05-02 18:55 ` joel at gcc dot gnu.org
@ 2015-02-05 17:23 ` law at redhat dot com
2015-02-05 19:31 ` law at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: law at redhat dot com @ 2015-02-05 17:23 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |monaka@monami-software.com
--- Comment #7 from Jeffrey A. Law <law at redhat dot com> ---
*** Bug 46918 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/48231] bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems*
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
` (6 preceding siblings ...)
2015-02-05 17:23 ` law at redhat dot com
@ 2015-02-05 19:31 ` law at redhat dot com
7 siblings, 0 replies; 9+ messages in thread
From: law at redhat dot com @ 2015-02-05 19:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48231
Jeffrey A. Law <law at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |law at redhat dot com
Resolution|--- |DUPLICATE
--- Comment #8 from Jeffrey A. Law <law at redhat dot com> ---
As noted in 21530, we don't currently support C++ on the H8 series. The way to
fix things is to somehow avoid building libstdc++ on the original H8/300, but
allow it to build on H8/300H and later variants.
Nobody is currently working on this.
*** This bug has been marked as a duplicate of bug 21530 ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2015-02-05 19:31 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-22 10:14 [Bug bootstrap/48231] New: bootstrapping gcc-4.6.0-RC-20110321 fails for h8300-rtems* corsepiu at gcc dot gnu.org
2012-01-09 18:03 ` [Bug bootstrap/48231] " dj at redhat dot com
2012-01-10 7:55 ` corsepiu at gcc dot gnu.org
2012-11-02 5:35 ` corsepiu at gcc dot gnu.org
2013-05-02 14:53 ` joel at gcc dot gnu.org
2013-05-02 17:39 ` dj at redhat dot com
2013-05-02 18:55 ` joel at gcc dot gnu.org
2015-02-05 17:23 ` law at redhat dot com
2015-02-05 19:31 ` law at redhat dot com
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).