Your message dated Tue, 16 Aug 2022 11:37:48 +0000
with message-id <[email protected]>
and subject line Bug#1015407: fixed in fpc 3.2.2+dfsg-14
has caused the Debian Bug report #1015407,
regarding fpc: ftbfs with LTO (link time optimization) enabled
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.)


-- 
1015407: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015407
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:fpc
Version: 3.2.2+dfsg-11
Severity: minor
Tags: sid bookworm
User: [email protected]
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/fpc_3.2.2+dfsg-11_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
writer.inc(414,28) Note: Call to subroutine "operator :=(const 
source:Variant):Extended;" marked as inline is not inlined
writer.inc(418,27) Note: Call to subroutine "operator :=(const 
source:Variant):Double;" marked as inline is not inlined
writer.inc(423,33) Note: Call to subroutine "operator :=(const 
source:Variant):UnicodeString;" marked as inline is not inlined
17129 lines compiled, 0.4 sec
7 warning(s) issued
31 note(s) issued
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 ../unix/cwstring.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ../unix/cwstring.pp
cwstring.pp(436,5) Note: Local variable "iconvindex" not used
cwstring.pp(739,21) Warning: function result variable of a managed type does 
not seem to be initialized
1190 lines compiled, 0.0 sec
1 warning(s) issued
1 note(s) issued
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 fpcylix.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling fpcylix.pp
55 lines compiled, 0.0 sec
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 ../inc/softfpu.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ../inc/softfpu.pp
9387 lines compiled, 0.1 sec
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 ../inc/sfpux80.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ../inc/sfpux80.pp
18799 lines compiled, 0.1 sec
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 ../inc/ufloatx80.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ../inc/ufloatx80.pp
91 lines compiled, 0.0 sec
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 ../inc/sfpu128.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ../inc/sfpu128.pp
18799 lines compiled, 0.1 sec
/usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. 
-FU../../rtl/units/x86_64-linux -Cg @/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg 
-dx86_64 ../inc/ufloat128.pp
Free Pascal Compiler version 3.2.2+dfsg-11 [2022/05/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ../inc/ufloat128.pp
91 lines compiled, 0.0 sec
make[2]: Leaving directory '/<<PKGBUILDDIR>>/fpcsrc/rtl/linux'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/fpcsrc/rtl'
/usr/bin/make -C fpcsrc/packages/fpmkunit bootstrap 
OPT=@/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg
make[1]: Entering directory '/<<PKGBUILDDIR>>/fpcsrc/packages/fpmkunit'
/bin/mkdir -p units_bs/x86_64-linux
/usr/bin/ppcx64 src/fpmkunit.pp -n -Fu../../rtl/units/x86_64-linux 
-FUunits_bs/x86_64-linux -Fu../paszlib/src -Fu../hash/src -Fi../paszlib/src -Cg 
-Fi../fcl-process/src/unix -Fu../fcl-process/src -Fi../fcl-process/src/linux 
-Fi../fcl-process/src/dummy -Fu../libtar/src 
@/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg
make[1]: Leaving directory '/<<PKGBUILDDIR>>/fpcsrc/packages/fpmkunit'
/usr/bin/make -C fpcsrc/utils/fpcm 
OPT=@/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg
make[1]: Entering directory '/<<PKGBUILDDIR>>/fpcsrc/utils/fpcm'
/usr/bin/ppcx64 fpmake.pp -n -Fu../../rtl/units/x86_64-linux 
-Fu../../packages/paszlib -Fu../../packages/fcl-process -Fu../../packages/hash 
-Fu../../packages/libtar -Fu../../packages/fpmkunit/units_bs/x86_64-linux  
@/<<PKGBUILDDIR>>/debian/deb-build-fpc.cfg
/usr/bin/ld.bfd: -f may not be used without -shared
fpmake.pp(252,1) Error: Error while linking
fpmake.pp(252,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [Makefile:2486: fpmake] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/fpcsrc/utils/fpcm'
make: *** [debian/rules:536: fpcsrc/utils/fpcm/bin/x86_64-linux/fpcmake] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit 
status 2

--- End Message ---
--- Begin Message ---
Source: fpc
Source-Version: 3.2.2+dfsg-14
Done: Graham Inggs <[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.
Graham Inggs <[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: Tue, 16 Aug 2022 10:47:13 +0000
Source: fpc
Built-For-Profiles: noudeb
Architecture: source
Version: 3.2.2+dfsg-14
Distribution: unstable
Urgency: medium
Maintainer: Pascal Packaging Team <[email protected]>
Changed-By: Graham Inggs <[email protected]>
Closes: 1015407
Changes:
 fpc (3.2.2+dfsg-14) unstable; urgency=medium
 .
   * Team upload
   * Add patch from Fedora to fix linking errors on ppc64el
   * Add patch from Fedora to fix pas2jni failing to run properly
   * Filter -ffat-lto-objects from deb-build-fpc.cfg to avoid
     '-f may not be used without -shared' link error
     (Closes: #1015407)
Checksums-Sha1:
 de52d84d801c5326a32ce9c59b3a0eadc4c499bb 4361 fpc_3.2.2+dfsg-14.dsc
 d441ab76074ae22bb3a2d0e2d222d991254915ed 127700 fpc_3.2.2+dfsg-14.debian.tar.xz
Checksums-Sha256:
 570982d7668c42b12446e303b88310ea47f330de62ee327c48a8cc0d3135e80d 4361 
fpc_3.2.2+dfsg-14.dsc
 a8ce192aadedac0ddcb80357e6690c11447484b6da0b98e39031d589b92315b7 127700 
fpc_3.2.2+dfsg-14.debian.tar.xz
Files:
 a4c08adcd53b490755696862b2635e3a 4361 devel optional fpc_3.2.2+dfsg-14.dsc
 22480d130a6edf46b6df1831ee7a7867 127700 devel optional 
fpc_3.2.2+dfsg-14.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmL7drcACgkQr8/sjmac
4cJodRAAjo5nB0EH2mtfCZMw5eFrMhve5add3f/G3F7Nt04Mctcp0TX19SZ/Syei
qH9KEdIOKRI+X9eLe35eNpNPAOY78DUxIBYuWNs23F2qgK2booKXf+ihdCxPEfYD
85WirTLq7H2Cx40MRdpa177atFATAti02N6ucJbR27+FIRgPkZXt9mXIDNcGJbNA
f6tghQloCRTqWVCMx0+IoQaKKjxRAKRclZEyRkQAQnaKWVPHPilaK3rJbM6HaPp4
/uINcxBJGdoXkPhL7QJslO37N0SdMzWBgCSvQMcgOos7fWe4+m30fW1s+DpC/IEU
/53A8zble71jXwRjrBommZ6YqGT5+wzu2XQ5lnp8bqeHRlEp82bpCFxMthvB4ioa
Gz15si9KToK8Kr85Cqsm1UwIX+LpporowvQSi97w2gN//VFG/0Wz0nUhneJ9v4Xz
x94tfGrlifIAXCFQISOq+ZZLCAuANWc4OROy73gV/oMALO7zEoS0lpFUC5O/20mb
bDyILcZVm30jbaAojVQr5M32ZxcETnKl+RWp+Dll/mJj+fyfLSop9HHow3lfz65M
JkfWq/gh1lSW/BLbBOwAdFZ7uBLSbKL9HvYEKOtIzu94YiUmx9Z6ecRRvlrLT7Mk
zdx2bl7YDTZg4z/II9ayl8kjEOM2W7EVLPKCID9nezPXJYa99z4=
=1lCw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to