public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bernds@codesourcery.com>
To: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Cc: Hans-Peter Nilsson <hans-peter.nilsson@axis.com>,
	 gcc-patches@gcc.gnu.org, bonzini@gnu.org, sje@cup.hp.com,
	hp@axis.com
Subject: Re: Massive breakage with your libgcc patches
Date: Thu, 03 Nov 2011 13:58:00 -0000	[thread overview]
Message-ID: <4EB29A21.8070106@codesourcery.com> (raw)
In-Reply-To: <ydd39e55p07.fsf@manam.CeBiTec.Uni-Bielefeld.DE>

On 11/03/11 14:12, Rainer Orth wrote:
> Bernd Schmidt <bernds@codesourcery.com> writes:
> 
>> c6x-elf cross builds are also broken with failures in libgcc/. Rainer,
>> can you investigate?
> 
> Can you provide details?  It probably would take quite some time for me
> to set up a full cross environment, and perhaps I can spot what's amiss
> without doing so.

A cross environment for -elf targets typicaly just requires building up
binutils/newlib, and that should be rather quick to set up. A set of
patches of this magnitude really ought to have had more testing (the CFT
was useless as the patches bitrotted almost immediately and didn't apply
anymore), and not everything should have been applied at once.

Anyhow, the errors:

In file included from ../../../../baseline-trunk/libgcc/unwind-dw2.c:39:0:
../../../../baseline-trunk/libgcc/unwind-dw2.h:77:3: error: unknown type
name ���_Unwind_Personality_Fn���
../../../../baseline-trunk/libgcc/unwind-dw2.c:196:1: error:
redefinition of ���_Unwind_GetGR���
In file included from ./unwind.h:31:0,
                 from ../../../../baseline-trunk/libgcc/unwind-dw2.c:32:
/local/src/egcs/bc6x-baseline/./gcc/include/unwind-arm-common.h:221:3:
note: previous definition of ���_Unwind_GetGR��� was here
../../../../baseline-trunk/libgcc/unwind-dw2.c:241:1: error:
redefinition of ���_Unwind_SetGR���
In file included from ./unwind.h:31:0,
                 from ../../../../baseline-trunk/libgcc/unwind-dw2.c:32:
