1 |
On Fri, Feb 3, 2012 at 8:52 PM, Grant <emailgrant@×××××.com> wrote: |
2 |
> Does anyone have any ideas on this? I just completed an emerge -e |
3 |
> world so I don't think anything needs to be re-emerged. Everything |
4 |
> compiles fine except for gcc-4.5.3-r1 (I'm on gcc-4.3.4) and |
5 |
> firefox-9.0: |
6 |
> |
7 |
> /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcchunk.cpp: |
8 |
> In function 'void* MapAlignedPages(size_t, size_t)': |
9 |
> /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcchunk.cpp:243: |
10 |
> error: pointer of type 'void *' used in arithmetic |
11 |
> /var/tmp/portage/www-client/firefox-9.0/work/mozilla-release/js/src/jsgcchunk.cpp:243: |
12 |
> error: pointer of type 'void *' used in arithmetic |
13 |
|
14 |
That looks like a change in how the compiler treats bad code, or the |
15 |
introduction of bad code in an updated version of Firefox. The |
16 |
compiler can't sanely do pointer arithmetic without knowing the |
17 |
pointer type. Looks like the version you're compiling with throws an |
18 |
error on that. |
19 |
|
20 |
Are using anything like -Werror and/or -Wall in your CFLAGS? |
21 |
|
22 |
|
23 |
|
24 |
|
25 |
-- |
26 |
:wq |