[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015532: marked as done (libvpx: ftbfs with LTO (link time optimization) enabled)



Your message dated Thu, 20 Feb 2025 03:49:20 +0000
with message-id <E1tkxYu-00D7O4-By@fasolo.debian.org>
and subject line Bug#1015532: fixed in libvpx 1.15.0-2
has caused the Debian Bug report #1015532,
regarding libvpx: 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 owner@bugs.debian.org
immediately.)


-- 
1015532: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015532
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libvpx
Version: 1.11.0-2
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
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/libvpx_1.11.0-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
a - vp9/encoder/vp9_mbgraph.c.o
a - vp9/encoder/x86/temporal_filter_sse4.c.o
a - vp9/encoder/x86/vp9_quantize_sse2.c.o
a - vp9/encoder/x86/vp9_quantize_avx2.c.o
a - vp9/encoder/x86/vp9_diamond_search_sad_avx.c.o
a - vp9/encoder/x86/vp9_highbd_block_error_intrin_sse2.c.o
a - vp9/encoder/x86/highbd_temporal_filter_sse4.c.o
a - vp9/encoder/x86/vp9_dct_intrin_sse2.c.o
a - vp9/encoder/x86/vp9_frame_scale_ssse3.c.o
a - vp9/encoder/x86/vp9_denoiser_sse2.c.o
a - vp9/encoder/x86/vp9_error_avx2.c.o
a - vp9/common/x86/vp9_mfqe_sse2.asm.o
a - vp9/encoder/x86/vp9_dct_sse2.asm.o
a - vp9/encoder/x86/vp9_error_sse2.asm.o
a - vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm.o
a - vp9/ratectrl_rtc.cc.o
ar -crsv libgtest_g.a third_party/googletest/src/src/gtest-all.cc.o
strip --strip-debug \
          -o libvpx.a libvpx_g.a
a - third_party/googletest/src/src/gtest-all.cc.o
strip --strip-debug \
          -o libvp9rc.a libvp9rc_g.a
strip --strip-debug \
          -o libgtest.a libgtest_g.a
mkdir -p vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/
cp -p libvpx.a vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.a
./vp9/encoder/vp9_bitstream.c: In function ‘encode_tile_worker’:
./vp9/encoder/vp9_bitstream.c:948:3: warning: ‘write_modes’ accessing 64 bytes in a region of size 16 [-Wstringop-overflow=]
./vp9/encoder/vp9_bitstream.c:948:3: note: referencing argument 8 of type ‘int[4] *’
./vp9/encoder/vp9_bitstream.c:488:13: note: in a call to function ‘write_modes’
./vp8/decoder/threading.c: In function ‘vp8mt_alloc_temp_buffers.part.0’:
./vp8/decoder/threading.c:768:7: warning: ‘memset’ specified bound between 18446744071562068032 and 18446744073709551592 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
./vp8/decoder/threading.c:776:7: warning: ‘memset’ specified bound between 18446744072635809824 and 18446744073709551592 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
./vp8/decoder/threading.c:784:7: warning: ‘memset’ specified bound between 18446744072635809824 and 18446744073709551592 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
    [LN]      libvpx.so.7.0.0 libvpx.so
    [LN]      libvpx.so.7.0.0 libvpx.so.7
mkdir -p ./
    [LN]      libvpx.so.7.0.0 libvpx.so.7.0
mkdir -p ./
mkdir -p ./
    [LN]      libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so
mkdir -p vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/
ln -sf  libvpx.so.7.0.0 libvpx.so
ln -sf  libvpx.so.7.0.0 libvpx.so.7
ln -sf  libvpx.so.7.0.0 libvpx.so.7.0
ln -sf  libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so
    [LN]      libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so.7
mkdir -p vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/
mkdir -p vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/
    [LN]      libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so.7.0
mkdir -p vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/
ln -sf  libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so.7
g++ -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -m64 -o test_libvpx ivfenc.c.o md5_utils.c.o test/active_map_refresh_test.cc.o test/active_map_test.cc.o test/alt_ref_aq_segment_test.cc.o test/altref_test.cc.o test/aq_segment_test.cc.o test/bench.cc.o test/borders_test.cc.o test/byte_alignment_test.cc.o test/config_test.cc.o test/cpu_speed_test.cc.o test/cq_test.cc.o test/decode_api_test.cc.o test/decode_corrupted.cc.o test/decode_svc_test.cc.o test/decode_test_driver.cc.o test/encode_api_test.cc.o test/encode_test_driver.cc.o test/error_resilience_test.cc.o test/external_frame_buffer_test.cc.o test/frame_size_tests.cc.o test/invalid_file_test.cc.o test/keyframe_test.cc.o test/level_test.cc.o test/realtime_test.cc.o test/resize_test.cc.o test/svc_datarate_test.cc.o test/svc_end_to_end_test.cc.o test/svc_test.cc.o test/test_libvpx.cc.o test/test_vector_test.cc.o test/test_vectors.cc.o test/timestamp_test.cc.o test/user_priv_test.cc.o test/vp8_datarate_test.cc.o test/vp9_datara
 te_test.cc.o test/vp9_end_to_end_test.cc.o test/vp9_ethread_test.cc.o test/vp9_ext_ratectrl_test.cc.o test/vp9_lossless_test.cc.o test/vp9_motion_vector_test.cc.o test/vp9_skip_loopfilter_test.cc.o test/y4m_test.cc.o third_party/libwebm/mkvparser/mkvparser.cc.o third_party/libwebm/mkvparser/mkvreader.cc.o webmdec.cc.o y4menc.c.o y4minput.c.o -L. -lvpx -lgtest -lpthread -lm -lpthread
