Menu

#3793 pic16 libm build fails

open
nobody
None
PIC16
5
2024-11-01
2024-11-01
No

As mentioned by Erik on the sdcc-devel mailing list (https://sourceforge.net/p/sdcc/mailman/message/58836336/), there is an issue with the pic16 library. I can reproduce it on Debian GNU/Linux testing on amd64 and powerpc64, which uses gputils 1.4.0:

ldexpf.asm:111:Error[1102]   Parser error: syntax error
ldexpf.asm:162:Error[1102]   Parser error: syntax error
ldexpf.asm:188:Error[1102]   Parser error: syntax error

I don't remember any recent changes to the pic16 port, so this was likely some change in machine-independent parts of SDCC that triggers a preexisting pic16 issue.

Related

Wiki: SDCC 4.5.0 Release
Wiki: SDCC 4.6.0 Release

Discussion

  • Philipp Klaus Krause

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -As mentioned by Erik on the sdcc-devel mailing list (https://sourceforge.net/p/sdcc/mailman/message/58836336/), there is an issue with the pic16 library. I can reproduce it on Debian GNU/Linux testing on amd64, which uses gputils 1.4.0:
    +As mentioned by Erik on the sdcc-devel mailing list (https://sourceforge.net/p/sdcc/mailman/message/58836336/), there is an issue with the pic16 library. I can reproduce it on Debian GNU/Linux testing on amd64 and powerpc64, which uses gputils 1.4.0:
    
     ~~~~
     ldexpf.asm:111:Error[1102]   Parser error: syntax error
    
     
  • Philipp Klaus Krause

    Despite this being an issue only affecting the unmaintained pic16 port, it is still a serious issue, since if we can't fix ii, the next release won't have a pic16 port at all.

     
  • Philipp Klaus Krause

    In [r15064], I implemented a workaround: disabling the optimization that triggers the pic16 issue.

     

    Related

    Commit: [r15064]


Log in to post a comment.

MongoDB Logo MongoDB