From owner-freebsd-gecko@FreeBSD.ORG Fri Aug 24 15:48:49 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 2CE52106566C for ; Fri, 24 Aug 2012 15:48:49 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id DA84F8FC12 for ; Fri, 24 Aug 2012 15:48:48 +0000 (UTC) Received: from smtp-auth2.bris.ac.uk ([137.222.10.94] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1T4w7W-0003Hu-N4; Fri, 24 Aug 2012 16:48:42 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T4w7W-0006EF-E9; Fri, 24 Aug 2012 16:48:26 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q7OFmONH004355; Fri, 24 Aug 2012 16:48:24 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q7OFmNRa004353; Fri, 24 Aug 2012 16:48:23 +0100 (BST) (envelope-from mexas) Date: Fri, 24 Aug 2012 16:48:23 +0100 (BST) From: Anton Shterenlikht Message-Id: <201208241548.q7OFmNRa004353@mech-cluster241.men.bris.ac.uk> To: jbeich@tormail.org, mexas@bristol.ac.uk In-Reply-To: <1T4aGS-0000NU-Px@internal.tormail.org> X-Spam-Score: -1.3 X-Spam-Level: - Cc: freebsd-gecko@freebsd.org Subject: Re: ia64 firefox-esr ./yarr/pcre/pcre.h:49:18: error: jstl.h: No such file or directory X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 15:48:49 -0000 From jbeich@tormail.org Thu Aug 23 18:21:41 2012 > Assertion failure: size_t(sysconf(_SC_PAGESIZE)) == PageSize, at /usr/ports/experimental/www/firefox/work/mozilla-beta/js/src/gc/Memory.cpp:302 Hmm, ia64 and sparc64 use 8k page size by default. Try attached patch. You don't need to do `make clean', it's possible to continue, e.g. $ patch -p0 -d $(make -V WRKSRC) -i ~/patch-pagesize-ia64-sparc64 $ rm $(make -V BUILD_COOKIE) Do I understand correctly that this only saves on "make configure"? $ make this competed fine # test before install $ cd $(make -V WRKSRC)/dist/bin $ LD_LIBRARY_PATH=. ./firefox I did a bit of reading on xpcshell. I understand that xpcshell is used to test js code. So my segfault, produced by xpcshell, means that some of js tests, run before installation, resulted in segfault. Is that right? Anyway, I build as root in sh(1), so I did: # LD_LIBRARY_PATH=". ./firefox" # export LD_LIBRARY_PATH # echo $LD_LIBRARY_PATH . ./firefox # which is what you wanted, right? So do I then do ./run-mozilla.sh ./xpcshell ? This just gives: # ./run-mozilla.sh ./xpcshell js> quit() nsStringStats => mAllocCount: 2183 => mReallocCount: 321 => mFreeCount: 2183 => mShareCount: 7472 => mAdoptCount: 49 => mAdoptFreeCount: 49 # Is this page relevant here: https://developer.mozilla.org/en-US/docs/XPConnect/xpcshell If it still crashes show backtrace for all threads, e.g. (gdb) thread apply all bt Or did you mean to run ./firefox from $(make -V WRKSRC)/dist/bin I'm not sure what I should do next. Many thanks Anton