按推荐建议,继续执行

结论:新增 interp_read.cc、interp_check.cc、interp_execute.cc 的 vendored LinuxCNC 源码直接编译探针,并纳入 native 验证,继续约束迁移工作来源于 LinuxCNC 源程序。
This commit is contained in:
2026-06-07 16:54:09 +08:00
parent d23e4f4897
commit b499ee5e2b
3 changed files with 26 additions and 0 deletions

View File

@@ -445,6 +445,11 @@ Current verified progress:
`interp_convert.cc`. The required `emcStatus` shim is limited to the native `interp_convert.cc`. The required `emcStatus` shim is limited to the native
status boundary used by `tag_arc()` for machine units; it is not a status boundary used by `tag_arc()` for machine units; it is not a
project-authored CNC behavior implementation. project-authored CNC behavior implementation.
- `tools/build_native_probes.sh` now also includes direct source compile
probes for vendored `interp_read.cc`, `interp_check.cc`, and
`interp_execute.cc`. These probes keep the next interpreter-core migration
work focused on LinuxCNC source entry points and expose missing standalone
runtime shims before wrapper behavior is expanded.
## Phase 4: Port INI Parsing Without Editing Upstream ## Phase 4: Port INI Parsing Without Editing Upstream

View File

@@ -42,6 +42,9 @@ check_exitcode linuxcnc_parameter_file_harness
check_exitcode linuxcnc_parameter_file_harness.run check_exitcode linuxcnc_parameter_file_harness.run
check_exitcode linuxcnc_rs274_compile_probe check_exitcode linuxcnc_rs274_compile_probe
check_exitcode linuxcnc_interp_convert_source_probe check_exitcode linuxcnc_interp_convert_source_probe
check_exitcode linuxcnc_interp_read_source_probe
check_exitcode linuxcnc_interp_check_source_probe
check_exitcode linuxcnc_interp_execute_source_probe
NAMEDPARAM_STDOUT="$BUILD_DIR/linuxcnc_namedparam_harness.run.stdout.log" NAMEDPARAM_STDOUT="$BUILD_DIR/linuxcnc_namedparam_harness.run.stdout.log"
grep -Fq "init_named_parameters=0" "$NAMEDPARAM_STDOUT" grep -Fq "init_named_parameters=0" "$NAMEDPARAM_STDOUT"

View File

@@ -459,4 +459,22 @@ build_object_target \
"$VENDOR_DIR/src/emc/rs274ngc/interp_convert.cc" \ "$VENDOR_DIR/src/emc/rs274ngc/interp_convert.cc" \
COMMON_FLAGS COMMON_FLAGS
build_object_target \
linuxcnc_interp_read_source_probe \
"$BUILD_DIR/linuxcnc_interp_read_source_probe.o" \
"$VENDOR_DIR/src/emc/rs274ngc/interp_read.cc" \
COMMON_FLAGS
build_object_target \
linuxcnc_interp_check_source_probe \
"$BUILD_DIR/linuxcnc_interp_check_source_probe.o" \
"$VENDOR_DIR/src/emc/rs274ngc/interp_check.cc" \
COMMON_FLAGS
build_object_target \
linuxcnc_interp_execute_source_probe \
"$BUILD_DIR/linuxcnc_interp_execute_source_probe.o" \
"$VENDOR_DIR/src/emc/rs274ngc/interp_execute.cc" \
COMMON_FLAGS
echo "native probes complete" echo "native probes complete"