| Summary: | swr fail to build with llvm-5.0.0 | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Laurent carlier <lordheavym> |
| Component: | Drivers/Gallium/swr | Assignee: | mesa-dev |
| Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 17.2 | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | Linux (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
Confirmed, hitting the same issue on git. Bisecting now. (In reply to Eric Engestrom from comment #1) > Confirmed, hitting the same issue on git. > Bisecting now. Hmm... bisecting failed, the build is always passing now? It might have just needed a clean build. I'm assuming you were building the arch pkgbuild in a clean chroot? If not, can you try that? (In reply to Eric Engestrom from comment #2) > I'm assuming you were building the arch pkgbuild in a clean chroot? > If not, can you try that? Just tested a clean build with the current PKGBUILD (1234495e9d2ed5ff07b5, 4h ago) with swr added to the gallium drivers, and it fails... My best guess right now is that there's been a bug that's been fixed, but if you built before the fix it needs a clean build, and the fix hasn't made its way on the 17.2 branch. I don't have time to look more into this though. Good luck :) Patch https://patchwork.freedesktop.org/patch/177834/ has been landed upstream. Does it fix this issue? (In reply to Juan A. Suarez from comment #4) > Patch https://patchwork.freedesktop.org/patch/177834/ has been landed > upstream. > > Does it fix this issue? yes, it's fixed |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Log output: CXX libmesaswr_la-swr_clear.lo CXX libmesaswr_la-swr_context.lo CXX libmesaswr_la-swr_draw.lo CXX libmesaswr_la-swr_screen.lo CXX libmesaswr_la-swr_state.lo CXX libmesaswr_la-swr_tex_sample.lo CXX libmesaswr_la-swr_scratch.lo CXX libmesaswr_la-swr_shader.lo CXX libmesaswr_la-swr_fence.lo CXX libmesaswr_la-swr_fence_work.lo CXX libmesaswr_la-swr_query.lo CXX rasterizer/common/libmesaswr_la-formats.lo CXX rasterizer/common/libmesaswr_la-os.lo In file included from ./rasterizer/jitter/builder.h:74:0, from swr_shader.cpp:34: ./rasterizer/jitter/gen_builder.hpp:504:43: error: ‘SynchronizationScope’ has not been declared FenceInst* FENCE(AtomicOrdering Ordering, SynchronizationScope SynchScope = CrossThread, const Twine &Name = "") ^~~~~~~~~~~~~~~~~~~~ ./rasterizer/jitter/gen_builder.hpp:509:136: error: ‘SynchronizationScope’ has not been declared AtomicCmpXchgInst* ATOMIC_CMP_XCHG(Value *Ptr, Value *Cmp, Value *New, AtomicOrdering SuccessOrdering, AtomicOrdering FailureOrdering, SynchronizationScope SynchScope = CrossThread) ^~~~~~~~~~~~~~~~~~~~ ./rasterizer/jitter/gen_builder.hpp:514:101: error: ‘SynchronizationScope’ has not been declared AtomicRMWInst* ATOMIC_RMW(AtomicRMWInst::BinOp Op, Value *Ptr, Value *Val, AtomicOrdering Ordering, SynchronizationScope SynchScope = CrossThread) ^~~~~~~~~~~~~~~~~~~~ ./rasterizer/jitter/gen_builder.hpp:504:77: error: ‘CrossThread’ was not declared in this scope FenceInst* FENCE(AtomicOrdering Ordering, SynchronizationScope SynchScope = CrossThread, const Twine &Name = "") ^~~~~~~~~~~ ./rasterizer/jitter/gen_builder.hpp:509:170: error: ‘CrossThread’ was not declared in this scope AtomicCmpXchgInst* ATOMIC_CMP_XCHG(Value *Ptr, Value *Cmp, Value *New, AtomicOrdering SuccessOrdering, AtomicOrdering FailureOrdering, SynchronizationScope SynchScope = CrossThread) ^~~~~~~~~~~ ./rasterizer/jitter/gen_builder.hpp:514:135: error: ‘CrossThread’ was not declared in this scope AtomicRMWInst* ATOMIC_RMW(AtomicRMWInst::BinOp Op, Value *Ptr, Value *Val, AtomicOrdering Ordering, SynchronizationScope SynchScope = CrossThread) ^~~~~~~~~~~ CXX rasterizer/common/libmesaswr_la-rdtsc_buckets.lo CXX rasterizer/common/libmesaswr_la-swr_assert.lo CXX rasterizer/codegen/libmesaswr_la-gen_knobs.lo CXX libmesaswr_la-swr_loader.lo make[5]: *** [Makefile:2441: libmesaswr_la-swr_shader.lo] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory '/build/mesa/src/mesa-17.2.1/src/gallium/drivers/swr' make[4]: *** [Makefile:1503: all] Error 2 make[4]: Leaving directory '/build/mesa/src/mesa-17.2.1/src/gallium/drivers/swr' make[3]: *** [Makefile:601: all-recursive] Error 1 make[3]: Leaving directory '/build/mesa/src/mesa-17.2.1/src/gallium' make[2]: *** [Makefile:853: all-recursive] Error 1 make[2]: Leaving directory '/build/mesa/src/mesa-17.2.1/src' make[1]: *** [Makefile:644: all] Error 2 make[1]: Leaving directory '/build/mesa/src/mesa-17.2.1/src' make: *** [Makefile:649: all-recursive] Error 1