Menu

#259 Broken build with MSVC 2015

1.25.x
closed-wont-fix
nobody
None
5
2021-10-18
2018-01-11
Ariman
No

Latest release 1.25.8 can not be built under MSVC 2015 in Win32 configuration (x64 builds just fine).
The problem is with asm files and several undefined macros in them.

Example error output is:

1>  dct36_3dnow.S
1>  Win32\Debug_x86_Dll\dct36_3dnow.asm:690: error: instruction not recognized: `PREPARE_GOT'
1>  Win32\Debug_x86_Dll\dct36_3dnow.asm:691: error: instruction not recognized: `GET_GOT'
1>  Win32\Debug_x86_Dll\dct36_3dnow.asm:788: error: instruction not recognized: `RESTORE_GOT'
1>  dct36_3dnowext.S
1>  Win32\Debug_x86_Dll\dct36_3dnowext.asm:703: error: instruction not recognized: `PREPARE_GOT'
1>  Win32\Debug_x86_Dll\dct36_3dnowext.asm:704: error: instruction not recognized: `GET_GOT'
1>  Win32\Debug_x86_Dll\dct36_3dnowext.asm:799: error: instruction not recognized: `RESTORE_GOT'

As I understnad problem is with undefined OPT_X86 macro for .S files processing. Consequently in mangle.h macros PREPARE_GOT, RESTORE_GOT and GET_GOT are undefined and they go to asm files unchanged.

Discussion

  • Thomas Orgis

    Thomas Orgis - 2020-05-16

    The MSVC files are rotting away with time … does the added cmake build (ports/cmake) help you in getting things built with MSVC?

     
  • Thomas Orgis

    Thomas Orgis - 2021-03-27

    Closing this … MSVC port will go away.

     
  • Thomas Orgis

    Thomas Orgis - 2021-03-27
    • status: open --> closed-wont-fix
     

Log in to post a comment.