[fpc-devel] Xtensa build for ESP32 - Error: unknown opcode or format name 'dpfr'

Christo Crause christo.crause at gmail.com
Sun Feb 15 13:05:16 CET 2026


On Sun, Feb 15, 2026 at 11:45 AM iopen devel via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> A considerable way through the resulting FPC build this happened ...
>
> > Compiling ./chm/src/htmlutil.pas
> > Assembling htmlutil
> > Assembling chmsitemap
> > chm/units/xtensa-freertos/chmsitemap.s: Assembler messages:
> > chm/units/xtensa-freertos/chmsitemap.s:927: Error: unknown opcode or
> format name 'dpfr'
>

It is encouraging if the build process completed the RTL.

The dpfr opcode is valid for xtensa, so something else must be amiss. Can
you show more of the preceding make messages,
perhaps up to the make command that invoked the compiler for the
packages folder.

*****
>
> Not related to the above, but possibly relevant when compiling for
> ESP32. On the FP Xtensa page are mentioned files esp32_out.ld and
> esp32.project.ld, but neither exists on the development machine.
>

That information is a bit outdated, from around esp-idf V5 these linker
script names changed to memory.ld and sections.ld.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20260215/f166aeed/attachment.htm>


More information about the fpc-devel mailing list