Package Details: lib32-shaderc 2019.0-2

Git Clone URL: https://aur.archlinux.org/lib32-shaderc.git (read-only, click to copy)
Package Base: lib32-shaderc
Description: Collection of tools, libraries and tests for shader compilation (32bit)
Upstream URL: https://github.com/google/shaderc
Licenses: Apache
Provides: libshaderc_shared.so
Submitter: oxalin
Maintainer: oxalin
Last Packager: oxalin
Votes: 1
Popularity: 0.172341
First Submitted: 2019-08-15 16:26
Last Updated: 2019-11-21 06:36

Latest Comments

oxalin commented on 2019-11-21 06:44

Sorry, I've been busy with not much time to work on this. Fixed lib32-glslang first.

You should receive a new version (2019.0-2) soon. If you encounter an error, you may have to clean your lib32-shaderc folder.

DDoSolitary commented on 2019-11-12 12:54

The latest glslang package just made this package broken.

Please add the patch from the 64-bit version in [extra]: https://git.archlinux.org/svntogit/packages.git/tree/trunk/shaderc-2019.0-fix-build-against-new-glslang.patch?h=packages/shaderc

And add export CXXFLAGS+=" -I/usr/include/glslang" in build()

(According to the commit from the 64-bit version: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/shaderc&id=72283b634a0bd7c8d99cc605e273fe1294b77b44)

oxalin commented on 2019-11-06 23:20

@tjackson : please, add the full linking error if you are still experiencing this problem.

tjackson commented on 2019-09-29 10:26

I'm still seeing the undefined reference to glslang::TProgram::... QuartzDragon mentioned. I had to downgrade lib32-glslang to 7.11.3214 and it went away.

QuartzDragon commented on 2019-09-20 07:40

It's fixed now. :)

oxalin commented on 2019-09-20 06:53

@QuartzDragon : are you still experiencing your problem after updating lib32-glslang?

QuartzDragon commented on 2019-08-21 13:01

I'm getting this error during the linking phase:

[28/28] Linking CXX executable glslc/glslc
FAILED: glslc/glslc 
: && /usr/bin/g++  -m32  -march=native -O2 -pipe -fstack-protector-strong -fno-plt -ftree-vectorize -ftree-slp-vectorize -O3 -DNDEBUG  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now   -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: libshaderc_util/libshaderc_util.a(compiler.cc.o): in function `shaderc_util::Compiler::Compile(shaderc_util::string_piece const&, EShLanguage, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*, std::function<EShLanguage (std::ostream*, shaderc_util::string_piece const&)> const&, shaderc_util::CountingIncluder&, shaderc_util::Compiler::OutputType, std::ostream*, unsigned int*, unsigned int*, shaderc_util::GlslangInitializer*) const':
compiler.cc:(.text+0x651f): undefined reference to `glslang::TProgram::mapIO(glslang::TIoMapResolver*, glslang::TIoMapper*)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

oxalin commented on 2019-08-16 13:52

For my own knowledge: how did you see it is breaking shaderc package? I've seen other lib32 packages setting the same "provides" as their native counterpart without any problem. And I'd like to fix any other packages I'm maintaining if needed.

sl1pkn07 commented on 2019-08-16 11:50

please remove libshaderc_shared.so in provides. break shaderc package