Re: Help needed to fix a FTBFS (shaderc)
> On Mon, Aug 10, 2020 at 6:55 PM Leigh Scott wrote: > > Initially that was the bad thing, but the upstream project appears to > have split those two libraries out, I'd prefer to keep tracking > upstream in rawhide, maybe we can get upstream to address the lack of > ABI in the disaster that is glslang. > > Dave. Agreed, shaderc has been patched to work with the new version. There aren't the many packages using glslang. dolphin-emu-0:5.0.12247-1.fc33.src ffmpeg-0:4.3.1-5.fc33.src libplacebo-0:2.72.0-2.fc33.src mangohud-0:0.4.1-3.fc33.src shaderc-0:2020.1-1.fc33.src vulkan-validation-layers-0:1.2.148.0-1.fc33.src ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Mon, Aug 10, 2020 at 6:55 PM Leigh Scott wrote: > > > On Mon, Aug 10, 2020 at 2:57 AM Leigh Scott > wrote: > > > > Yeah glslang sucks in terms of providing a stable API, I think > > upstream would need to address these things, > > > > Though I hadn't realised it would FTBFS things that badly. > > > > Dave. > > Can we revert back to the old version please?, it builds fine. > Here's a working spec file > https://leigh123linux.fedorapeople.org/pub/SPECS/glslang.spec > > https://koji.fedoraproject.org/koji/taskinfo?taskID=49015264 > > TBH it looks like you were having a bad cmake day :-) Initially that was the bad thing, but the upstream project appears to have split those two libraries out, I'd prefer to keep tracking upstream in rawhide, maybe we can get upstream to address the lack of ABI in the disaster that is glslang. Dave. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
> On Mon, Aug 10, 2020 at 2:57 AM Leigh Scott wrote: > > Yeah glslang sucks in terms of providing a stable API, I think > upstream would need to address these things, > > Though I hadn't realised it would FTBFS things that badly. > > Dave. Can we revert back to the old version please?, it builds fine. Here's a working spec file https://leigh123linux.fedorapeople.org/pub/SPECS/glslang.spec https://koji.fedoraproject.org/koji/taskinfo?taskID=49015264 TBH it looks like you were having a bad cmake day :-) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Mon, Aug 10, 2020 at 2:57 AM Leigh Scott wrote: > > I found this > > https://github.com/KhronosGroup/glslang/commit/b8c3386ec00b9de2925732c0a29c588d60f8c8fd > > and added the new libs ( -lMachineIndependent -lGenericCodeGen ) to the link > flags Yeah glslang sucks in terms of providing a stable API, I think upstream would need to address these things, Though I hadn't realised it would FTBFS things that badly. Dave. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
I found this https://github.com/KhronosGroup/glslang/commit/b8c3386ec00b9de2925732c0a29c588d60f8c8fd and added the new libs ( -lMachineIndependent -lGenericCodeGen ) to the link flags --- a/configure +++ b/configure @@ -6308,7 +6308,7 @@ enabled libfontconfig && require_pkg_config libfontconfig fontconfig "fontconfig/fontconfig.h" FcInit enabled libfreetype && require_pkg_config libfreetype freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType enabled libfribidi&& require_pkg_config libfribidi fribidi fribidi.h fribidi_version_info -enabled libglslang&& require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lpthread -lstdc++ +enabled libglslang&& require_cpp libglslang glslang/SPIRV/GlslangToSpv.h "glslang::TIntermediate*" -lglslang -lOSDependent -lHLSL -lOGLCompiler -lSPVRemapper -lSPIRV -lSPIRV-Tools-opt -lSPIRV-Tools -lMachineIndependent -lGenericCodeGen -lpthread -lstdc++ enabled libgme&& { check_pkg_config libgme libgme gme/gme.h gme_new_emu || require libgme gme/gme.h gme_new_emu -lgme -lstdc++; } enabled libgsm&& { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do Upstream can address it properly :-) ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
ffmpeg doesn't build with the new glslang /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TShader::parse(TBuiltInResource const*, int, EProfile, bool, bool, EShMessages, glslang::TShader::Includer&)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TPoolAllocator::allocate(unsigned long)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TPoolAllocator::push()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TIntermediate::computeTypeLocationSize(glslang::TType const&, EShLanguage)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TIntermediate::improperStraddle(glslang::TType const&, int, int)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TProgram::getInfoLog()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TPoolAllocator::pop()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TProgram::TProgram()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TIntermediate::getMemberAlignment(glslang::TType const&, int&, int&, glslang::TLayoutPacking, bool)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TShader::setStrings(char const* const*, int)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::GetKhronosToolId()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::FinalizeProcess()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TIntermediate::getBaseAlignmentScalar(glslang::TType const&, int&)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TShader::getInfoLog()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TShader::TShader(EShLanguage)' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::InitializeProcess()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::GetThreadPoolAllocator()' /usr/bin/ld: libavfilter/libavfilter.so: undefined reference to `glslang::TProgram::link(EShMessages)' collect2: error: ld returned 1 exit status make: *** [Makefile:114: ffplay_g] Error 1 make: *** Waiting for unfinished jobs... ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Saturday, 8 August 2020 23:10:25 CEST Jeff Law wrote: > On Sat, 2020-08-08 at 17:27 +0200, Robert-André Mauchin wrote: > > > Hello, > > > > shaderc was FTBFS due to the cmake change, however fixing it does not > > solve everything. I've got a long list of new errors: > > > > > > == > > = [29/29] : && /usr/lib64/ccache/g++ -O2 -flto=auto -ffat-lto-objects > > - fexceptions -g -grecord-gcc-switches -pipe -Wall > > -Werror=format-security -Wp,- D_FORTIFY_SOURCE=2 > > -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/ redhat-hardened-cc1 > > -fstack-protector-strong -specs=/usr/lib/rpm/redhat/ redhat-annobin-cc1 > > -m64 -mtune=generic -fasynchronous-unwind-tables -fstack- > > clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG > > -Wl,- z,relro -Wl,--as-needed -Wl,-z,now > > -specs=/usr/lib/rpm/redhat/redhat- hardened-ld-rdynamic > > glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc > > glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/ > > libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt > > -lSPIRV- Tools -lglslang -lOSDependent -lOGLCompiler -lglslang > > -lOSDependent - lOGLCompiler -lSPIRV -lHLSL -lpthread && : > > FAILED: glslc/glslc > > > > : && /usr/lib64/ccache/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions > > : -g - > > > grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,- > > D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/ > > redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/ > > redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables > > -fstack- clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g > > -DNDEBUG -Wl,- z,relro -Wl,--as-needed -Wl,-z,now > > -specs=/usr/lib/rpm/redhat/redhat- hardened-ld-rdynamic > > glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc > > glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/ > > libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt > > -lSPIRV- Tools -lglslang -lOSDependent -lOGLCompiler -lglslang > > -lOSDependent - lOGLCompiler -lSPIRV -lHLSL -lpthread && : > > /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans0.ltrans.o: in function `main': > > /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86 > > _64- redhat-linux-gnu/../libshaderc_util/src/compiler.cc:124: undefined > > reference to `glslang::InitializeProcess()' > > /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans1.ltrans.o: in function > > `shaderc_util::GlslangInitializer::~GlslangInitializer() [clone > > .constprop. 0]': > > /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86 > > _64- redhat-linux-gnu/../libshaderc_util/src/compiler.cc:136: undefined > > reference to `glslang::FinalizeProcess()' > > /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans1.ltrans.o: in function > > `shaderc_util::Compiler::Compile(shaderc_util::string_piece const&, > > EShLanguage, std::__cxx11::basic_string, > > std::allocator > const&, char const*, std::function > (std::ostream*, shaderc_util::string_piece const&)> const&, > > shaderc_util::CountingIncluder&, shaderc_util::Compiler::OutputType, > > std::ostream*, unsigned long*, unsigned long*) const [clone > > .constprop.0]': > > /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x8 > > 6_64- redhat-linux-gnu/../libshaderc_util/src/compiler.cc:267: undefined > > reference to `glslang::TShader::TShader(EShLanguage)' > > /usr/bin/ld: /builddir/build/BUILD/ > > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/. > > ./ libshaderc_util/src/compiler.cc:271: undefined reference to > > `glslang::TShader::setStringsWithLengthsAndNames(char const* const*, int > > const*, char const* const*, int)' > > /usr/bin/ld: /builddir/build/BUILD/ > > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/. > > ./ libshaderc_util/src/compiler.cc:274: undefined reference to > > `glslang::TShader::setEntryPoint(char const*)' > > /usr/bin/ld: /builddir/build/BUILD/ > > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/. > > ./ libshaderc_util/src/compiler.cc:275: undefined reference to > > `glslang::TShader::setAutoMapBindings(bool)' > > /usr/bin/ld: /builddir/build/BUILD/ > > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/. > > ./ libshaderc_util/src/compiler.cc:276: undefined reference to > > `glslang::TShader::setAutoMapLocations(bool)' > > /usr/bin/ld: /builddir/build/BUILD/ > > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/. > > ./ libshaderc_util/src/compiler.cc:278: undefined reference to > > `glslang::TShader::setShiftImageBinding(unsigned int)' > > /usr/bin/ld: /builddir/build/BUILD/ > > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/. > > ./ libshaderc_util/src/compiler.cc:279: undefined
Re: Help needed to fix a FTBFS (shaderc)
On Sat, 2020-08-08 at 17:27 +0200, Robert-André Mauchin wrote: > Hello, > > shaderc was FTBFS due to the cmake change, however fixing it does not solve > everything. I've got a long list of new errors: > > > === > [29/29] : && /usr/lib64/ccache/g++ -O2 -flto=auto -ffat-lto-objects - > fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,- > D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/ > redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/ > redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack- > clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,- > z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat- > hardened-ld-rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o > glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/ > libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV- > Tools -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent - > lOGLCompiler -lSPIRV -lHLSL -lpthread && : > FAILED: glslc/glslc > : && /usr/lib64/ccache/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g - > grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,- > D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/ > redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/ > redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack- > clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,- > z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat- > hardened-ld-rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o > glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/ > libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV- > Tools -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent - > lOGLCompiler -lSPIRV -lHLSL -lpthread && : > /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans0.ltrans.o: in function `main': > /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64- > redhat-linux-gnu/../libshaderc_util/src/compiler.cc:124: undefined reference > to `glslang::InitializeProcess()' > /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans1.ltrans.o: in function > `shaderc_util::GlslangInitializer::~GlslangInitializer() [clone .constprop. > 0]': > /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64- > redhat-linux-gnu/../libshaderc_util/src/compiler.cc:136: undefined reference > to `glslang::FinalizeProcess()' > /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans1.ltrans.o: in function > `shaderc_util::Compiler::Compile(shaderc_util::string_piece const&, > EShLanguage, std::__cxx11::basic_string, > std::allocator > const&, char const*, std::function (std::ostream*, shaderc_util::string_piece const&)> const&, > shaderc_util::CountingIncluder&, shaderc_util::Compiler::OutputType, > std::ostream*, unsigned long*, unsigned long*) const [clone .constprop.0]': > /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64- > redhat-linux-gnu/../libshaderc_util/src/compiler.cc:267: undefined reference > to `glslang::TShader::TShader(EShLanguage)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:271: undefined reference to > `glslang::TShader::setStringsWithLengthsAndNames(char const* const*, int > const*, char const* const*, int)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:274: undefined reference to > `glslang::TShader::setEntryPoint(char const*)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:275: undefined reference to > `glslang::TShader::setAutoMapBindings(bool)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:276: undefined reference to > `glslang::TShader::setAutoMapLocations(bool)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:278: undefined reference to > `glslang::TShader::setShiftImageBinding(unsigned int)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:279: undefined reference to > `glslang::TShader::setShiftSamplerBinding(unsigned int)' > /usr/bin/ld: /builddir/build/BUILD/ > shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ > libshaderc_util/src/compiler.cc:280: undefined reference to > `
Re: Help needed to fix a FTBFS (shaderc)
On Sat, 2020-08-08 at 22:04 +0200, Robert-André Mauchin wrote: > On Saturday, 8 August 2020 21:53:57 CEST Jeff Law wrote: > > More likely it's uninstantiated templates > > I don't know about this, did we change something within Fedora that could > trigger this issue while it was working before? Template instantiation issues are sensitive to inlining heuristics in the compiler. Subtle changes in those heuristics can change what gets inlined where. This is a common source level issue. THe fact that it worked before does not mean it was correct. jeff ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Saturday, 8 August 2020 21:53:57 CEST Jeff Law wrote: > More likely it's uninstantiated templates I don't know about this, did we change something within Fedora that could trigger this issue while it was working before? Thanks Robert-André ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Sat, 2020-08-08 at 15:51 -0400, Neal Gompa wrote: > On Sat, Aug 8, 2020 at 3:47 PM Robert-André Mauchin wrote: > > On Saturday, 8 August 2020 17:27:54 CEST you wrote: > > > And so on. > > > Tons of errors regarding undefined reference to glslang::. > > > I don't know if this is due to a new Glslang or if something has been > > > changed wrt the build system, or if system-wide libraries are not > > > supported > > > anymore. > > > > > > Any help for figuring out what happened would be greatly appreciated. > > > > > > Best regards, > > > > > > Robert-André > > > > > > > I have the same issue with another FTBFS, soundkonverter: > > > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:215: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:215: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:216: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:216: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:217: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:217: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:220: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function > > `readXiphTags(TagLib::Ogg::XiphComment*)': > > /usr/include/c++/10/bits/stl_function.h:386: undefined reference to > > `TagLib::String::operator<(TagLib::String const&) const' > > /usr/bin/ld: /usr/include/c++/10/bits/stl_function.h:386: undefined > > reference > > to `TagLib::String::operator<(TagLib::String const&) const' > > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function > > `readXiphTags(TagLib::Ogg::XiphComment*)': > > /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/MetaReplayGain.cpp: > > 220: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:222: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:222: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:223: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:223: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:224: undefined reference to `TagLib::String::String(char > > const*, TagLib::String::Type)' > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > > MetaReplayGain.cpp:224: undefined reference to `TagLib::String::~String()' > > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function > > `TagLib::Map::~Map() [clone > > .lto_priv.0]': > > /usr/include/c++/10/bits/stl_pair.h:211: undefined reference to > > `TagLib::StringList::~StringList()' > > /usr/bin/ld: > > /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o:/usr/include/c++/10/ > > bits/stl_pair.h:211: undefined reference to `TagLib::String::~String()' > > > > Is it related to the cmake change? Am I missing something obvious? > > > > That looks like failures related to LTO? No. I've already check that one. You'll get the same effective failures without LTO. More likely it's uninstantiated templates (which is a common source issue, not a compiler issue) jeff > > > ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Sat, Aug 8, 2020 at 3:47 PM Robert-André Mauchin wrote: > > On Saturday, 8 August 2020 17:27:54 CEST you wrote: > > > > And so on. > > Tons of errors regarding undefined reference to glslang::. > > I don't know if this is due to a new Glslang or if something has been > > changed wrt the build system, or if system-wide libraries are not supported > > anymore. > > > > Any help for figuring out what happened would be greatly appreciated. > > > > Best regards, > > > > Robert-André > > > > I have the same issue with another FTBFS, soundkonverter: > > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:215: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:215: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:216: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:216: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:217: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:217: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:220: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function > `readXiphTags(TagLib::Ogg::XiphComment*)': > /usr/include/c++/10/bits/stl_function.h:386: undefined reference to > `TagLib::String::operator<(TagLib::String const&) const' > /usr/bin/ld: /usr/include/c++/10/bits/stl_function.h:386: undefined reference > to `TagLib::String::operator<(TagLib::String const&) const' > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function > `readXiphTags(TagLib::Ogg::XiphComment*)': > /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/MetaReplayGain.cpp: > 220: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:222: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:222: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:223: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:223: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:224: undefined reference to `TagLib::String::String(char > const*, TagLib::String::Type)' > /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ > MetaReplayGain.cpp:224: undefined reference to `TagLib::String::~String()' > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function > `TagLib::Map::~Map() [clone .lto_priv.0]': > /usr/include/c++/10/bits/stl_pair.h:211: undefined reference to > `TagLib::StringList::~StringList()' > /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o:/usr/include/c++/10/ > bits/stl_pair.h:211: undefined reference to `TagLib::String::~String()' > > Is it related to the cmake change? Am I missing something obvious? > That looks like failures related to LTO? -- 真実はいつも一つ!/ Always, there's only one truth! ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: Help needed to fix a FTBFS (shaderc)
On Saturday, 8 August 2020 17:27:54 CEST you wrote: > > And so on. > Tons of errors regarding undefined reference to glslang::. > I don't know if this is due to a new Glslang or if something has been > changed wrt the build system, or if system-wide libraries are not supported > anymore. > > Any help for figuring out what happened would be greatly appreciated. > > Best regards, > > Robert-André > I have the same issue with another FTBFS, soundkonverter: /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:215: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:215: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:216: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:216: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:217: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:217: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:220: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function `readXiphTags(TagLib::Ogg::XiphComment*)': /usr/include/c++/10/bits/stl_function.h:386: undefined reference to `TagLib::String::operator<(TagLib::String const&) const' /usr/bin/ld: /usr/include/c++/10/bits/stl_function.h:386: undefined reference to `TagLib::String::operator<(TagLib::String const&) const' /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function `readXiphTags(TagLib::Ogg::XiphComment*)': /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/MetaReplayGain.cpp: 220: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:222: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:222: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:223: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:223: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:224: undefined reference to `TagLib::String::String(char const*, TagLib::String::Type)' /usr/bin/ld: /builddir/build/BUILD/soundkonverter-3.0.1/src/metadata/ MetaReplayGain.cpp:224: undefined reference to `TagLib::String::~String()' /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o: in function `TagLib::Map::~Map() [clone .lto_priv.0]': /usr/include/c++/10/bits/stl_pair.h:211: undefined reference to `TagLib::StringList::~StringList()' /usr/bin/ld: /tmp/soundkonverter.4HzRaR.ltrans3.ltrans.o:/usr/include/c++/10/ bits/stl_pair.h:211: undefined reference to `TagLib::String::~String()' Is it related to the cmake change? Am I missing something obvious? ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Help needed to fix a FTBFS (shaderc)
Hello, shaderc was FTBFS due to the cmake change, however fixing it does not solve everything. I've got a long list of new errors: === [29/29] : && /usr/lib64/ccache/g++ -O2 -flto=auto -ffat-lto-objects - fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,- D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/ redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/ redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack- clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,- z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat- hardened-ld-rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/ libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV- Tools -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent - lOGLCompiler -lSPIRV -lHLSL -lpthread && : FAILED: glslc/glslc : && /usr/lib64/ccache/g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g - grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,- D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/ redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/ redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack- clash-protection -fcf-protection -Wimplicit-fallthrough -O2 -g -DNDEBUG -Wl,- z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat- hardened-ld-rdynamic glslc/CMakeFiles/glslc_exe.dir/src/main.cc.o -o glslc/glslc glslc/libglslc.a libshaderc_util/libshaderc_util.a libshaderc/ libshaderc.a libshaderc_util/libshaderc_util.a -lSPIRV-Tools-opt -lSPIRV- Tools -lglslang -lOSDependent -lOGLCompiler -lglslang -lOSDependent - lOGLCompiler -lSPIRV -lHLSL -lpthread && : /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans0.ltrans.o: in function `main': /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64- redhat-linux-gnu/../libshaderc_util/src/compiler.cc:124: undefined reference to `glslang::InitializeProcess()' /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans1.ltrans.o: in function `shaderc_util::GlslangInitializer::~GlslangInitializer() [clone .constprop. 0]': /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64- redhat-linux-gnu/../libshaderc_util/src/compiler.cc:136: undefined reference to `glslang::FinalizeProcess()' /usr/bin/ld: /tmp/glslc.KMUNIm.ltrans1.ltrans.o: in function `shaderc_util::Compiler::Compile(shaderc_util::string_piece const&, EShLanguage, std::__cxx11::basic_string, std::allocator > const&, char const*, std::function const&, shaderc_util::CountingIncluder&, shaderc_util::Compiler::OutputType, std::ostream*, unsigned long*, unsigned long*) const [clone .constprop.0]': /builddir/build/BUILD/shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64- redhat-linux-gnu/../libshaderc_util/src/compiler.cc:267: undefined reference to `glslang::TShader::TShader(EShLanguage)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:271: undefined reference to `glslang::TShader::setStringsWithLengthsAndNames(char const* const*, int const*, char const* const*, int)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:274: undefined reference to `glslang::TShader::setEntryPoint(char const*)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:275: undefined reference to `glslang::TShader::setAutoMapBindings(bool)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:276: undefined reference to `glslang::TShader::setAutoMapLocations(bool)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:278: undefined reference to `glslang::TShader::setShiftImageBinding(unsigned int)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:279: undefined reference to `glslang::TShader::setShiftSamplerBinding(unsigned int)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:280: undefined reference to `glslang::TShader::setShiftTextureBinding(unsigned int)' /usr/bin/ld: /builddir/build/BUILD/ shaderc-7c2aa93903558f017f31b35df163bce5fe849f45/x86_64-redhat-linux-gnu/../ libshaderc_util/src/compiler.cc:281: undefined reference to `glslang::TShader::setShiftUboBinding(unsigne