[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 Wed, 15 Feb 2023 14:51:05 +0000
with message-id <E1pSJ7h-009t6d-Pf@fasolo.debian.org>
and subject line Bug#1031230: fixed in spirv-tools 2023.1-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: spirv-tools
Source-Version: 2023.1-2
Done: Timo Aaltonen <tjaalton@debian.org>

We believe that the bug you reported is fixed in the latest version of
spirv-tools, 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 spirv-tools 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, 15 Feb 2023 16:03:51 +0200
Source: spirv-tools
Built-For-Profiles: noudeb
Architecture: source
Version: 2023.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 1031230
Changes:
 spirv-tools (2023.1-2) unstable; urgency=medium
 .
   * patches: Add a patch that fixes the ABI again. (Closes: #1031230)
Checksums-Sha1:
 e87a5b40958a757deda062939e560bcec1ad8b54 1972 spirv-tools_2023.1-2.dsc
 766ef76d7d2cf7edb79cca6f1c149af43884a769 4488 spirv-tools_2023.1-2.debian.tar.xz
 362908c2e8ca1318ee0995ed5a81ce56edd0e24c 8770 spirv-tools_2023.1-2_source.buildinfo
Checksums-Sha256:
 783683248a149c8d1cbcc6a21d309ae81a7f16e41819066312899aa5b2e35fb0 1972 spirv-tools_2023.1-2.dsc
 cfe0807ff64353e1417e683a7167f05368cbab55f3135aa691d9a5b6f92c8d18 4488 spirv-tools_2023.1-2.debian.tar.xz
 fde10feb39dd01ce76d542d3bc29d5e0b12b26ab1d09f14d68c7ea696578d2b3 8770 spirv-tools_2023.1-2_source.buildinfo
Files:
 167f66ad1b4d32437c26d331f79079ab 1972 libdevel optional spirv-tools_2023.1-2.dsc
 06f4bf98d62904e7c5ad975e97f01c7d 4488 libdevel optional spirv-tools_2023.1-2.debian.tar.xz
 91b7652b53eff8ecde8d5de940a871ae 8770 libdevel optional spirv-tools_2023.1-2_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmPs5lQACgkQy3AxZaiJ
hNwaPQ//e6BtOnIsdjPzPBTAs21divjuAhIWYXzlPnDoQcWRCf9xA9EBZEJZaVU7
Cu9qqdkF7JEso3RnMFyYP7eR8IW0ONxZmZ1FCf7fE3j8qmFyUc9R9nooLBk+GvcT
Y5Wg02Q9Nf3wKoVY1RMm0hHVC6i+c+z5R8GTx25MTJx3/ppuOuT+0qhV4DT9OKMm
8bb+eks62hnefWn+fo5hbQOJEi35zIQL+WGuNyiHE8e92VHp55HEY+mw6Fzb3dfb
mrXsfAHq67VFO9vu4qFYRuRV9a0kZrcQ04EpwpLSSBw8ZVijGCA+8YLfiFHXEQpJ
YsMopydHn08MmBQha9YHcRXRUFBOHoZgiTk7MfAwPk2oQw+AVVsPuiaz6+MXf+Gb
GOFgmp+1qLC3F7WluypeIqvNo2XQk5ivBJDCz70KqSZMq//BY2+C/8Xo0YX5UtF2
wVp8DVUJ0JLc9nQ76dxmuzziku+X1HbXAncjVdsHQ9cv5Lp1pVazll7CRLbnBJaL
VRjI0gBBEBQSQ0NZWjvHeG6/+vk1rOpA+sJQmkv7zonvuSIsPD9WmiEzSJylp7jT
IMqHuFQcU9Z1rGG2IhO8UU6/PwQfqmDFamistcQ6Ladd2uQduM/iuf1WTQM1xecE
5vBQ8v4u6yw4tzHbPS+6w4mHKlzzCZmO6jDBGAYUSnoAZpQd1xg=
=RBG1
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: