--- id: "bug-1112" status: "fixed" status_updated: "2026-09-24" status_note: "b1f289d2" component: "lib" severity: "unknown" timestamp: "2026-06-24T15:15:03.882281Z" last_seen: "2026-09-19T09:00:00Z" occurrences: 1 files: ["src/lib/raft/raft_sim.c"] tags: ["raft-sim-conformance", "link-error", "task-5.3", "undefined-reference", "pre-existing"] related: [] fix_commits: ["b1f289d2"] legacy: true --- # bug-1112: ld: undefined reference to 'raft_sim_scenario_drop_dup_reorder' at test_raft.c:8288 — lib test… ## Description ld: undefined reference to 'raft_sim_scenario_drop_dup_reorder' at test_raft.c:8288 — lib test binary fails to link ## Environment _Not recorded (migrated from buglog.json)._ ## Reproduction _Not recorded (migrated from buglog.json)._ ## Root cause Commit e445404 (task 5.3 drop/dup/reorder) added the raft.h declaration + the test_sim_5_3 test but FORGOT to add the raft_sim_scenario_drop_dup_reorder implementation to raft_sim.c. Symbol is declared+referenced but never defined, breaking the link for the whole xcelib_test binary. ## Fix Pre-existing, outside task 5.4 boundary. Surfaced while validating task 5.4 (figure8). Needs task 5.3 implementation added to raft_sim.c. NOT fixed by 5.4. ## Verification _Not recorded (migrated from buglog.json)._ ## References _Not recorded (migrated from buglog.json)._