Gentoo Archives: gentoo-user

From: Florian Philipp <lists@×××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] firefox-9.0 won't compile
Date: Mon, 06 Feb 2012 14:40:41
Message-Id: 4F2FE60F.90907@binarywings.net
In Reply to: Re: [gentoo-user] firefox-9.0 won't compile by Michael Mol
1 Am 06.02.2012 05:56, schrieb Michael Mol:
2 > On Fri, Feb 3, 2012 at 8:52 PM, Grant <emailgrant@×××××.com> wrote:
3 >> Does anyone have any ideas on this? I just completed an emerge -e
4 >> world so I don't think anything needs to be re-emerged. Everything
5 >> compiles fine except for gcc-4.5.3-r1 (I'm on gcc-4.3.4) and
6 >> firefox-9.0:
7 >>
8 >> /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcchunk.cpp:
9 >> In function 'void* MapAlignedPages(size_t, size_t)':
10 >> /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcchunk.cpp:243:
11 >> error: pointer of type 'void *' used in arithmetic
12 >> /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcchunk.cpp:243:
13 >> error: pointer of type 'void *' used in arithmetic
14 >
15 > That looks like a change in how the compiler treats bad code, or the
16 > introduction of bad code in an updated version of Firefox. The
17 > compiler can't sanely do pointer arithmetic without knowing the
18 > pointer type. Looks like the version you're compiling with throws an
19 > error on that.
20 >
21 > Are using anything like -Werror and/or -Wall in your CFLAGS?
22 >
23 >
24 >
25 >
26
27 Yes, enabling --Wno-pointer-arith should help.
28
29 Regards,
30 Florian Philipp

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] firefox-9.0 won't compile Corentin RIVOT <nutsinutsy@×××××.com>