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

Bug#1031230: marked as done (spirv-tools: autopkgtest regression for glslang: undefined reference to spvtools::CreateAggressiveDCEPass etc.)



Your message dated Sun, 26 Feb 2023 09:20:05 +0000
with message-id <E1pWDCP-00G8Cl-Jt@fasolo.debian.org>
and subject line Bug#1031230: fixed in glslang 12.0.0-2
has caused the Debian Bug report #1031230,
regarding spirv-tools: autopkgtest regression for glslang: undefined reference to spvtools::CreateAggressiveDCEPass etc.
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.)


-- 
1031230: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031230
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: spirv-tools
Version: 2023.1-1
Severity: serious
Justification: https://release.debian.org/testing/rc_policy.txt 6a
User: debian-ci@lists.debian.org
Usertags: regression
X-Debbugs-Cc: debian-ci@lists.debian.org
Control: affects -1 + src:glslang

The test-case debian/tests/glslang-dev that I contributed
in glslang_11.1.0-4 has started failing with the upload of
spirv-tools_2023.1-1, or possibly 2022.4+1.3.236.0-1:

> + pkg-config --cflags --libs glslang
> + g++ -std=c++11 -o trivial trivial.cpp -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lpthread
> + test -x trivial
> + ./trivial
> + pkg-config --cflags --libs spirv
> + g++ -std=c++11 -o spirv spirv.cpp -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lSPIRV-Tools-link -lglslang -lMachineIndependent -lOSDependent -lHLSL -lOGLCompiler -lGenericCodeGen -lSPVRemapper -lpthread
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libSPIRV.a(SpvTools.cpp.o): in function `glslang::SpirvToolsTransform(glslang::TIntermediate const&, std::vector<unsigned int, std::allocator<unsigned int> >&, spv::SpvBuildLogger*, glslang::SpvOptions const*)':
> (.text+0x689): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'
> /usr/bin/ld: (.text+0x6de): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'
> /usr/bin/ld: (.text+0x784): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'
> /usr/bin/ld: (.text+0x7ff): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'
> /usr/bin/ld: (.text+0x8ef): undefined reference to `spvtools::CreateEliminateDeadInputComponentsSafePass()'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libSPIRV.a(SpvTools.cpp.o): in function `glslang::SpirvToolsAnalyzeDeadOutputStores(spv_target_env, std::vector<unsigned int, std::allocator<unsigned int> >&, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*, spv::SpvBuildLogger*)':
> (.text+0x9b1): undefined reference to `spvtools::CreateAnalyzeLiveInputPass(std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*)'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libSPIRV.a(SpvTools.cpp.o): in function `glslang::SpirvToolsEliminateDeadOutputStores(spv_target_env, std::vector<unsigned int, std::allocator<unsigned int> >&, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*, spv::SpvBuildLogger*)':
> (.text+0xae1): undefined reference to `spvtools::CreateEliminateDeadOutputStoresPass(std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*, std::unordered_set<unsigned int, std::hash<unsigned int>, std::equal_to<unsigned int>, std::allocator<unsigned int> >*)'
> /usr/bin/ld: (.text+0xb03): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'
> /usr/bin/ld: (.text+0xb1e): undefined reference to `spvtools::CreateEliminateDeadOutputComponentsPass()'
> /usr/bin/ld: (.text+0xb40): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'
> /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/libSPIRV.a(SpvTools.cpp.o): in function `glslang::SpirvToolsEliminateDeadInputComponents(spv_target_env, std::vector<unsigned int, std::allocator<unsigned int> >&, spv::SpvBuildLogger*)':
> (.text+0xc80): undefined reference to `spvtools::CreateAggressiveDCEPass(bool, bool)'

I think probably this means that SPIRV-Tools.pc is missing some libraries,
similar to #951988 but for spirv-tools rather than glslang?

Adding an autopkgtest to spirv-tools and running it before upload might
be a helpful way to catch similar issues.

    smcv

--- End Message ---
--- Begin Message ---
Source: glslang
Source-Version: 12.0.0-2
Done: Timo Aaltonen <tjaalton@debian.org>

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

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated glslang 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: Sun, 26 Feb 2023 10:55:42 +0200
Source: glslang
Built-For-Profiles: noudeb
Architecture: source
Version: 12.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 1027182 1031230
Changes:
 glslang (12.0.0-2) unstable; urgency=medium
 .
   [ Andrea Pappacoda ]
   * d/control: mark glslang-tools as Multi-Arch: foreign (Closes: #1027182)
 .
   [ Timo Aaltonen ]
   * control: Bump spirv-tools depends. (Closes: #1031230)
Checksums-Sha1:
 1c194e61feffdfb72fa17ac23954129859401f61 2111 glslang_12.0.0-2.dsc
 67f4801f4e1d8a6ee43a37434430dd488598533b 14367 glslang_12.0.0-2.diff.gz
 1da5159c996ccbf1f60a911b46e8d08a0d7249e5 8887 glslang_12.0.0-2_source.buildinfo
Checksums-Sha256:
 9c039feaff514a275d43ac285e19d0dd966906aef3b5a2ddc21bf386ac5da6ba 2111 glslang_12.0.0-2.dsc
 7d809d51cc884868fd0f22441469d31969085be73b0f2fb2c17fd61e597bb7b9 14367 glslang_12.0.0-2.diff.gz
 81546b51c5baa6255d0d26daa3c1a2a1fecdab360c0c04dbb9b197560a755d66 8887 glslang_12.0.0-2_source.buildinfo
Files:
 d078e01752d019685827f50a92ec16c8 2111 libdevel optional glslang_12.0.0-2.dsc
 c8e6fd2f647f623e69872b76f26e73a8 14367 libdevel optional glslang_12.0.0-2.diff.gz
 0922ea953a531b1267ae7c079e8c7f88 8887 libdevel optional glslang_12.0.0-2_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmP7HtEACgkQy3AxZaiJ
hNw01hAAmT8thDZpxesfixrkItcaxf8O7yjb4VCbUPRo+1Qv2H7m5P8G3u1teOKZ
1K76K32v3UjPO+i6ygUxj/JlQnmsBaTc/mzZlekNNp1HsT8X1gqNrQiyMrSZns3+
R0/e7JmuA2JUTfV4cF2Pe+Yi3Tdnp3WzpGqrPNSNPBwVIQsOP7eC1NHBChntPrzN
W+jqDCNZkGKenmVo8qqjgbwmgVPxGPL7l3UwGqP2qfUCrEC7Sie1quiJI1LytpRI
EqlR7w1vhmrTttT5KlEYlH7tNtn7SA5b5jX2we+YNWhIFhhJuP8g9R8rKbVBxZ3P
C78anGHw8BI7X1FqC5q9o5HdC0pDZUnMKdpSop8MTFwC9lkHwbhG9PHGthF02RnE
vPRzwNLNXr6bsfWYSpeaZmIOuik6Tx1k0dKIy88P9wg+P0+/89g08a8eIREyNBPO
Oqre/3PV2XTmm3DqlTb5FA9FLk9FVoL9ggJg2tDONnrgak659PRNBRSV4BDyx3bL
fLCLoXG8kSJqZz2/qlliN93d769M94oscsiIRElvlRjfAdYaydmJISZpAU502gjI
SE2pItUZV9Ye7FcjkTWDxp+LfmA4bREs1/sT4WIxMwpCMgqvV0t0oee9n1Cpavfr
jgY7/h6Dq6pT3WLDmTEIcYCogTLalzL2U1Fwa+CckwUYlSl77nQ=
=hBa1
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: