From owner-freebsd-ports@FreeBSD.ORG Tue Apr 12 06:21:18 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E41016A4CE for ; Tue, 12 Apr 2005 06:21:18 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEF6F43D1F for ; Tue, 12 Apr 2005 06:21:17 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3C6Od8C035507; Tue, 12 Apr 2005 00:24:40 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <425B681F.5090506@samsco.org> Date: Tue, 12 Apr 2005 00:18:07 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Nottebrock References: <200504120533.j3C5XNFL008134@corbulon.video-collage.com> <200504120805.23933.michaelnottebrock@gmx.net> In-Reply-To: <200504120805.23933.michaelnottebrock@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: doc@freebsd.org cc: Mikhail Teterin cc: Roman Neuhauser cc: ports@freebsd.org cc: freebsd-ports@freebsd.org cc: Mikhail Teterin Subject: Re: mozilla's install hanging on amd64 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 06:21:18 -0000 Michael Nottebrock wrote: > On Tuesday, 12. April 2005 07:33, Mikhail Teterin wrote: > > >>>Mikhail seems to have forgotten that not too long ago, CPUTYPE was >>>something for only the most daring would use. GCC's optimizers have seen >>>much improvement since then, but just because you can get away with >>>always setting CPUTYPE for everything much more often these days doesn't >>>mean it's not risky anymore (or we would have the resources to runtime >>>test every port in the collection with all possible CPUTYPE settings on >>>each arch). >> >>Nothing except Mozilla has ever caused problems for Mikhail, that was >>traceable to this switch. > > > Lucky Mikhail. I actually don't believe you really missed the tons of broken > ports that -march=p4 used to produce with early versions of gcc3 though. > > >>make.conf(5) documents it, it should work. Period. > > > make.conf(5) documents CFLAGS. What would you like to infer from that fact? > > >>And everything does >>work. Complex things like Perl build fine and pass their self-tests (make >>test). The entire KDE built and works (although it is lacking self-tests). >> >>Time to stop blaming compiler for the software's bug -- and Mozilla has >>plenty of them. > > > If a compiler optimization produces a bad binary while the same compiler with > the switch off does not (or a different version of the compiler with the > switch does not), the compiler usually *is* to blame. I don't know of course > whether this is the case, I couldn't find the beginning of this thread. > This isn't always true. Pointer aliasing rules become stricter but still spec-legal with certain optimizer modules, for example. I'd 99% bet that mozilla or a dependency is to blame here. However, that doesn't mean that the port is non-functional. It means that it has known bugs in the non-default case that should be documented until they are fixed. I'm glad that Mikhail has exposed one of these problems, and I hope that both a temporary and permanent solution can be found. Scott