Your message dated Mon, 05 Dec 2022 01:07:31 +0000
with message-id <[email protected]>
and subject line Bug#1015712: fixed in yosys 0.23-7~exp1
has caused the Debian Bug report #1015712,
regarding yosys: 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.)
--
1015712: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015712
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:yosys
Version: 0.15-1
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/yosys_0.15-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
16. Executing ABC pass (technology mapping using ABC).
16.1. Extracting gate netlist of module `\counter' to
`<abc-temp-dir>/input.blif'..
Extracted 6 gates and 11 wires to a netlist network with 4 inputs and 2 outputs.
16.1.1. Executing ABC.
Running ABC command: berkeley-abc -s -f <abc-temp-dir>/abc.script 2>&1
ABC: ABC command line: "source <abc-temp-dir>/abc.script".
ABC:
ABC: + read_blif <abc-temp-dir>/input.blif
ABC: + read_lib -w <yosys-exe-dir>/manual/PRESENTATION_Intro/mycells.lib
ABC: Parsing finished successfully. Parsing time = 0.00 sec
ABC: Warning: Templates are not defined.
ABC: Libery parser cannot read "time_unit". Assuming time_unit : "1ns".
ABC: Libery parser cannot read "capacitive_load_unit". Assuming
capacitive_load_unit(1, pf).
ABC: Scl_LibertyReadGenlib() skipped sequential cell "DFF".
ABC: Library "demo" from
"<yosys-exe-dir>/manual/PRESENTATION_Intro/mycells.lib" has 4 cells (1 skipped:
1 seq; 0 tri-state; 0 no func; 0 dont_use). Time = 0.00 sec
ABC: Memory = 0.00 MB. Time = 0.00 sec
ABC: + strash
ABC: + ifraig
ABC: + scorr
ABC: Warning: The network is combinational (run "fraig" or "fraig_sweep").
ABC: + dc2
ABC: + dretime
ABC: + strash
ABC: + &get -n
ABC: + &dch -f
ABC: + &nf
ABC: + &put
ABC: + write_blif <abc-temp-dir>/output.blif
16.1.2. Re-integrating ABC results.
ABC RESULTS: NAND cells: 4
ABC RESULTS: NOR cells: 4
ABC RESULTS: NOT cells: 3
ABC RESULTS: internal signals: 5
ABC RESULTS: input signals: 4
ABC RESULTS: output signals: 2
Removing temp directory.
Removed 0 unused cells and 10 unused wires.
17. Generating Graphviz representation of design.
17.1. Executing Verilog-2005 frontend: mycells.v
Parsing Verilog input from `mycells.v' to AST representation.
Generating RTLIL representation for module `\NOT'.
Generating RTLIL representation for module `\NAND'.
Generating RTLIL representation for module `\NOR'.
Generating RTLIL representation for module `\DFF'.
Successfully finished Verilog frontend.
17.2. Continuing show pass.
Writing dot description to `counter_03.dot'.
Dumping module counter to page 1.
Exec: dot -Tpdf 'counter_03.dot' > 'counter_03.pdf.new' && mv
'counter_03.pdf.new' 'counter_03.pdf'
End of script. Logfile hash: 3ebf0f4e86, CPU: user 0.11s system 0.01s, MEM:
12.60 MB peak
Yosys 0.15 (git sha1 2156e20)
Time spent: 43% 4x show (0 sec), 23% 1x abc (0 sec), ...
make[3]: *** [Makefile:5: counter_00.pdf] Segmentation fault
make[3]: *** Deleting file 'counter_00.pdf'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/manual/PRESENTATION_Intro'
make[2]: *** [Makefile:905: manual] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true"
GIT_REV=2156e20 ABCEXTERNAL=berkeley-abc ABCPULL=0 STRIP=: all manual returned
exit code 2
make[1]: *** [debian/rules:48: override_dh_auto_build-indep] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: yosys
Source-Version: 0.23-7~exp1
Done: Daniel Gröber <[email protected]>
We believe that the bug you reported is fixed in the latest version of
yosys, 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.
Daniel Gröber <[email protected]> (supplier of updated yosys 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: SHA256
Format: 1.8
Date: Sun, 04 Dec 2022 20:21:18 +0100
Source: yosys
Architecture: source
Version: 0.23-7~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Daniel Gröber <[email protected]>
Closes: 1015712
Changes:
yosys (0.23-7~exp1) experimental; urgency=medium
.
* Add patch to fix building with LTO (Closes: #1015712)
* Enable LTO
Checksums-Sha1:
58f68b967444c42d88519c20918c16f9f1263079 2540 yosys_0.23-7~exp1.dsc
9234a14da6d1adf844fe2530871af452d1ef7785 20612 yosys_0.23-7~exp1.debian.tar.xz
47adeaa17a5c39875f3bb960bdcbfb2969311104 7202
yosys_0.23-7~exp1_source.buildinfo
Checksums-Sha256:
c2011fc995bf0b96c6947ba6eb9d43235d3231b7ba15d4d0559d456b6d38c850 2540
yosys_0.23-7~exp1.dsc
fdb1e4b2564101eda8d47436bc0e881c6873ed332c9c1b77b5decb3ab371aba0 20612
yosys_0.23-7~exp1.debian.tar.xz
042800ba886bda9c9e5d2b87b747938d3a1f6e175f0f30060957ae1be77150d6 7202
yosys_0.23-7~exp1_source.buildinfo
Files:
6413fc1a952a7448b0f5aa47726d8fce 2540 electronics optional
yosys_0.23-7~exp1.dsc
e679ed01a73de23ece8f91d284b260eb 20612 electronics optional
yosys_0.23-7~exp1.debian.tar.xz
df68ab750b11f1a997ff4d081b9429f4 7202 electronics optional
yosys_0.23-7~exp1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEV6G/FbT2+ZuJ7bKf05SBrh55rPcFAmONPZoACgkQ05SBrh55
rPdSpxAAjdRDi2HxNNHjd/mic7l56rBMxg6oJC32MXeYQQoGSKfAbiQyHl2YIfL+
F7hKt36PTA7ebXGhzhfJOBfpKTgLuuTLgDTyLNgsetPeEoY30fXjclq4p9OFkAvH
WDzvvn2asIrOzBHSZMk106RpYyXZjSKV8dw2BLhVMI2wE47UMoHwRcgumdGD/tTR
NzVYHMZAfI15fIOB+zUw7gDKztWIsaeDD4JxiZ2fz0ptpAv58l3tkY46+rGiVLqA
NBkMO2BNHQRPwF0p++a9gQs2H+4fDY/CIiQdz8CQHlqilAgyic2cG5GKCkyFb6TV
iEpJoHRcsc4CtMHdsGi7kczCzNnPQckNwXZkNPiyjdNoqE0EiXzO4P0AVK32jwHY
82EJhlsI0ja5xmV2DVAGwnPOdrCGArnSCw6VT5cMw2v7XnarFv3hMKQiqqPm8zwK
mlSmzg55xF5R0wa9PbCvy/fr9IGEYUc7A/t7pvFTGbtI+To3+oHUnXQAkNPimSM9
uiEPSoqtONoqnLsM0FikIcz7bwj2AntKttPyCv7MfEcqbgikbbew9N1ibAdeoSQ9
JYzc1BKgQYVTF8W7hwWKasA2XRsWS9mNdgXPet8ARoCDYVlqA09E6biVnFc1xI4s
Y2FhPRYfaHt9LG8MUBLNdhxk8/Nb1PTkEYFWg9VNF3cSlmdKD1Y=
=w7Lg
-----END PGP SIGNATURE-----
--- End Message ---