/local/src/egcs/bc6x-baseline/./gcc/include/unwind-arm-common.h:232:3:
note: previous definition of ���_Unwind_SetGR��� was here
../../../../baseline-trunk/libgcc/unwind-dw2.c:316:1: error: expected
declaration specifiers or ���...��� before numeric constant
../../../../baseline-trunk/libgcc/unwind-dw2.c:325:1: error: expected
identifier or ���(��� before ���int���
../../../../baseline-trunk/libgcc/unwind-dw2.c:334:1: error: expected
declaration specifiers or ���...��� before numeric constant
../../../../baseline-trunk/libgcc/unwind-dw2.c:352:1: warning: no
previous prototype for ���_Unwind_FindEnclosingFunction���
[-Wmissing-prototypes]
../../../../baseline-trunk/libgcc/unwind-dw2.c: In function
���extract_cie_info���:
../../../../baseline-trunk/libgcc/unwind-dw2.c:460:23: error:
���_Unwind_Personality_Fn��� undeclared (first use in this function)
../../../../baseline-trunk/libgcc/unwind-dw2.c:460:23: note: each
undeclared identifier is reported only once for each function it appears in
../../../../baseline-trunk/libgcc/unwind-dw2.c:460:47: error: expected
���;��� before ���personality���
../../../../baseline-trunk/libgcc/unwind-dw2.c: In function
���uw_frame_state_for���:
../../../../baseline-trunk/libgcc/unwind-dw2.c:1199:12: error:
���_URC_FATAL_PHASE1_ERROR��� undeclared (first use in this function)
In file included from ../../../../baseline-trunk/libgcc/unwind-dw2.c:1632:0:
../../../../baseline-trunk/libgcc/unwind.inc: In function
���_Unwind_RaiseException_Phase2���:
../../../../baseline-trunk/libgcc/unwind.inc:51:60: error: ���struct
_Unwind_Control_Block��� has no member named ���private_2���
../../../../baseline-trunk/libgcc/unwind.inc:57:9: error:
���_URC_FATAL_PHASE2_ERROR��� undeclared (first use in this function)
../../../../baseline-trunk/libgcc/unwind.inc:62:12: error: invalid type
argument of unary ���*��� (have ���int���)
../../../../baseline-trunk/libgcc/unwind.inc: At top level:
../../../../baseline-trunk/libgcc/unwind.inc:82:1: error: expected
���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before
���_Unwind_RaiseException���
../../../../baseline-trunk/libgcc/unwind.inc: In function
���_Unwind_ForcedUnwind_Phase2���:
../../../../baseline-trunk/libgcc/unwind.inc:145:61: error: ���struct
_Unwind_Control_Block��� has no member named ���private_1���
../../../../baseline-trunk/libgcc/unwind.inc:146:51: error: ���struct
_Unwind_Control_Block��� has no member named ���private_2���
../../../../baseline-trunk/libgcc/unwind.inc:157:9: error:
���_URC_FATAL_PHASE2_ERROR��� undeclared (first use in this function)
../../../../baseline-trunk/libgcc/unwind.inc:175:12: error: invalid type
argument of unary ���*��� (have ���int���)
../../../../baseline-trunk/libgcc/unwind.inc: At top level:
../../../../baseline-trunk/libgcc/unwind.inc:195:1: error: expected
���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before
���_Unwind_ForcedUnwind���
../../../../baseline-trunk/libgcc/unwind.inc:219:1: error: expected
���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before
���_Unwind_Resume���
../../../../baseline-trunk/libgcc/unwind.inc:244:1: error: expected
���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before
���_Unwind_Resume_or_Rethrow���
../../../../baseline-trunk/libgcc/unwind.inc:278:1: error: expected
���=���, ���,���, ���;���, ���asm��� or ���__attribute__��� before
���_Unwind_Backtrace���
../../../../baseline-trunk/libgcc/unwind-dw2.c:1487:1: warning:
���uw_init_context_1��� defined but not used [-Wunused-function]
../../../../baseline-trunk/libgcc/unwind-dw2.c:1564:1: warning:
���uw_install_context_1��� defined but not used [-Wunused-function]
In file included from ../../../../baseline-trunk/libgcc/unwind-dw2.c:1632:0:
../../../../baseline-trunk/libgcc/unwind.inc:38:1: warning:
���_Unwind_RaiseException_Phase2��� defined but not used [-Wunused-function]
../../../../baseline-trunk/libgcc/unwind.inc:142:1: warning:
���_Unwind_ForcedUnwind_Phase2��� defined but not used [-Wunused-function]
make[2]: *** [unwind-dw2.o] Error 1


Bernd

  reply	other threads:[~2011-11-03 13:42 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-15 17:53 CFT: [build] Move crtstuff support to toplevel libgcc Rainer Orth
2011-08-15 21:00 ` Hans-Peter Nilsson
2011-08-16 17:13   ` Rainer Orth
2011-11-02 12:49 ` Rainer Orth
2011-11-02 20:16   ` Massive breakage with your libgcc patches Hans-Peter Nilsson
2011-11-02 20:26     ` Bernd Schmidt
2011-11-03 13:17       ` Rainer Orth
2011-11-03 13:58         ` Bernd Schmidt [this message]
2011-11-03 17:28           ` Rainer Orth
2011-11-03 17:54             ` Bernd Schmidt
2011-11-03 18:15               ` Rainer Orth
2011-11-03 18:48                 ` Bernd Schmidt
2011-11-03 19:31                   ` Rainer Orth
2011-11-04 12:01                     ` Bernd Schmidt
2011-11-07 13:46                     ` Bernd Schmidt
2011-11-07 18:38                       ` Rainer Orth
2011-11-08 13:27                         ` Paolo Bonzini
2011-11-21 16:41                           ` Rainer Orth
2011-11-21 16:46                             ` Paolo Bonzini
2011-11-08 16:56                         ` Bernd Schmidt
2011-11-08 18:02                           ` Rainer Orth
2011-11-29 16:22                         ` Bernd Schmidt
2011-11-29 16:28                           ` Paolo Bonzini
2011-11-03 13:14     ` Rainer Orth
2011-11-03 14:46       ` Hans-Peter Nilsson
2011-11-03 15:42       ` Hans-Peter Nilsson
2011-11-03 15:42         ` Rainer Orth
2011-11-02 21:29   ` CFT: [build] Move crtstuff support to toplevel libgcc Jason Merrill
2011-11-02 21:47     ` Jason Merrill
2011-11-03 13:07     ` Rainer Orth
2011-11-03 13:12       ` Paolo Bonzini
2011-11-03 16:09         ` Jason Merrill
2011-11-03 11:01   ` Andreas Schwab
2011-11-03 11:37   ` Matthew Gretton-Dann
2011-11-03 16:42     ` Rainer Orth
2011-11-04 13:43   ` Andreas Krebbel
2011-11-04 14:34     ` Rainer Orth
2011-11-04 14:38     ` Andreas Krebbel
2011-11-04 14:54       ` Rainer Orth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EB29A21.8070106@codesourcery.com \
    --to=bernds@codesourcery.com \
    --cc=bonzini@gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=hans-peter.nilsson@axis.com \
    --cc=hp@axis.com \
    --cc=ro@CeBiTec.Uni-Bielefeld.DE \
    --cc=sje@cup.hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).