[Pkg-pascal-devel] Build failures on mipsel
Abou Al Montacir
abou.almontacir at sfr.fr
Mon Mar 13 07:39:30 GMT 2023
Hi Peter,
On Fri, 2023-03-10 at 13:22 +0000, Peter B wrote:
> On 10/03/2023 10:11, Abou Al Montacir wrote:
> > It calls something like /dirname `gcc -m32 -print-libgcc-file-name`/
> > --
> > Cheers,
> > Abou Al Montacir
>
> That comes from GetGccDirArch in fppkg/src/fpmkunitsrc.inc &
> fpmkunit/src/fpmkunit.pp
Yes indeed.
>
> but that case statement does not include mipsel, and has no else/otherwise!
> I'm mystified.
This means probably that we forgot about it. Please check the following chunk
from install/debian/patches/add-arm64-support.patch and try to add a similar
patch.
// Useful
@@ -2641,6 +2641,7 @@ begin
x86_64: result := GetGccDirArch('cpux86_64','-m64');
powerpc: result := GetGccDirArch('cpupowerpc','-m32');
powerpc64:result := GetGccDirArch('cpupowerpc64','-m64');
+ aarch64: result := GetGccDirArch('cpuaarch64','');
end {case}
else if OS = darwin then
case CPU of
@@ -2648,6 +2649,8 @@ begin
x86_64: result := GetGccDirArch('cpux86_64','-arch x86_64');
powerpc: result := GetGccDirArch('cpupowerpc','-arch ppc');
powerpc64:result := GetGccDirArch('cpupowerpc64','-arch ppc64');
+ { this target uses clang }
+ aarch64: result := ''
end; {case}
end;
>
> However, if the call for mipsel (wherever it is) uses -m32 then that maybe the
> problem,
> as the mipsel gcc files are in /12 not /12/32
The -m32 in my previous mail was just a matter of example. I don't know what
mipsel needs, but assumer it was 32 bits. However it may be not needed.
--
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20230313/3c0a8612/attachment.htm>
-------------- 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/20230313/3c0a8612/attachment.sig>
More information about the Pkg-pascal-devel
mailing list