From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29099 invoked by alias); 30 Apr 2011 15:22:49 -0000 Received: (qmail 29085 invoked by uid 22791); 30 Apr 2011 15:22:48 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 30 Apr 2011 15:22:32 +0000 From: "tg at mirbsd dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/37109] can't canadian cross ada (if host=target, but host!=build) X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tg at mirbsd dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Sat, 30 Apr 2011 15:22:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg03205.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D37109 --- Comment #12 from Thorsten Glaser 2011-04-30 15:2= 0:08 UTC --- (In reply to comment #11) > It will be an issue, but I got the segfaults even with such a file, so I = think > the problem is more fundamental than that. OK, I=E2=80=99ll try. > What you should do is make system-linux-m68k.ads a clone of e.g. I=E2=80=99ve cloned system.ads and made changes while looking at i386, mips= eb, armeb and macppc =E2=80=93 let=E2=80=99s see how it goes from there. > system-linux-ppc.ads (both big-endian 32-bitters), set the ZCX variables = to > false, and disable stack check probes. Then update gcc-interface/Makefil= e.in > with a case that matches m68k-linux and does what other linux targets do,= but > selecting system-linux-m68k.ads and setting EH_MECHANISM=3D (the empty st= ring).=20 > This enables SJLJ EH which is simpler and adequate for initial bootstrap.= Once > gnat works on m68k you can try enabling ZCX EH (which will need dwarf2 > unwinding). Will do if that fails. Thanks for the ideas. > (I can't post a patch due to delays at the FSF wrt my employer's disclaim= er.) That=E2=80=99s luckily no problem for me, I have papers with the FSF standi= ng, even explicitly for GCC already.