VirtualBox

17 年 前 建立

16 年 前 結束

15 年 前 更新

#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)

gcc-4.3.patch (3.0 KB ) - 17 年 前, 由 İsmail Dönmez 新增
use-o3-to-workaround-gcc-ice.diff (845 位元組 ) - 17 年 前, 由 Dirk Mueller 新增
patch for spill error

下載所有附檔: .zip

更動歷史 (11)

17 年 前İsmail Dönmez 編輯

附檔: 新增 gcc-4.3.patch

comment:1 17 年 前Frank Mehnert 編輯

狀態: newassigned
負責人: 指定為 Frank Mehnert

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.

comment:2 17 年 前İsmail Dönmez 編輯

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 年 前Frank Mehnert 編輯

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 年 前İsmail Dönmez 編輯

Ah qemu problems I see, upstream qemu still doesn't support gcc4 let alone gcc 4.3.

comment:5 17 年 前Dirk Mueller 編輯

changing -O3 seems to fix the helper.c compiler ICE with gcc 4.3, see gcc.gnu.org/bugzilla/show_bug.cgi?id=35135

17 年 前Dirk Mueller 編輯

patch for spill error

comment:6 17 年 前Frank Mehnert 編輯

Thanks for this update!

comment:7 17 年 前Frank Mehnert 編輯

Note that we fixed the source a little bit different. But the file op.c still requires gcc <= 4.2. The configure script detects this correctly and asks for a compatibility compiler.

comment:8 16 年 前Frank Mehnert 編輯

Host type: otherLinux
元件: otherhost support

comment:9 16 年 前Frank Mehnert 編輯

狀態: assignedclosed
處理結果: fixed

Finally obsolete since release 2.1.0.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette