#936 closed defect (fixed)
[PATCH] Fix compilation with gcc 4.3
回報者: | İsmail Dönmez | 負責人: | Frank Mehnert |
---|---|---|---|
元件: | host support | 版本: | VirtualBox 1.5.2 |
關鍵字: | 副本: | ||
Guest type: | other | Host type: | Linux |
描述
Patch taken from OpenSuse.
附加檔案 (2)
更動歷史 (11)
17 年 前 由 編輯
附檔: | 新增 gcc-4.3.patch |
---|
comment:2 17 年 前 由 編輯
If you find any problems on the compiler side please report them, GCC 4.3 will soon go into regression-only mode and be released as stable from there.
comment:3 17 年 前 由 編輯
The problem we have with gcc-4.3 is most probably the hacky way the QEmu stuff (the recompiler/ directory was originally taken from Qemu and extended) uses the assembler output of gcc. For instance, gcc-4.0 is known to not work as well. This is less a problem of gcc than of using the generated code.
comment:4 17 年 前 由 編輯
Ah qemu problems I see, upstream qemu still doesn't support gcc4 let alone gcc 4.3.
comment:5 17 年 前 由 編輯
changing -O3 seems to fix the helper.c compiler ICE with gcc 4.3, see gcc.gnu.org/bugzilla/show_bug.cgi?id=35135
We have fixed some of these problems ourself, some are still to do. Note that we don't support gcc-4.3 yet. That is VBox compiled with this compiler is not supposed to work well. We will not support gcc-4.3 before it is finally released. Currently I'm observing problems in the recompiler.