Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#1107 closed defect (fixed)

bochs doesn't compile on OS X 10.3

Reported by: leimy@… Owned by: fkr@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: darwin-bugs@…
Port:

Description

Bochs has some illegal inline assembler syntax for gcc 3.3 as well as deprecated #defines from IOKit.

kIOEjectableMedia has been deprecated for a long time along with kIOBSDName

There are new versions kIOEjectableMediaKey and kIOIBSDNameKey now that should be used.

The new patchfile for cdrom_osx.cc I will commit addresses this.

Also there will be a new patchfile for fpu/poly.h and a patch for the Portfile in a subsequent post

Attachments (3)

patch-poly (1.9 KB) - added by leimy@… 17 years ago.
New patchfile fixing the inline assembly in poly.h
patch-cdrom_osx (1.3 KB) - added by leimy@… 17 years ago.
new and updated version iodev/cdrom_osx.cc
bochs-Portfile-patch (679 bytes) - added by leimy@… 17 years ago.
Patched portfile to use the newly suggested patchfile for building Bochs on 10.3

Download all attachments as: .zip

Change History (9)

Changed 17 years ago by leimy@…

Attachment: patch-poly added

New patchfile fixing the inline assembly in poly.h

Changed 17 years ago by leimy@…

Attachment: patch-cdrom_osx added

new and updated version iodev/cdrom_osx.cc

Changed 17 years ago by leimy@…

Attachment: bochs-Portfile-patch added

Patched portfile to use the newly suggested patchfile for building Bochs on 10.3

comment:1 Changed 17 years ago by leimy@…

Summary: bochs doesn't compile on OS X 10.3 bochs doesn't compile on OS X 10.3

I should note that I haven't tested running bochs yet due to lack of time [going on a trip tomorrow] and it has also not been tested for building on 10.2 or earlier.

Shantonu says the changes made for kIOEjectableMedia and kIOBSDname to their "Key" suffixed counterparts should work clear back to 10.1.

The inline assembly makes me a bit more nervous and I hope to run this when I get back from my trip

comment:2 Changed 17 years ago by fkr@…

we should try to get 2.0.2 into our tree instead. looking at that currently. -fkr

comment:3 Changed 17 years ago by fkr@…

this needs similar to your work for 2.0.2 too, though your patches won't apply anymore. Would you be able to provide them for 2.0.2? -fkr

comment:4 Changed 17 years ago by fkr@…

2.0.2 misses iodev/cdrom_osx.cc Also patch-poly does not apply anymore.

-fkr

comment:5 Changed 17 years ago by fkr@…

Cc: darwin-bugs@… added
Owner: changed from darwinports-bugs@… to fkr@…

comment:6 Changed 17 years ago by fkr@…

Resolution: fixed
Status: newclosed

committed with some minor cleanups. -fkr

Note: See TracTickets for help on using tickets.