[M3commit] [modula3/cm3] 746e4a: Partial workaround bootstrapping from newer Visua...

GitHub noreply at github.com
Wed Jan 6 13:39:42 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/modula3/cm3
  Commit: 746e4a776bf188e03b487e4290e0df8ff8be4ff7
      https://github.com/modula3/cm3/commit/746e4a776bf188e03b487e4290e0df8ff8be4ff7
  Author: Jay Krell <jay.krell at cornell.edu>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M m3-libs/m3core/src/m3core.h
    M m3-libs/m3core/src/thread/WIN32/ThreadWin32C.c
    M m3-libs/sysutils/src/LibcCompatC.c
    M m3-sys/mklib/src/Main.m3

  Log Message:
  -----------
   Partial workaround bootstrapping from newer Visual C++ toolset to older.

 - Be sure to use _assert and not _wassert.
   Newer runtimes have both. Older runtimes only have _assert.

 - Redirect _ftol2_sse to _ftol or _ftol2.

 - Keep various symbols out of exports in mklib.

 However this still isn't enough:
  m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __dtol3 referenced in function _TimeWin32__ToFileTime
  m3core.lib.sa(TimeWin32.obj) : error LNK2019: unresolved external symbol __ltod3 referenced in function _TimeWin32__FromFileTime
  m3core.lib.sa(ThreadWin32C.obj) : error LNK2019: unresolved external symbol @__security_check_cookie at 4 referenced in function _ThreadWin32__ProcessLive
  m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __imp____fpe_flt_rounds referenced in function _m3_strtod
  m3core.lib.sa(dtoa.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function _m3_strtod

 at which point give up.


  Commit: 784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a
      https://github.com/modula3/cm3/commit/784fbaa9a94dcc03ca0e2401ad38a338b7a88c0a
  Author: Jay Krell <jay.krell at cornell.edu>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M scripts/env/winddk/3790/wxp/x86.cmd

  Log Message:
  -----------
  Go ahead and workaround missing cderr.h in XP environment.


  Commit: 561904013825bea5e490751e4f09237bdd5c87a9
      https://github.com/modula3/cm3/commit/561904013825bea5e490751e4f09237bdd5c87a9
  Author: Jay Krell <jay.krell at cornell.edu>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    A scripts/python/test1.cmd

  Log Message:
  -----------
  Add what I'm using to look for the alloca problem, and not a bad
workflow for some testing.


  Commit: e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c
      https://github.com/modula3/cm3/commit/e0bfe8ce30aa1d5dd9fb4cb1297670e7f67f227c
  Author: Jay Krell <jay.krell at cornell.edu>
  Date:   2016-01-06 (Wed, 06 Jan 2016)

  Changed paths:
    M m3-libs/sysutils/src/LibcCompatC.c
    M m3-sys/mklib/src/Main.m3

  Log Message:
  -----------
  Add _wassert so that one can upgrade from the 5.8.6 release
using Visual C++ 7.1.


Compare: https://github.com/modula3/cm3/compare/bc3df1e2e503...e0bfe8ce30aa


More information about the M3commit mailing list