[Pkg-pascal-devel] Multi-Arch flag for FPC
Abou Al Montacir
abou.almontacir at sfr.fr
Thu Nov 2 10:36:05 UTC 2017
On Thu, 2017-11-02 at 10:40 +0100, Abou Al Montacir wrote:
> 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}
I mean we need to fix the units install path in the same way we did above.
--
Cheers,
About Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20171102/9571ef32/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/9571ef32/attachment.sig>
More information about the Pkg-pascal-devel
mailing list