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 |