cp -p libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so.7.0.0
ln -sf  libvpx.so.7.0.0 vpx-vp8-vp9-x86_64-linux-v1.11.0/lib/libvpx.so.7.0
/usr/bin/ld: /tmp/cc5R1vEi.ltrans0.ltrans.o:(.debug_info+0x71fb): undefined reference to `gtest_all.cc.f7ea9954'
/usr/bin/ld: /tmp/cc5R1vEi.ltrans0.ltrans.o:(.debug_info+0x15f31): undefined reference to `gtest_all.cc.f7ea9954'
/usr/bin/ld: /tmp/cc5R1vEi.ltrans0.ltrans.o:(.debug_info+0x15f67): undefined reference to `gtest_all.cc.f7ea9954'
/usr/bin/ld: /tmp/cc5R1vEi.ltrans0.ltrans.o:(.debug_info+0x15f74): undefined reference to `gtest_all.cc.f7ea9954'
/usr/bin/ld: /tmp/cc5R1vEi.ltrans0.ltrans.o:(.debug_info+0x15f79): undefined reference to `gtest_all.cc.f7ea9954'
/usr/bin/ld: /tmp/cc5R1vEi.ltrans0.ltrans.o:(.debug_info+0x15f9f): more undefined references to `gtest_all.cc.f7ea9954' follow
collect2: error: ld returned 1 exit status
make[3]: *** [/<<PKGBUILDDIR>>/libs.mk:650: test_libvpx] Error 1
make[2]: *** [Makefile:41: dist] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
dh_auto_build: error: cd builddir && make -j8 verbose=yes dist returned exit code 2
make[1]: *** [debian/rules:107: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:90: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libvpx
Source-Version: 1.15.0-2
Done: Jeremy Bícha <jbicha@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
libvpx, 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 1015532@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated libvpx 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 19 Feb 2025 22:37:58 -0500
Source: libvpx
Built-For-Profiles: noudeb
Architecture: source
Version: 1.15.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1015532
Changes:
 libvpx (1.15.0-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Sergio Durigan Junior ]
   * Disable LTO since the build fails with it enabled (Closes: #1015532)
Checksums-Sha1:
 ad513bd5f2e03f039359ac42afe16772761ab5b3 2225 libvpx_1.15.0-2.dsc
 e7f6893a2e9cb660f0382901596a2e11ace08572 13156 libvpx_1.15.0-2.debian.tar.xz
 1d0480e1829417ec6cb76e9b0ac391d986bb0173 6994 libvpx_1.15.0-2_source.buildinfo
Checksums-Sha256:
 8facb074f6010fc3d26fc3809b988a999bdf852fd99b980b6370d4f9cfa11264 2225 libvpx_1.15.0-2.dsc
 a88dcb29bc6bd3291d918bc2fba42e5a83dbd7e358ed103ae209b3aaef7b0bcc 13156 libvpx_1.15.0-2.debian.tar.xz
 4dd0106d8149dcb5a3df4c05a3d805c188871c411fd4d12dfd77a1527d887acb 6994 libvpx_1.15.0-2_source.buildinfo
Files:
 96fac4fa510bb349acf0d732f7192edb 2225 video optional libvpx_1.15.0-2.dsc
 8ce00a0fe56166fbeb063bb82973b58d 13156 video optional libvpx_1.15.0-2.debian.tar.xz
 6f454a2021933a48de69f27cf821b545 6994 video optional libvpx_1.15.0-2_source.buildinfo

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

iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAme2o7gACgkQ5mx3Wuv+
bH2KVQ//SI++a3VymtOdq2PCwzUV8QzzenGbNjS77GTsMt49MIWneOU/qHdyiHN6
9kql8ObbRPsYmBCn7vFg+vdgV/Cx3/48P7Gm8lShDZJLAhMK0Lkv2xOeP69Umgai
gK3O5GwSwRd+ks5yu6027IvoltyitRdglKcTzpKi++17YGkhR/7ifhDeSvddCagR
pamjKeaBVUViIJJ/SUgfQllkePcmApalDVqX2zQxqxicB1p2Zt9UVjH8W/t8h0sS
466eilBt5pUsF05sQ59p4EefGo7IhaUf/jWUuIDKetzs22aGPLCGy5KXIuphKAjW
1MGd3Z+VUZO9VrFldJjTxMl57EXWI0WFZVX3/z7kJEwChXsrt4bJnrQmpm+9hT/8
cFEyW6tTaiCuJSexmcXEtzxwk516g5u8MsL64+456n2mZaa9PZTfQEFXUyx+pa/h
WYZsB10Z79oNFme0hsAtinQgoOE1KUpHsTidgiKZErKCRLoxjyyzDO22gfxQTaj8
sP8H0GNmueBWhjoB6VZTesCr5YGEG6R1S46zi7lQYIdbLqi4M0ecfhTzM+mQb8/b
Dz6ZXAofp6V5oW6fFrklsm7kta/o5vOLiXvkQC1M8PTmTB3tVFIt+zuWnrcxtNoJ
vgfF4sEVtqTG30XG4wjlrSXzkKSBNyB3D2QOJ59AZMXMO3Llo/o=
=4hUE
-----END PGP SIGNATURE-----

Attachment: pgpKy5HNo9Y8e.pgp
Description: PGP signature


--- End Message ---

Reply to: