Skip to content

build: remove VxWorks platform support#34

Merged
gburd merged 1 commit into
masterfrom
build/drop-vxworks
Jun 25, 2026
Merged

build: remove VxWorks platform support#34
gburd merged 1 commit into
masterfrom
build/drop-vxworks

Conversation

@gburd

@gburd gburd commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

What

Remove VxWorks (Wind River Tornado / Workbench) platform support.

Why

VxWorks is an obsolete target for this project. Its support carried a
Tornado-specific build system, a dedicated OS porting layer, and conditional
code paths scattered through the engine, all of which add maintenance cost for
a platform that is no longer built or tested.

Changes

Engine and OS layer:

  • Delete src/os_vxworks/.
  • Drop the HAVE_VXWORKS / HAVE_MUTEX_VXWORKS conditional code in
    db_iface.c, fop_util.c, os_handle.c, os_mkdir.c, os_pid.c,
    os_ctime.c, os_fsync.c, test_mutex.c, globals.h, env_globals.c,
    mutex.h, mutex_int.h, os.h, db_int.in, keeping the POSIX path each
    guard fell through to.
  • Remove __db_getopt_reset from getopt.c; it existed only so VxWorks could
    re-run getopt across programs in a shared namespace, and nothing else set it.

Build system:

  • Delete build_vxworks/ and the dist VxWorks helpers (s_vxworks,
    validate/s_chk_vxworks, vx_setup/, vx_6/, vx_2.0/, vx_2.2/,
    vx_buildcd, vx_config.in).
  • Drop the vx/vxsmall/vx6 tags and build_vxworks entries from
    srcfiles.in, and the VxWorks steps from s_all, s_crypto, s_include,
    s_message_id, s_perm, s_symlink, s_validate, and the validate scripts.
  • Remove the HAVE_VXWORKS / HAVE_MUTEX_VXWORKS templates from config.m4,
    mutex.m4, and the static win/android config headers; configure and
    config.hin regenerated.

Docs:

  • Delete the VxWorks installation pages and remove their chapter from the
    installation table of contents.

Scope

Incidental historical mentions of VxWorks in reference prose (api_reference,
a few source comments) and vendored third-party files (config.sub,
libtool.m4, the SQLite amalgamation) are left untouched.

Verification

Builds clean with meson (macOS clang) after the removal; the portable paths the
guards fell through to are unchanged. CI covers the autoconf and meson matrices.

VxWorks (Wind River Tornado / Workbench) is an obsolete target for this
project and the support carried a Tornado-specific build system, a dedicated
OS porting layer, and conditional code paths throughout the engine.  Remove it.

Engine and OS layer:
- Delete src/os_vxworks/ (the VxWorks OS porting layer).
- Drop the HAVE_VXWORKS / HAVE_MUTEX_VXWORKS conditional code in db_iface.c,
  fop_util.c, os_handle.c, os_mkdir.c, os_pid.c, os_ctime.c, os_fsync.c,
  test_mutex.c, globals.h, env_globals.c, mutex.h, mutex_int.h, os.h, and
  db_int.in, keeping the POSIX path each guard fell through to.
- Remove __db_getopt_reset from getopt.c; it existed only so VxWorks could
  re-run getopt across programs in a shared namespace and nothing else set it.

Build system:
- Delete the build_vxworks/ Tornado project tree and the dist VxWorks helpers
  (s_vxworks, validate/s_chk_vxworks, vx_setup/, vx_6/, vx_2.0/, vx_2.2/,
  vx_buildcd, vx_config.in).
- Drop the vx/vxsmall/vx6 tags and build_vxworks entries from srcfiles.in, and
  the VxWorks steps from s_all, s_crypto, s_include, s_message_id, s_perm,
  s_symlink, s_validate, and the validate scripts.
- Remove the HAVE_VXWORKS / HAVE_MUTEX_VXWORKS templates from config.m4 and
  mutex.m4 and from the static win/android config headers; regenerate configure
  and config.hin.

Docs:
- Delete the VxWorks installation pages and remove their chapter from the
  installation table of contents.

Incidental historical mentions of VxWorks in reference prose (api_reference,
a few source comments) and vendored third-party files (config.sub, libtool.m4,
the SQLite amalgamation) are left untouched.
@gburd gburd merged commit 0848e75 into master Jun 25, 2026
36 of 39 checks passed
@gburd gburd deleted the build/drop-vxworks branch June 25, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant