[Pkg-pascal-devel] doublecmd build failure on some architecture.

Abou Al Montacir abou.almontacir at sfr.fr
Sun Nov 14 17:49:13 GMT 2021


Hi David,

On Sun, 2021-11-14 at 16:31 +0100, Abou Al Montacir wrote:
> Hi Graham,
> 
> On Sat, 2021-11-13 at 19:57 +0200, Graham Inggs wrote:
> Hi Abou
> 
> On Sat, 13 Nov 2021 at 17:42, Abou Al Montacir <abou.almontacir at sfr.fr> wrote:
> > I noticed that doublecmd failed to build on several architecture. [1]
> > I think I have a potential fix for most of these failures.
> > I have prepared a series of patches, can you please check them and let me
> > know if I can push them?
> 
> I tried 0004-Fixed-compilation-on-some-ports-mipsel-ppc-pcc64-pcc.patch
> on plummer.d.o (ppc64el) but it still failed.  Same error, just the
> lines numbers increased by 7.
> This means that the define I used is not valid for that arch. I'll have a
> check on that machine
The defines where correct, I just did my patch on the wrong type (TUnixTime
instead of TUnixMode).
> 
> Please add yourself as an uploader for doublecmd and push to salsa,
> Thanks
> but do test your patches before uploading. :)
> Of course ;-)
Now with the new patch, attached, compilation is successful, but not link.
(9015) Linking .../doublecmd-1.0.1/doublecmd
.../doublecmd-1.0.1/units/powerpc64-linux-gtk2/utempfilesystemfilesource.o: in function `WRPR_$UTEMPFILESYSTEMFILESOURCE_$$_TTEMPFILESYSTEMFILESOURCE_$_ITEMPFILESYSTEMFILESOURCE_$_0_$_SYSTEM$_$TINTERFACEDOBJECT_$__$$_QUERYIN$CRC4F0EBBA6':
.../doublecmd-1.0.1/src//filesources/tempfilesystem/utempfilesystemfilesource.pas:1:(.text.n_WRPR_$UTEMPFILESYSTEMFILESOURCE_$$_TTEMPFILESYSTEMFILESOURCE_$_ITEMPFILESYSTEMFILESOURCE_$_0_$_SYSTEM$_$TINTERFACEDOBJECT_$__$$_QUERYIN$CRC4F0EBBA6+0x4): call to `SYSTEM$_$TINTERFACEDOBJECT_$__$$_QUERYINTERFACE$TGUID$formal$$LONGINT' lacks nop, can't restore toc; (toc save/adjust stub)
/usr/bin/ld.bfd: final link failed: bad value
Error: (9013) Error while linking
Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcppc64 returned an error exitcode

As this is the first time I deal with PowerPC, I prefer asking if you know what
it is about.
Can you please help on that?
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20211114/4cbbcb6c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: face-wink.png
Type: image/png
Size: 856 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20211114/4cbbcb6c/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Fixed-compilation-on-some-ports-mipsel-ppc-pcc64-pcc.patch
Type: text/x-patch
Size: 1583 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20211114/4cbbcb6c/attachment.bin>
-------------- 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/20211114/4cbbcb6c/attachment.sig>


More information about the Pkg-pascal-devel mailing list