[Pkg-pascal-devel] Bug#978040: Bug#978040: Bug#978040: Warning: (9034) "crtbeginS.o" not found (on non-intel architectures)

Abou Al Montacir abou.almontacir at sfr.fr
Tue Dec 29 21:01:09 GMT 2020


Hi Matija,

On Tue, 2020-12-29 at 18:50 +0100, Matija Nalis wrote:
> As for hard coding, those paths are ALREADY hard-coded at least forIntel
> architectures (amd64, i386), for example:
...
> That hard-coded paths seem to already be auto-generated on build somehow.
The file names /etc/fpc-${version}.cfg is generated automatically by postinst
script using fpcmkcfg tool that is shipped with the compiler.
So it is somewhat not hard coded, even if with time it will become wrong (for
example after a distupgrade)
> Note that current values also seem wrong if one is using multiarch /cross-
> compiling; as a path for "ifdef cpui386" should probably bedifferent than than
> the one for "ifdef cpux86_64".
Yes this is true, and is probably fixable by hacking in fpcmkcfg tool.
The fix should use variables recognized by the compiler (like $fpctarget) in
order to support correctly multi-arch.
I'll have a deeper look on that as it looks quite serious.
-- Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20201229/fa248a6c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20201229/fa248a6c/attachment.sig>


More information about the Pkg-pascal-devel mailing list