From owner-freebsd-gecko@FreeBSD.ORG Tue Sep 4 02:38:04 2012 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA55C106564A for ; Tue, 4 Sep 2012 02:38:04 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (unknown [IPv6:2607:fc50:0:d300:216:3eff:fe54:f1c6]) by mx1.freebsd.org (Postfix) with ESMTP id 86F368FC0A for ; Tue, 4 Sep 2012 02:38:04 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.5/8.14.5) with ESMTP id q846c4aG058672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Sep 2012 02:38:05 -0400 (EDT) (envelope-from andy@neu.net) Date: Tue, 4 Sep 2012 02:38:04 -0400 (EDT) From: AN To: Jan Beich In-Reply-To: <1T8i4z-000GHS-2i@internal.tormail.org> Message-ID: References: <201209032318.q83NIttL074881@trillian.chruetertee.ch> <1T8i4z-000GHS-2i@internal.tormail.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: clamav-milter 0.97.5 at my.mail.server X-Virus-Status: Clean X-Spam-Status: No, score=0.0 required=4.5 tests=RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net Cc: freebsd-gecko@freebsd.org Subject: Re: [SVN-Commit] r978 - trunk/www/firefox-nightly/files 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: Tue, 04 Sep 2012 02:38:05 -0000 On Tue, 4 Sep 2012, Jan Beich wrote: > AN writes: > >> On Mon, 3 Sep 2012, svn-freebsd-gecko@chruetertee.ch wrote: >> >>> Author: jbeich >>> Date: Mon Sep 3 23:18:55 2012 >>> New Revision: 978 >>> >>> Log: >>> resurrect gcc42 support, removed since bug 784029 >>> >>> Reported by: AN > > Oops, I've caught the above error when trying to build on redports and > then confused with the one you reported. > >> js/src/jstypedarray.cpp:3395:1: error: control reaches end of non-void function [-Werror=return-type] > > Try gcc47 or the attached workaround (put it under files/ dir). > Ok, using gcc4.7 nightly builds successfully again :) ===> Registering installation for firefox-nightly-18.0.104165,1 On gcc4.8 with the attached workaround I still get: /home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src/vm/ScopeObject-inl.h:51:5: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(CallObject::RESERVED_SLOTS == BlockObject::RESERVED_SLOTS); ^ /home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src/vm/String-inl.h: In member function 'JSAtom* js::StaticStrings::lookup(const jschar*, size_t)': ./../../dist/include/mozilla/Assertions.h:111:43: warning: typedef 'moz_static_assert124' locally defined but not used [-Wunused-local-typedefs] typedef int MOZ_STATIC_ASSERT_GLUE(moz_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./../../dist/include/mozilla/Assertions.h:79:50: note: in definition of macro 'MOZ_STATIC_ASSERT_GLUE1' # define MOZ_STATIC_ASSERT_GLUE1(x, y) x##y ^ ./../../dist/include/mozilla/Assertions.h:111:20: note: in expansion of macro 'MOZ_STATIC_ASSERT_GLUE' typedef int MOZ_STATIC_ASSERT_GLUE(moz_static_assert, __COUNTER__)[(cond) ? 1 : -1] ^ ./../../dist/include/js/Utility.h:68:42: note: in expansion of macro 'MOZ_STATIC_ASSERT' #define JS_STATIC_ASSERT(cond) MOZ_STATIC_ASSERT(cond, "JS_STATIC_ASSERT") ^ /home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src/vm/String-inl.h:390:9: note: in expansion of macro 'JS_STATIC_ASSERT' JS_STATIC_ASSERT(INT_STATIC_LIMIT <= 999); ^ gmake[3]: *** [jstypedarray.o] Error 1 gmake[3]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory `/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6/js/src' gmake[2]: *** [libs_tier_js] Error 2 gmake[2]: Leaving directory `/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6' gmake[1]: *** [tier_js] Error 2 gmake[1]: Leaving directory `/home/root/ff_nightly/work/mozilla-central-a86b00fa6bc6' gmake: *** [default] Error 2 *** [do-build] Error code 1 Stop in /home/root/ff_nightly. *** [/home/root/ff_nightly/work/.build_done.firefox._usr_local] Error code 1 I beleive upstream has swithced to clang. Should I use clang to compile nightly? What do you put into the makefile, now I have USE_GCC= 4.8+? I have clang installed as: # clang -v FreeBSD clang version 3.2 (trunk 162107) 20120817 Target: x86_64-unknown-freebsd10.0 Thread model: posix I am using the base compiler to build world and most ports. # cc -v Using built-in specs. Target: amd64-undermydesk-freebsd Configured with: FreeBSD/amd64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD]