The 64-bit Linux snapshot is having a failure building the pic16 libraries in at least [r13714] and probably many revisions prior:
Making all in libsdcc
gptrget1.asm:41:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1310: gptrget1.o] Error 1
gptrget2.asm:41:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1324: gptrget2.o] Error 1
gptrget3.asm:42:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1338: gptrget3.o] Error 1
gptrget4.asm:42:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1352: gptrget4.o] Error 1
gptrput1.asm:36:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1366: gptrput1.o] Error 1
gptrput2.asm:37:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1380: gptrput2.o] Error 1
gptrput3.asm:38:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1394: gptrput3.o] Error 1
gptrput4.asm:39:Error[1102] Parser error: syntax error
gmake[10]: *** [Makefile:1408: gptrput4.o] Error 1
gmake[10]: Target 'all' not remade because of errors.
Making all in startup
gmake[9]: *** [Makefile:382: all-recursive] Error 1
gmake[8]: *** [Makefile:322: all] Error 2
The Windows snapshots rely on the Linux snapshot to generate the runtime libraries, so this also prevents the Windows snapshots from being generated.
And these are the offending lines for
gptrget?.asm:And for
gptrput?.asm:Maybe somebody with PIC experience can make sense of this.
EDIT: These appear to be the only occurrences of the
btfssinstruction.Last edit: Benedikt Freisen 2022-09-21
Actually, the problem seems to be that the preprocessor is emitting #line directives inside inline assembly blocks, which are then blithely passed on to gpasm. Starting with [r13750] the lexer should exclude these from the inline assembly. I'll close this ticket in a day or so after I confirm this problem has been fixed in the snapshot generation.
Related
Commit: [r13750]
Since considerably more than "a day or so" has passed since [r13750] and we apparently have Windows snapshots, again, I'll take the liberty to call this one fixed.
Related
Commit: [r13750]