Actually not a compiler bug per se ... compiler was doing what it was=20 told, but not until link step was it known that program code that=20 crossed a page boundary needed jumps that won't fit in the size of the=20 jump instruction, or something like that. Basically what I was telling=20 it to do - put some functions in their own PSEG - wasn't going to be=20 possible once they reached a certain size and there is no sensible=20 workaround. The final result is that compiler team is going to update the XC8=20 documentation to advise on how to handle this. For me, I did some dumb tweaks and will ship with things not ideal but=20 working. J Jesse Lackey wrote: > ...compiler bug, someone @ microchip did some workarounds that are not > viable for my project and require buying the $1000 PRO version. And did > not directly address the fact that these errors shouldn't occur and no > information about when XC8 would be fixed. > > At least it was a timely not-useful response from Microchip. > > J > > > Jesse Lackey wrote: >> Hi All, I'm working around a weird problem, I'm using XC8 V1.34 and a >> PIC16F1789. >> >> At the moment this problem (which has come up several times) is in my >> bootloader, in its own PSECT. I have the memory range 0x3800 to 0x3FF0 >> reserved for it. >> >> The code I have uses almost the whole thing, so I want to reserve a >> larger range: 0x3400 to 0x3FF0. In doing, I get many "fixup overflow" >> errors. Some googling yields not much, basically "it is a bug" and "try >> this", which doesn't work. It has something to do with RAM and program >> memory banks, which I don't know much about because that's XC8's problem >> to deal with. >> >> I'm not even close to using available RAM/program memory in this chip. >> >> The lines of code with this problem are a simple access in an array of >> bytes. >> >> Wow, so tired of XC8 bugs/deficiencies. >> >> Tx for ANY advice. >> J >> --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .