Created attachment 136939 [details] Full compile log I tried to compile libclc against LLVM 6 and got these warnings, then I tried LLVM 5 (branch release_50 in llvm/clang/compiler-rt) and got them still. This is the end of the build log: WARNING: Linking two modules of different data layouts: 'nvptx64--nvidiacl/lib/shared/vload_half_helpers.ll.bc' is '' whereas 'llvm-link' is 'e-i64:64-v16:16-v32:32-n16:32:64' WARNING: Linking two modules of different data layouts: 'nvptx64--nvidiacl/lib/shared/vstore_half_helpers.ll.bc' is '' whereas 'llvm-link' is 'e-i64:64-v16:16-v32:32-n16:32:64' WARNING: Linking two modules of different data layouts: 'nvptx64--nvidiacl/lib/subnormal_helper_func.ll.bc' is '' whereas 'llvm-link' is 'e-i64:64-v16:16-v32:32-n16:32:64' LLVM-LINK r600--/lib/builtins.link.cedar.bc WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vload_half_helpers.ll.cedar.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vstore_half_helpers.ll.cedar.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/subnormal_helper_func.ll.cedar.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' LLVM-LINK r600--/lib/builtins.link.cypress.bc WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vload_half_helpers.ll.cypress.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vstore_half_helpers.ll.cypress.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/subnormal_helper_func.ll.cypress.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' LLVM-LINK r600--/lib/builtins.link.barts.bc WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vload_half_helpers.ll.barts.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vstore_half_helpers.ll.barts.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/subnormal_helper_func.ll.barts.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-i64:64-v16:16-v32:32-n16:32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' LLVM-LINK r600--/lib/builtins.link.cayman.bc WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vload_half_helpers.ll.cayman.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/shared/vstore_half_helpers.ll.cayman.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'r600--/lib/subnormal_helper_func.ll.cayman.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' LLVM-LINK amdgcn--/lib/builtins.link.tahiti.bc WARNING: Linking two modules of different data layouts: 'amdgcn--/lib/shared/vload_half_helpers.ll.tahiti.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'amdgcn--/lib/shared/vstore_half_helpers.ll.tahiti.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'amdgcn--/lib/subnormal_helper_func.ll.tahiti.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' LLVM-LINK amdgcn--amdhsa/lib/builtins.link.bc WARNING: Linking two modules of different data layouts: 'amdgcn--amdhsa/lib/shared/vload_half_helpers.ll.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'amdgcn--amdhsa/lib/shared/vstore_half_helpers.ll.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'amdgcn--amdhsa/lib/subnormal_helper_func.ll.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' LLVM-LINK amdgcn-mesa-mesa3d/lib/builtins.link.tahiti.bc WARNING: Linking two modules of different data layouts: 'amdgcn-mesa-mesa3d/lib/shared/vload_half_helpers.ll.tahiti.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'amdgcn-mesa-mesa3d/lib/shared/vstore_half_helpers.ll.tahiti.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'amdgcn-mesa-mesa3d/lib/subnormal_helper_func.ll.tahiti.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' OPT nvptx64--nvidiacl/lib/builtins.opt.bc WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-p1:64:64-p2:64:64-p3:32:32-p4:64:64-p5:32:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64' OPT r600--/lib/builtins.opt.cedar.bc OPT r600--/lib/builtins.opt.cypress.bc OPT r600--/lib/builtins.opt.barts.bc OPT r600--/lib/builtins.opt.cayman.bc OPT amdgcn--/lib/builtins.opt.tahiti.bc OPT amdgcn--amdhsa/lib/builtins.opt.bc OPT amdgcn-mesa-mesa3d/lib/builtins.opt.tahiti.bc LLVM-LINK nvptx--nvidiacl/lib/builtins.link.bc WARNING: Linking two modules of different data layouts: 'nvptx--nvidiacl/lib/shared/vload_half_helpers.ll.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v32:32-n16:32:64' WARNING: Linking two modules of different data layouts: 'nvptx--nvidiacl/lib/shared/vstore_half_helpers.ll.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v32:32-n16:32:64' WARNING: Linking two modules of different data layouts: 'nvptx--nvidiacl/lib/subnormal_helper_func.ll.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v32:32-n16:32:64' WARNING: Linking two modules of different data layouts: 'generic--/lib/subnormal_use_default.bc' is '' whereas 'llvm-link' is 'e-p:32:32-i64:64-v16:16-v32:32-n16:32:64' PREPARE-BUILTINS built_libs/cedar-r600--.bc PREPARE-BUILTINS built_libs/cypress-r600--.bc PREPARE-BUILTINS built_libs/barts-r600--.bc PREPARE-BUILTINS built_libs/cayman-r600--.bc OPT nvptx--nvidiacl/lib/builtins.opt.bc PREPARE-BUILTINS built_libs/nvptx64--nvidiacl.bc PREPARE-BUILTINS built_libs/amdgcn--amdhsa.bc PREPARE-BUILTINS built_libs/tahiti-amdgcn--.bc PREPARE-BUILTINS built_libs/tahiti-amdgcn-mesa-mesa3d.bc PREPARE-BUILTINS built_libs/nvptx--nvidiacl.bc Using this build of clang/llvm: ~/opt/mesa-debug/bin/llvm-config --version 5.0.1
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/920.
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.