extracted from Wine /home/marcus/projects/gcc.trunk/BIN/bin/gcc -c -O2 -g typelib.i -m32 /tmp/cc23hzJL.s: Assembler messages: /tmp/cc23hzJL.s:299: Error: can't resolve `.LFE8' {*UND* section} - `.Ltext0' {.text section} The -m32 (build for x86) is necessary.
Created attachment 17917 [details] typelib.i gcc -m32 -g -O3 typelib.i reduced testcase ... further reduction seems to remove the problem :/
Sounds similar to PR40249.
*** This bug has been marked as a duplicate of 40126 ***