From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 14:37:08 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19A12106566B for ; Wed, 3 Nov 2010 14:37:08 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id A05528FC0C for ; Wed, 3 Nov 2010 14:37:07 +0000 (UTC) Received: by eyb7 with SMTP id 7so263269eyb.13 for ; Wed, 03 Nov 2010 07:37:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=LDKl50uQVTL7hoIfoElfLJxQNnbTRgj/C/BzO7Iqgag=; b=OMRVIxVCVe5jD4iWZqrWk2am5gEfxzLpwGQaGCWnOP7idXfNC53QsWtJ2PHgy12SVZ HM4Ld/BeWjCpOSBZEv8sMcNM7UYyyTn56l6SCQe2ro1Dcy7q1zsWMT7L+fbJOJA7lsyq 49FUkkWruQF+M8u0Oa2kMzLckaa/nJNytxe1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=fK+7J6F57deJc8uxE+SJlnSBdBo6Oj+2suAxJB7xz5hhjQtA/O13e1W0o1d/D8SiIi /felL3PEEzOdEUSfbtzVJGf+n5DhKBNgwXap0zQ2lT/WPesDn4iVhMU4yBu8/Y8h78wR BsKSsva5IzZkec+T0B7GSAwyH1biRT64r3MqY= Received: by 10.216.231.146 with SMTP id l18mr11051364weq.52.1288795025853; Wed, 03 Nov 2010 07:37:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.182.10 with HTTP; Wed, 3 Nov 2010 07:36:44 -0700 (PDT) In-Reply-To: <20101103134417.GB81149@hoeg.nl> References: <20101103134417.GB81149@hoeg.nl> From: Renato Botelho Date: Wed, 3 Nov 2010 12:36:44 -0200 Message-ID: To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Cc: current@freebsd.org Subject: Re: Openoffice doesn't work with kernel+world built with Clang X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 14:37:08 -0000 On Wed, Nov 3, 2010 at 11:44 AM, Ed Schouten wrote: > Garga! > > * Renato Botelho , 20101103 13:36: >> For now i solve my problem adding this to /etc/src.conf >> >> .if ${.CURDIR} == "/usr/src/gnu/lib/libgcc" >> CC=cc >> CXX=c++ >> .endif >> >> This way libgcc_s.so is built using gcc instead of clang and the problem >> is gone. I just wonder other problems we can find since simething on >> libgcc_s.so is broken when built with clang. > > Would it be hard to figure out which exact object file causes this? Hi Ed, I've submitted a ktrace result of openoffice execution [1], i just saw it got a SIGBUS at some point, but debug openoffice doesn't seem to be a trivial task. I don't know if we can build OO with debug symbols to make it easier to debug. If you know what i can do to help debugging, just let me know and i can provide any information. [1] - http://people.freebsd.org/~garga/ktrace-error2.txt.gz -- Renato Botelho