Summary: | swr fail to build with llvm-libs 6.0.1 | ||
---|---|---|---|
Product: | Mesa | Reporter: | Laurent carlier <lordheavym> |
Component: | Drivers/Gallium/swr | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | blocker | ||
Priority: | medium | CC: | steven, virtuousfox |
Version: | 18.2 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Laurent carlier
2018-09-08 07:34:12 UTC
I found out that this build apparently only fails when building from the release tarball, presumably because of these differences (recursive diff between git tree and release tarball follows): Only in mesa-18.2.0/src/gallium/drivers/swr: Makefile.in Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_event.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_eventhandlerfile.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_eventhandler.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/archrast: gen_ar_event.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/codegen: gen_knobs.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/codegen: gen_knobs.h Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate0.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate1.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate2.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate3.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_BackendPixelRate.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer0.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer1.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer2.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer3.cpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/core/backends: gen_rasterizer.hpp Only in mesa/src/gallium/drivers/swr/rasterizer: .dir-locals.el Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_builder.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_builder_intrin.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_builder_meta.hpp Only in mesa-18.2.0/src/gallium/drivers/swr/rasterizer/jitter: gen_state_llvm.h So it looks like there are a bunch of pregenerated source files that were generated using a *different* LLVM version, and that's what's causing the build break. I changed my arch PKGBUILD to build from the git tree, and it built successfully. Thank you for tracking this down! That helps a lot! This patch is to fix this issue: https://patchwork.freedesktop.org/series/51133/ It should make its way to the stable branch, hopefully in the next dot release. |
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.