From owner-freebsd-arm@FreeBSD.ORG Sat Jun 7 16:07:43 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F0A79A1; Sat, 7 Jun 2014 16:07:43 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3E4BD2A43; Sat, 7 Jun 2014 16:07:43 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id i50so6929345qgf.3 for ; Sat, 07 Jun 2014 09:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=P7tQMNpFpNx1hLHrWjRk1bxrgZQKUaFSkSFPZyu/cEY=; b=yyxyr4qNPPYkn77Fkp2pjBpW+8lqGDobWVG5Orj3E1/UdjSLHg41e7a52hp9I9uuuF uSl+lCn6bUUY1N4Q1zsmlfIi+XcGGUFhrBq9akvux1nPBapmclpDElfYemgqdwKJDQ/2 KI1zQf46KQCgib2ys24tTdzu46q931Lg2c0PTZSwCDlDlDHGEaXXyFhDRNzymnRQIhpI eH+divZjLh9Lhzc+bvVFWgASkaD7UP5/Z9pcmTnWMfJ6IVUKypykwuWAA2N9skwn8IDU i/mMkK8yma+nNlOkGnb1AcynYzQDAmIHS6CbLqCxIKOOX6dj8T7FxACrr/Z0pW7XUiq+ hlMg== MIME-Version: 1.0 X-Received: by 10.140.35.212 with SMTP id n78mr18037623qgn.87.1402157262372; Sat, 07 Jun 2014 09:07:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.43.134 with HTTP; Sat, 7 Jun 2014 09:07:42 -0700 (PDT) In-Reply-To: <1402156516.20883.154.camel@revolution.hippie.lan> References: <1402156516.20883.154.camel@revolution.hippie.lan> Date: Sat, 7 Jun 2014 12:07:42 -0400 X-Google-Sender-Auth: az7UU1_cbowNGL3WPLntwtWBe6g Message-ID: Subject: Re: C++ exceptions in freebsd-arm doesn't seem to work From: Adrian Chadd To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" , Olavi Kumpulainen 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: Sat, 07 Jun 2014 16:07:43 -0000 > Sadly, all I can do is confirm what you say: C++ exceptions don't work > on ARM EABI, not with clang and not with gcc. The only combo that works > is gcc and OABI, but with that combo you lose hardware floating point. > > There are rumours that this may be fixed in clang 3.5, but we apparently > can't import 3.5 because it can't be bootstrapped using gcc 4.2. I > haven't had time yet to learn how to build clang 3.5 out-of-tree to > confirm that exceptions work there. > If only we had a way to tell our build system to build the in-src-tree compiler suite using an external compiler toolchain. That'd make those problems go away. -a