#936 closed defect (fixed)
[PATCH] Fix compilation with gcc 4.3
Reported by: | İsmail Dönmez | Owned by: | Frank Mehnert |
---|---|---|---|
Component: | host support | Version: | VirtualBox 1.5.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
Patch taken from OpenSuse.
Attachments (2)
Change History (11)
by , 17 years ago
Attachment: | gcc-4.3.patch added |
---|
comment:1 by , 17 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
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 by , 17 years ago
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 by , 17 years ago
Ah qemu problems I see, upstream qemu still doesn't support gcc4 let alone gcc 4.3.
comment:5 by , 17 years ago
changing -O3 seems to fix the helper.c compiler ICE with gcc 4.3, see gcc.gnu.org/bugzilla/show_bug.cgi?id=35135
comment:7 by , 17 years ago
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 by , 16 years ago
Component: | other → host support |
---|---|
Host type: | other → Linux |
comment:9 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Finally obsolete since release 2.1.0.
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.