From owner-freebsd-arm@FreeBSD.ORG Sun Aug 3 17:57:08 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 71B2AA8A for ; Sun, 3 Aug 2014 17:57:08 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45F492A73 for ; Sun, 3 Aug 2014 17:57:07 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1XDyRU-0007QT-47; Sun, 03 Aug 2014 16:15:28 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id s73GFQUe010659; Sun, 3 Aug 2014 10:15:26 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX18OyYNEpJ8g2mc9+4zsaSPh X-Authentication-Warning: paranoia.hippie.lan: Host revolution.hippie.lan [172.22.42.240] claimed to be [172.22.42.240] Subject: Re: Compilation for ARM, patches From: Ian Lepore To: mexas@bristol.ac.uk In-Reply-To: <201408031011.s73ABrDH079670@mech-cluster241.men.bris.ac.uk> References: <201408031011.s73ABrDH079670@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset="us-ascii" Date: Sun, 03 Aug 2014 10:15:25 -0600 Message-ID: <1407082525.56408.267.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 17:57:08 -0000 On Sun, 2014-08-03 at 11:11 +0100, Anton Shterenlikht wrote: > >From: Ian Lepore > >Date: Fri, 01 Aug 2014 14:38:45 -0600 > > > >Sorry it took so long, but I've finally gotten these patches committed, > >as of r269395, thanks for submitting them. You were right about the > >nested .fnstart being an error. I learned more about the unwind info > >while working on the c++ exception bugs -- multiple .fnstart without > >a .fnend in between can't be expressed correctly at all, the tools are > >right to complain about that. > > > >I made some changes to the EENTRY() stuff, if I didn't get it right and > >it needs more changes to compile with your newer binutils, just let me > >know and I'll adjust as needed. > > > >I also committed the .arch_extension for ti_smc.S, which actually > >required changing our base binutils to recognize .arch_extension (but it > >was worth it, because if we start correcting our code now it will be > >ready when we update our tools in base). > > > >-- Ian > > Just to clarify, is this for clang or for GCC, or both? > > Thanks > > Anton It's actually, more than anything, "for the future." The code was compiling as-is (obviously) using our current base toolchains, but Stepan was trying to use newer tools (to get some features he needed) and he ran into these problems in our code. Fixing them now means we'll have less to fix all at once when we move to newer tools in base. -- Ian