Your message dated Sun, 22 May 2022 12:18:51 +0000
with message-id <[email protected]>
and subject line Bug#978040: fixed in fpc 3.2.2+dfsg-10
has caused the Debian Bug report #978040,
regarding Warning: (9034) "crtbeginS.o" not found (on non-intel architectures)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
978040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978040
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fpc
Version: 3.2.0+dfsg-8
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
* What led up to the situation?
trying to compile my source throws warnings (which subsequently causes failure
to build due to "-Sewnh".
I can of course remove that option and continue build even in presence of
warnings, but would like to fix
the problem at the source, as it is simple fix):
fpc -Mtp -g -gl -gv -fPIC -C3 -Ci -Co -CO -O1 -gw -godwarfsets -gt -vewnhiq
-Sa -Sy -vm4049 -Sewnh -k-lSDL_mixer -k-lSDL -k-lm -k'-z relro' -k'-z now'
-k-pie is.pas
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.0+dfsg-8 [2020/08/22] for arm
Copyright (c) 1993-2020 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling is.pas
(3104) Compiling _paths_.pas
(9015) Linking is
is.pas(86,1) Warning: (9034) "crtbeginS.o" not found, this will probably cause
a linking failure
is.pas(86,1) Warning: (9034) "crtendS.o" not found, this will probably cause a
linking failure
is.pas(86,1) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcarm returned an error exitcode
make: *** [Makefile:83: is] Error 1
* What exactly did you do (or not do) that was effective (or
ineffective)?
it seems that required /usr/lib/gcc/XXXXX/YYYY library path is not included on
fpc.cfg on ARM architectures
(https://buildd.debian.org/status/package.php?p=ironseed shows that warnings at
least for arm64, armel, armhf)
It is mentioned in FAQ at
https://wiki.lazarus.freepascal.org/Lazarus_Faq#I_receive_a_warning_during_the_linking_that_states:_Warning:_.22crtbeginS.o.22_.28or_.22crtendS.o.22.29_not_found
and manually adding "-Fl/usr/lib/gcc/arm-linux-gnueabihf/10" to
/etc/fpc-3.2.0.cfg fixes the problem.
Similar library path is already present for amd64/i386 inside ifdef marked with
"# path to the gcclib".
It should be simple to add it to non-intel architectures too.
* What was the outcome of this action?
The two warnings show above appear (and so build fails due to '-Sewnh')
* What outcome did you expect instead?
No warnings, and sucessful build on ARM.
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: armhf (armv7l)
Kernel: Linux 5.2.0-0.bpo.2-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Versions of packages fpc depends on:
ii fp-docs-3.2.0 3.2.0+dfsg-8
ii fp-utils-3.2.0 3.2.0+dfsg-8
ii fpc-3.2.0 3.2.0+dfsg-8
fpc recommends no packages.
fpc suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: fpc
Source-Version: 3.2.2+dfsg-10
Done: Abou Al Montacir <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fpc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Abou Al Montacir <[email protected]> (supplier of updated fpc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 22 May 2022 13:57:24 +0200
Source: fpc
Architecture: source
Version: 3.2.2+dfsg-10
Distribution: unstable
Urgency: medium
Maintainer: Pascal Packaging Team <[email protected]>
Changed-By: Abou Al Montacir <[email protected]>
Closes: 978040
Changes:
fpc (3.2.2+dfsg-10) unstable; urgency=medium
.
* Added a trigger to detect GCC version change and updated configuration.
(Closes: Bug#978040)
Checksums-Sha1:
ceef6321dfe9c5fbc6133160807f695e4c85561a 3788 fpc_3.2.2+dfsg-10.dsc
c4d0de636a4a03b8737d8f8fd299fba7fa1e4a9f 122628 fpc_3.2.2+dfsg-10.debian.tar.xz
b80c7735e17a0a356fd35dd0b321fc3a9853612c 17648
fpc_3.2.2+dfsg-10_amd64.buildinfo
Checksums-Sha256:
8915ab5f5f67ff900198f343ab9a6ee25773307ad5850c064d2f5692259a6ce2 3788
fpc_3.2.2+dfsg-10.dsc
9edde76dd61d567502c11191a46b80321740cf07aa46efa39f8c6369c9288948 122628
fpc_3.2.2+dfsg-10.debian.tar.xz
eb9477c5678399ed4e79064b2fbcac2f988e459ee64f35212856ec175393c2b3 17648
fpc_3.2.2+dfsg-10_amd64.buildinfo
Files:
75aca19d38a331f5097036a2ac51dbe1 3788 devel optional fpc_3.2.2+dfsg-10.dsc
54d9927b1f62cbea033a04fb9a597230 122628 devel optional
fpc_3.2.2+dfsg-10.debian.tar.xz
fc16b2575502e607f46efd0c700fbf91 17648 devel optional
fpc_3.2.2+dfsg-10_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iI0EAREKADUWIQS69sZENhB4UNQicQazJVxtVYeNjAUCYoontRccYWJvdS5hbG1v
bnRhY2lyQHNmci5mcgAKCRCzJVxtVYeNjPgXAP43XwdQRNhx/RabevqDpgNU9ynQ
4HuHYyl38w8DtMmNEQEAuIEisu8K+g49ND3rZE5KkPad0+1JlFtgAwR/i/JX4eA=
=PmKf
-----END PGP SIGNATURE-----
--- End Message ---