Menu

#1093 broken ABI for redolog class when enable-compressed-hd

closed
nobody
5
2012-10-15
2007-09-03
No

as shown when building vanilla bochs 2.3 :

x86_64-pc-linux-gnu-g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT hdimage.cc -fPIC -DPIC -o .libs/hdimage.o
hdimage.cc: In member function 'virtual int z_undoable_image_t::open(const char)':
hdimage.cc:1589: error: no matching function for call to 'redolog_t::open(char
&, const char [9], Bit64u&)'
hdimage.cc:992: note: candidates are: int redolog_t::open(const char, const char)
make[1]: [hdimage.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/bochs-2.3/work/bochs-2.3/iodev'
make:
[bochs_plugins] Error 2

for the following invocation (as used in gentoo proposed package) :

./configure --enable-usb --enable-pci --enable-vbe --enable-sse=2 --enable-3dnow --enable-plugins --enable-cpu-level=6 --enable-all-optimizations --enable-ne2000 --enable-sb16=linux --enable-clgd54xx --enable-apic --enable-compressed-hd --enable-pni --enable-sep
make

with the problematic code enabled when using "--enable-compressed-hd".

the debian package has a workaround for this problem which is still present in CVS

Discussion

  • Carlo Marcelo Arenas Belon

    Logged In: YES
    user_id=36771
    Originator: YES

    File Added: bochs-2.3-redolog-open.patch

     
  • Carlo Marcelo Arenas Belon

    patch for bochs 2.3 to correct open call for exported ABI

     
  • Carlo Marcelo Arenas Belon

    redolog-open patch for HEAD in CVS

     
  • Carlo Marcelo Arenas Belon

    Logged In: YES
    user_id=36771
    Originator: YES

    File Added: bochs-redolog-open.patch

     
  • Volker Ruppert

    Volker Ruppert - 2007-09-04

    Logged In: YES
    user_id=376477
    Originator: NO

    Fixed in CVS now.
    NOTE: The compressed-hd support in Bochs is still disabled even when compiled in.

     

Log in to post a comment.