From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 18 09:57:53 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5190106564A for ; Sun, 18 Jan 2009 09:57:53 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4284E8FC14 for ; Sun, 18 Jan 2009 09:57:52 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by nf-out-0910.google.com with SMTP id h3so334926nfh.33 for ; Sun, 18 Jan 2009 01:57:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to; bh=qa4bbFufLgCerUz/O3jA+IjKpY0p5FKIMEOBJbrRows=; b=s44GR84D7ZY1Jau7/jQBw6HeIkXZ2IZ4AmvfS8WEEvUThuwVc9kC0jrb4/PqmMx8Ej GlH+v9kBSGiwXpRDN3qBiijQ5Fit0cnMhvUypxVDEhAFr5YNmwgHQiUUFp0aOM1HWzLe n6lc31M/MhzPiToZi7o36OVriIRASRF84OWOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=O9mby2E40yEGtehNj18Y4Nk7qXWHkw/8UFe5X3dy+0fHEGDPtpLKfJoDaETqfjijaj l7jCLkwX244St+nBx/xahRhc4741HG1S+fLk/yl8LAZuj9nVR3XTTRUl4CoXO82FvX0s lyDrlFptIyNkC1jf3grrbm3Emi5XXVujIy0no= Received: by 10.210.54.17 with SMTP id c17mr1549132eba.35.1232272672201; Sun, 18 Jan 2009 01:57:52 -0800 (PST) Received: from logik.internal.network (81-86-41-187.dsl.pipex.com [81.86.41.187]) by mx.google.com with ESMTPS id u14sm5669690gvf.31.2009.01.18.01.57.51 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Jan 2009 01:57:51 -0800 (PST) Received: by logik.internal.network (Postfix, from userid 11001) id EA2485C2B; Sun, 18 Jan 2009 09:57:49 +0000 (UTC) Date: Sun, 18 Jan 2009 09:57:49 +0000 From: xorquewasp@googlemail.com To: Garrett Cooper Message-ID: <20090118095749.GA63288@logik.internal.network> References: <20090117231404.GB77134@logik.internal.network> <20090118074057.GB43496@logik.internal.network> <7d6fde3d0901180138y61cf4a8bgc01fd5baa684954b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7d6fde3d0901180138y61cf4a8bgc01fd5baa684954b@mail.gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: gcc 4.3.2 libgcc_s.so exception handling broken? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 09:57:53 -0000 On 2009-01-18 01:38:12, Garrett Cooper wrote: > > I'd check the release notes between 4.2.x and 4.3.x, and see whether > or not they invalidated a certain lexigraphical part of C++ that was a > gray area, which could be affecting your compilation. Have you > possibly discussed this very issue on the gcc lists yet? Hello. Just want to clarify that the C++ example I just gave was because someone specifically asked for it. I don't think the problem is specific to a language (and I'm not even using C++) as gcc exception handling is language independent. Right now, I'm assuming that this is a bug that's turned up in (at least) 4.3.2 on FreeBSD (works on Debian). I haven't gone to the gcc lists yet because it seems like this problem only happens on FreeBSD. They're for later... > > Also, what CFLAGS / CXXFLAGS / CPUTYPE are you using? > Exactly what was shown above plus -O switches - For C: -fexceptions -O2 -g -W -Werror -Wall -std=c99 -pedantic-errors -Wno-unused-parameter For Ada: -O3 -g -fstack-check -gnatwaleFG -gnatVa -gnato -gnata thanks, xw