From owner-freebsd-gecko@FreeBSD.ORG Mon Apr 15 05:03:11 2013 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B6DCE572; Mon, 15 Apr 2013 05:03:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF541B5; Mon, 15 Apr 2013 05:03:11 +0000 (UTC) Received: from [188.174.33.75] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1URbZG-0003Mq-Dc; Mon, 15 Apr 2013 07:03:02 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id r3F530ew002379; Mon, 15 Apr 2013 07:03:00 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id r3F52xlN002378; Mon, 15 Apr 2013 07:02:59 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 15 Apr 2013 07:02:59 +0200 From: Matthias Apitz To: Jan Beich Subject: Re: www/firefox (r315793, 20.0.1) does not compile Message-ID: <20130415050258.GA2351@tinyCurrent> References: <20130413142647.GA2196@tinyCurrent> <51698370.5000107@smeets.im> <20130413173629.GA2627__22839.3189413056$1365874613$gmane$org@tinyCurrent> <1UR4wA-000Fut-76@internal.tormail.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1UR4wA-000Fut-76@internal.tormail.org> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.33.75 Cc: gecko@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 05:03:11 -0000 El día Saturday, April 13, 2013 a las 01:13:46PM -0500, Jan Beich escribió: > Matthias Apitz writes: > > > # uname -a > > FreeBSD aurora.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r235646: Sat May 19 15:52:36 CEST 2012 guru@aurora.Sisis.de:/usr/obj/usr/src/sys/GENERIC i386 > > > > At that time jemalloc 3.0.0 was imported, expect regressions. > > /head had recently imported clang 3.3 so www/firefox may have compile > and runtime regressions. Be prepared or add USE_GCC=yes to Makefile.local. > With gcc it gives the same error; and if I add to the source /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp the following include (as the man page requests): #include // for malloc, free #include // added by me it gives other errors: ... gmake[3]: Entering directory `/usr/ports/www/firefox/work/mozilla-release/obj-i386-portbld-freebsd10.0/memory/mozalloc' g++46 -o mozalloc.o -c -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I../../xpcom -I../../../memory/mozalloc -I. -I../../dist/include -I/usr/local/include/nspr -I/usr/local/include/nss -I/usr/local/include/nss/nss -I/usr/local/include -I/usr/local/include -fPIC -isystem/usr/local/include -I/usr/local/include -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc46 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -fno-omit-frame-pointer -isystem/usr/local/include -I/usr/local/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/mozalloc.o.pp /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp In file included from /usr/ports/www/firefox/work/mozilla-release/memory/mozalloc/mozalloc.cpp:19:0: /usr/include/malloc_np.h:59:19: error: expected '(' before 'nonnull' /usr/include/malloc_np.h:59:30: error: expected ')' before ';' token /usr/include/malloc_np.h:61:30: error: expected '(' before 'nonnull' /usr/include/malloc_np.h:61:41: error: expected ')' before ';' token /usr/include/malloc_np.h:63:19: error: expected '(' before 'nonnull' /usr/include/malloc_np.h:63:30: error: expected ')' before ';' token /usr/include/malloc_np.h:64:49: error: expected '(' before 'nonnull' /usr/include/malloc_np.h:64:60: error: expected ')' before ';' token gmake[3]: *** [mozalloc.o] Error 1 And now? Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards