Menu

#1404 Build error with option --enable-cpu-level=3

fixed_in_SVN
closed
None
1
2019-03-06
2019-03-05
No

Release 2.6.9. Adding the CPU level option to the following configuration line:

/configure --prefix=$CROSSDIR --enable-cpu-level=3 --disable-show-ips --enable-debugger --enable-disasm
make

Causes the following build error:

g++ -c -I.. -I./.. -I../instrument/stubs -I./../instrument/stubs -g -O2 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -pthread   proc_ctrl.cc -o proc_ctrl.o
proc_ctrl.cc: Dans la fonction membre statique « static BX_INSF_TYPE BX_CPU_C::CLZERO(bxInstruction_c*) »:
proc_ctrl.cc:325:5: error: « write_virtual_xmmword » n'a pas été déclaré dans cette portée
     write_virtual_xmmword(i->seg(), eaddr+n, &xmmzero);
     ^~~~~~~~~~~~~~~~~~~~~
proc_ctrl.cc:325:5: note: alternatives suggérées: « write_virtual_word »
     write_virtual_xmmword(i->seg(), eaddr+n, &xmmzero);
     ^~~~~~~~~~~~~~~~~~~~~
     write_virtual_word
make[1]: *** [Makefile:141: proc_ctrl.o] Error 1
make[1] : on quitte le répertoire « /mnt/data/usr/src/advantech/bochs/cpu »
make: *** [Makefile:335: cpu/libcpu.a] Error 2

Build is successful when removing the CPU level option from the configuration line.

Discussion

  • Stanislav Shwartsman

    Already fixed in SVN

     
  • Stanislav Shwartsman

    • status: open --> closed
    • assigned_to: Stanislav Shwartsman
    • Group: to_be_fixed_in_next_release --> fixed_in_SVN
     

Log in to post a comment.