Discussion:
Bug#948797: fails to compile cqrlog on arm64: cqrlog.lpr(84) Warning: (9034) "crtbegin.o" not found, this will probably cause a linking failure
Add Reply
Christoph Berg
2020-01-13 13:30:02 UTC
Reply
Permalink
Source: lazarus
Version: 2.0.6+dfsg-3
Severity: normal

Hi,

I think this is a bug in lazarus on arm64, but maybe I'm wrong:

https://buildd.debian.org/status/fetch.php?pkg=cqrlog&arch=arm64&ver=2.4.0-3&stamp=1578918606&raw=0

700 291.337/324.064 Kb Used
800 291.987/324.064 Kb Used
(9009) Assembling dlogupload
(9009) Assembling cqrlog
(9022) Compiling resource /<<PKGBUILDDIR>>/src/cqrlog.or
(9015) Linking /<<PKGBUILDDIR>>/src/cqrlog
cqrlog.lpr(84) Warning: (9034) "crtbegin.o" not found, this will probably cause a linking failure
cqrlog.lpr(84) Warning: (9034) "crtend.o" not found, this will probably cause a linking failure
cqrlog.lpr(84) Error: (9014) Can't call the linker, switching to external linking
cqrlog.lpr(84) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppca64 returned an error exitcode
Error: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 1

Other architectures are fine.

Christoph
Christoph Berg
2020-01-13 14:40:01 UTC
Reply
Permalink
Post by Christoph Berg
Other architectures are fine.
I don't think anything changed in lazarus or fpc.
I uploaded doublecmd yesterday and it build successfully on arm64[1].
Today it fails the reproducible build[2] with the same error as cqrlog.
Oh, actually I didn't look closely enough - I remembered that cqrlog
has never successfully built on some arch, but that was mipsel:

https://buildd.debian.org/status/logs.php?pkg=cqrlog&arch=mipsel

2100 111.284/116.512 Kb Used
/<<PKGBUILDDIR>>/src/./synapse/synautil.pas(2121,88) Warning: (5043) Symbol "ShortMonthNames" is deprecated
/<<PKGBUILDDIR>>/src/./synapse/synautil.pas(2122,87) Warning: (5043) Symbol "ShortMonthNames" is deprecated
/<<PKGBUILDDIR>>/src/./synapse/synautil.pas(2118,1) Fatal: Internal error 200603251
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcmipsel returned an error exitcode

The error message is the same in all mipsel logs except the oldest
one.

Christoph
Graham Inggs
2020-01-14 10:00:04 UTC
Reply
Permalink
I think this is #948803 in binutils.


https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948803
Christoph Berg
2020-01-16 17:50:02 UTC
Reply
Permalink
Post by Graham Inggs
I think this is #948803 in binutils.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948803
Thanks for the pointer. This one has been fixed in the meantime.
Post by Graham Inggs
Oh, actually I didn't look closely enough - I remembered that cqrlog
https://buildd.debian.org/status/logs.php?pkg=cqrlog&arch=mipsel
2100 111.284/116.512 Kb Used
/<<PKGBUILDDIR>>/src/./synapse/synautil.pas(2121,88) Warning: (5043) Symbol "ShortMonthNames" is deprecated
/<<PKGBUILDDIR>>/src/./synapse/synautil.pas(2122,87) Warning: (5043) Symbol "ShortMonthNames" is deprecated
/<<PKGBUILDDIR>>/src/./synapse/synautil.pas(2118,1) Fatal: Internal error 200603251
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcmipsel returned an error exitcode
The error message is the same in all mipsel logs except the oldest
one.
That's the bug I actually wanted to file.

Christoph

Graham Inggs
2020-01-13 14:40:02 UTC
Reply
Permalink
Hi Christoph
Post by Christoph Berg
https://buildd.debian.org/status/fetch.php?pkg=cqrlog&arch=arm64&ver=2.4.0-3&stamp=1578918606&raw=0
700 291.337/324.064 Kb Used
800 291.987/324.064 Kb Used
(9009) Assembling dlogupload
(9009) Assembling cqrlog
(9022) Compiling resource /<<PKGBUILDDIR>>/src/cqrlog.or
(9015) Linking /<<PKGBUILDDIR>>/src/cqrlog
cqrlog.lpr(84) Warning: (9034) "crtbegin.o" not found, this will probably cause a linking failure
cqrlog.lpr(84) Warning: (9034) "crtend.o" not found, this will probably cause a linking failure
cqrlog.lpr(84) Error: (9014) Can't call the linker, switching to external linking
cqrlog.lpr(84) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppca64 returned an error exitcode
Error: (lazarus) Compile Project, Target: cqrlog: stopped with exit code 1
Other architectures are fine.
I don't think anything changed in lazarus or fpc.
I uploaded doublecmd yesterday and it build successfully on arm64[1].
Today it fails the reproducible build[2] with the same error as cqrlog.

Regards
Graham


[1] https://buildd.debian.org/status/package.php?p=doublecmd
[2]
https://tests.reproducible-builds.org/debian/history/arm64/doublecmd.html
Loading...