Hi,

On Thu, 9 Mar 2023, Peter B via fpc-pascal wrote:

> Note, I have raised a bug report for this crash now.
> https://gitlab.com/freepascal.org/fpc/source/-/issues/40177

Thanks for this.

> Given that -fpic is unsupported on m68k, perhaps the compiler could
> abort an attempted -fpic compilation there with a meaningful error
> message, rather that crash out with an internal error?

I briefly looked into this now, and concluded again that implementing PIC
is not the difficult part - for me anyway - but figuring it how how it
integrates with the rest of Linux, including conventions of ELF and
linker, and symbols, and GOT tables and whatever.

But to be honest, I also never really researched this before in depth. I'm
actually interested in implementing this, because I suspect there would be
large overlaps with Amiga (etc.) support, when it comes to code
infrastructure, even if some of the actual code generation would be
different. But that's the easy part.

Charlie
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to