From owner-freebsd-gecko@FreeBSD.ORG Sun Aug 9 19:28:44 2009 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FD951065673 for ; Sun, 9 Aug 2009 19:28:44 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 4053C8FC1E for ; Sun, 9 Aug 2009 19:28:43 +0000 (UTC) Received: from deuterium.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n79IpSvQ072576 for ; Sun, 9 Aug 2009 20:51:29 +0200 (CEST) (envelope-from andreast-list@fgznet.ch) Message-ID: <4A7F1AB0.9040605@fgznet.ch> Date: Sun, 09 Aug 2009 20:51:28 +0200 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: gecko@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: Subject: firefox3 under powerpc not building X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2009 19:28:44 -0000 Hi, I can not build firefox3 (3.0.13 and up) under FreeBSD -CURRENT. As far as I tracked down it is an issue in the firefox sources itself. The last working build I had was 3.0.10. Here in this area it breaks: http://mxr.mozilla.org/mozilla1.9.1/diff?file=/security/nss/lib/freebl/Makefile&diffvar=mozilla1.8.0 The below snippet does somehow not work. ----- # some code wants _X86_ defined for intel CPUs. # coreconf does this for windows, but not for Linux, FreeBSD, etc. ifeq (,$(filter-out x86 x86_64,$(CPU_ARCH))) ifneq (,$(filter-out WIN%,$(OS_TARGET))) DEFINES += -D_X86_ endif endif ----- On powerpc I get the -D_X86_ passed to the compile options, very bad. But I do not understand why. Might be that the first filter-out does not work as expected? I compared with an x86 build and with an x86_64 build. On the x86 it works as expected. But also under der x86_64 it does not do what I expect. Under x86_64 I'd expect the -D_X86_ in the compile options, right? Could you please enlight me here? If you need further information I'm happy to provide it. TIA, Andreas ppc machine: FreeBSD wolfram.andreas.nets 8.0-BETA2 FreeBSD 8.0-BETA2 #0 r196039M: Mon Aug 3 09:30:09 CEST 2009 andreast@wolfram.andreas.nets:/usr/obj/export/devel/src/sys/ANDREAST_ppc_pb powerpc