<html><head></head><body bgcolor="#ffffff" text="#2e3436" link="#2a76c6" vlink="#2e3436"><div>On Thu, 2017-11-02 at 10:40 +0100, Abou Al Montacir wrote:</div><blockquote type="cite"><div>Hi Paul</div><div><br></div><div>On Wed, 2017-11-01 at 21:14 +0100, Paul Gevers wrote:</div><blockquote type="cite"><pre>Hi Abou,

Did you notice¹ that the multi-arch: same is causing issues? It seems
that fpc doesn't know the difference between armel and armhf and thus
files under /usr/lib/fpc/<version>/units/arm-linux are shared between
those two architectures and thus our packages can't be multi-arch: same
in the current state.²

Paul

¹ <a href="https://tracker.debian.org/pkg/fpc">https://tracker.debian.org/pkg/fpc</a>
² <a href="https://wiki.debian.org/MultiArch/Hints#file-conflict">https://wiki.debian.org/MultiArch/Hints#file-conflict</a><br></pre></blockquote><div><br></div><div>No I did no notice that, thanks for the notice.</div><div><div>That means that we need to fix the compiler/systems/t_linux.pp around line 137:</div><div></div><div><div></div><div><div><div><font face="monospace" size="3">{$ifdef arm}</font></div><div><font face="monospace" size="3">  { some newer Debian have the crt*.o files at uncommon locations,</font></div><div><font face="monospace" size="3">    for other arm flavours, this cannot hurt }</font></div><div><font face="monospace" size="3">  if not Dontlinkstdlibpath Then</font></div><div><font face="monospace" size="3">{$ifdef FPC_ARMHF}</font></div><div><font face="monospace" size="3">    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabihf',true);</font></div><div><font face="monospace" size="3">{$endif FPC_ARMHF}</font></div><div><font face="monospace" size="3">{$ifdef FPC_ARMEL}</font></div><div><font face="monospace" size="3">    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-gnueabi',true);</font></div><div><font face="monospace" size="3">{$endif}</font></div><div><font face="monospace" size="3">{$endif arm}</font></div><div></div></div><div style="white-space: normal;"><span><pre></pre></span></div></div></div></div></blockquote><div><br></div><div>I mean we need to fix the units install path in the same way we did above.</div><div>--</div><div>Cheers,</div><div>About Al Montacir</div></body></html>