[Pkg-pascal-devel] Multi-Arch flag for FPC

Abou Al Montacir abou.almontacir at sfr.fr
Thu Nov 2 09:40:10 UTC 2017


Hi Paul

On Wed, 2017-11-01 at 21:14 +0100, Paul Gevers wrote:
> 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
> 
> ¹ https://tracker.debian.org/pkg/fpc
> ² https://wiki.debian.org/MultiArch/Hints#file-conflict

No I did no notice that, thanks for the notice.
That means that we need to fix the compiler/systems/t_linux.pp around line 137:


{$ifdef arm}  { some newer Debian have the crt*.o files at uncommon
locations,    for other arm flavours, this cannot hurt }  if not
Dontlinkstdlibpath Then{$ifdef
FPC_ARMHF}    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-
gnueabihf',true);{$endif FPC_ARMHF}{$ifdef
FPC_ARMEL}    LibrarySearchPath.AddPath(sysrootpath,'/usr/lib/arm-linux-
gnueabi',true);{$endif}{$endif arm}
-- 
Cheers,
Abou Al Montacir


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171102/5c4ed6a9/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://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171102/5c4ed6a9/attachment.sig>


More information about the Pkg-pascal-devel mailing list