[Pkg-pascal-devel] Bug#970014: Bug#970014: Workaround proposal

Frédéric Bonnard frediz at debian.org
Wed Sep 23 08:52:15 BST 2020


Hi Graham,
indeed, it fails :)
Not sure if something changed in the build deps or if I just missed one
of the bits I mentioned previously, that was actually needed ; probably
the latter.

Debug info type's recommended setting seems to be dwarf anyway (32/64b).
So I've replaced -gs with -gw in components/chmhelp/lhelp/Makefile.fpc. 
It builds on amd64, i386 and ppc64el at least.
I'll send another merge request.

Thanks for letting me know!

F.

On Mon, 21 Sep 2020 11:10:30 +0200, Graham Inggs <ginggs at debian.org> wrote:
> Hi Frédéric
> 
> On Thu, 10 Sep 2020 at 11:27, Frédéric Bonnard <frediz at debian.org> wrote:
> > So I just built without pie nor -gw and -gs removal and everything
> > builds and runs fine.
> > So my workaround is that one :
> > https://salsa.debian.org/pascal-team/lazarus/-/merge_requests/2
> 
> I tried building lazarus with your patch on ppc64el in Ubuntu, but it
> failed with the following:
> 
> Compiling basecontentprovider.pas
> Assembling basecontentprovider
> lib/powerpc64-linux/basecontentprovider.s: Assembler messages:
> lib/powerpc64-linux/basecontentprovider.s:1096: Error: can't resolve
> `.text.n_basecontentprovider_$$_registercontentprovider$ansistring$tbasecontentproviderclass$$boolean'
> {.text.n_basecontentprovider_$$_registercontentprovider$ansistring$tbasecontentproviderclass$$boolean
> section} - `.BASECONTENTPROVIDER_$$_REGISTERCONTENTPROVIDER$ANSISTRING$TBASECONTENTPROVIDERCLASS$$BOOLEAN'
> {*UND* section}
> ...
> many similar errors
> ...
> lib/powerpc64-linux/basecontentprovider.s:2099: Error: can't resolve
> `.text.n_basecontentprovider_$$_finalize$'
> {.text.n_basecontentprovider_$$_finalize$ section} -
> `.BASECONTENTPROVIDER_$$_finalize$' {*UND* section}
> basecontentprovider.pas(153) Error: Error while assembling exitcode 1
> basecontentprovider.pas(153) Fatal: There were 2 errors compiling
> module, stopping
> Fatal: Compilation aborted
> 
> I then tried on plummer.debian.org and got the same result.  Did you
> see anything similar?
> 
> Regards
> Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20200923/b60353db/attachment.sig>


More information about the Pkg-pascal-devel mailing list