From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RuGel-0001qM-Hy for garchives@archives.gentoo.org; Mon, 06 Feb 2012 04:58:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C984E06CC; Mon, 6 Feb 2012 04:58:15 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E71CEE06AF for ; Mon, 6 Feb 2012 04:56:42 +0000 (UTC) Received: by bke11 with SMTP id 11so4904801bke.40 for ; Sun, 05 Feb 2012 20:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=F1IKEOgKEUDVGWftpEU4bHVJx12ET7jRy/3B94wYs50=; b=NVvP2UY/jo6w517GVK4KeVTBH1Jb7dDgj5tJzdOLIVWlsdBaOCUFYVe+hWPAUrXkm7 ii1lgnzGvdC3x352AUECxwkQr6i/Esj+++gQ4SwrsrMTozhmN9F9jAuWOEDMuROUv2w5 d3wh/SqEXAnv84x3UONh92o7uIoaafqEL7wEE= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.157.130 with SMTP id b2mr7838707bkx.22.1328504202097; Sun, 05 Feb 2012 20:56:42 -0800 (PST) Received: by 10.205.124.129 with HTTP; Sun, 5 Feb 2012 20:56:42 -0800 (PST) In-Reply-To: References: Date: Sun, 5 Feb 2012 23:56:42 -0500 Message-ID: Subject: Re: [gentoo-user] firefox-9.0 won't compile From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6f66e1c8-69b3-45e8-b03a-e4bafe402353 X-Archives-Hash: 6aab3a0307be97da9e96b7472c700e2e On Fri, Feb 3, 2012 at 8:52 PM, Grant wrote: > Does anyone have any ideas on this? =C2=A0I just completed an emerge -e > world so I don't think anything needs to be re-emerged. =C2=A0Everything > compiles fine except for gcc-4.5.3-r1 (I'm on gcc-4.3.4) and > firefox-9.0: > > /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcc= hunk.cpp: > In function 'void* MapAlignedPages(size_t, size_t)': > /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcc= hunk.cpp:243: > error: pointer of type 'void *' used in arithmetic > /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcc= hunk.cpp:243: > error: pointer of type 'void *' used in arithmetic That looks like a change in how the compiler treats bad code, or the introduction of bad code in an updated version of Firefox. The compiler can't sanely do pointer arithmetic without knowing the pointer type. Looks like the version you're compiling with throws an error on that. Are using anything like -Werror and/or -Wall in your CFLAGS? --=20 :wq