fix: soul-demo emit_metric linker error — rebuild from source, compile with el_runtime.c #7
Reference in New Issue
Block a user
Delete Branch "fix/soul-demo-emit-metric"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Stage CI failing with:
The committed
soul-demo.ccalled OTLP observability functions (emit_metric,emit_log,trace_span_start/end) that weren't resolving fromel_runtime.oat link time.Fix
1. Rebuild soul-demo.c from source using current elc
soul-demo.elusing the current El compilerel_from_float()compiler bug from the old versionunix_timestampfunction (would conflict with el_runtime.c)2. Dockerfile.stage: compile soul-demo with
el_runtime.cdirectlyChanged:
To:
Compiling el_runtime.c as a source file (not a pre-compiled object) ensures all symbols including
emit_metric,emit_log,trace_span_*are always resolved from the freshly staged source, bypassing any Docker layer cache divergence onel_runtime.o.