From owner-freebsd-current@FreeBSD.ORG Thu Jun 2 10:16:09 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29A5B106564A for ; Thu, 2 Jun 2011 10:16:09 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id DE3178FC08 for ; Thu, 2 Jun 2011 10:16:08 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1QS4wi-0002wa-1B>; Thu, 02 Jun 2011 12:16:08 +0200 Received: from e178016025.adsl.alicedsl.de ([85.178.16.25] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1QS4wh-0002Qe-Uf>; Thu, 02 Jun 2011 12:16:08 +0200 Message-ID: <4DE762E7.10803@zedat.fu-berlin.de> Date: Thu, 02 Jun 2011 12:16:07 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110601 Lightning/1.0b2 Thunderbird/3.1.10 To: FreeBSD Current Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.16.25 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: -O3 -mtune=native -march=native seems to heal problem when compiling 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: Thu, 02 Jun 2011 10:16:09 -0000 Earlier last month I realized that some ports crashes on FreeBSD 9.0-CURRENT/smd64 (most recent sources), when compiled with CLANG. In particular astro/stellarium and editors/leibreoffice (3.3.2) crashed. Those crashes where recognized on all boxes with world compiled with CLANG and default optimizations or -O2 -march=native. All boxes in question do have Core2Duo (Core2) CPUs . I tried now "-O3 -march=native -mtune=native" on all those boxes while compiling with CLANG and now the crashing software in question is now working correct as expected. This is strange! Oliver P.S. I have a notebook with a Core-i5 based CPU (Clarkdale). This notebook completely fails installing FreeBSD 9.0-CURRENT/amd64 compiled with CLANG (I reported this). Compiling performed with the given defaults. I'll try to compile the OS with -O3 also and see ...