From owner-freebsd-current@FreeBSD.ORG Wed Nov 3 12:38:26 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 733C9106564A for ; Wed, 3 Nov 2010 12:38:26 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 083EC8FC08 for ; Wed, 3 Nov 2010 12:38:25 +0000 (UTC) Received: by ewy28 with SMTP id 28so176200ewy.13 for ; Wed, 03 Nov 2010 05:38:25 -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:content-type; bh=WHlGgB17x1W5GppQJ8WGMZ908MZm9ixAbmMGhZxudJI=; b=AeIDxTm67vNuIGTxyHPmxr+1nUreHkEph0nOgG5xd/DweJx+BQHgWDdK7G/ktrWho2 4p1d3g8DqqwhaH79VBUNODv3XuothpcQktPSUP88HSUbl8bG+aDTjefIvjda4U33V+H4 wehRfY3a9d3OAcf/MBbXJ/B82O1fRIWJZ9eEw= 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 :content-type; b=t/pANQ5ErN8fNMkLffrx00lzvLy+2/PArOpdUHBZZXACdupeJi7oCHuw47LCoj3vxd ZKp1sopU2UxJUYVAxvB4cO5EjmhtYFBsQaIncJKHAW3Hh8/BerQBdhU4msnn6UjWgAJm G+ODHnWWMd6mrCdfd87dvPY2N0Aygr+4mTwHg= Received: by 10.216.231.146 with SMTP id l18mr10940554weq.52.1288787902537; Wed, 03 Nov 2010 05:38:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.182.10 with HTTP; Wed, 3 Nov 2010 05:36:23 -0700 (PDT) In-Reply-To: References: From: Renato Botelho Date: Wed, 3 Nov 2010 10:36:23 -0200 Message-ID: To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: 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 12:38:26 -0000 On Fri, Oct 22, 2010 at 8:54 AM, Renato Botelho wrote: > I have a 9.0-current (r214167) amd64, kernel and world built > with clang and all ports built with gcc, and i cannot start > openoffice anymore, it shows splash, start to go up and die. > > If I reinstall world+kernel built with gcc openoffice works fine. > > The is a ktrace result available [1], let me know if you need > more information or tests. 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. -- Renato Botelho