Title [lmacros] Newer NASM revisions spam "label ... changed during code generation" on errors
AuthorE. C. Masloch
Created2026-08-05 21:11:43 +0200 Aug Wed
State closed

Test file: test.asm, content:

    dw missinglabel
label:
    jmp label

Test output:

$ nasm test.asm
test.asm:2: error: symbol `missinglabel' not defined
test.asm:3: error: label `label' changed during code generation (offset 0x2 -> 0x0) [-w+error=label-redef-late]

This is a problem because among all the label-redef-late errors, which often count in the dozens, it is difficult to find the useful error messages.

E. C. Masloch on 2026-08-05 21:16:35 +0200 Aug Wed

This warning/error message is disabled by default in lmacros1.mac of hg b1e37316f1ca on 2026-07-11.