[LLVMbugs] [Bug 24096] New: current clang snapshot fails to build with an older version of itself

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 12 06:10:40 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24096

            Bug ID: 24096
           Summary: current clang snapshot fails to build with an older
                    version of itself
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: bero at linaro.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Trying to update from clang 3.7.0 svn 240532 to current clang 3.7.0 svn results
in a build failure:

cd /home/bero/abf/llvm/BUILD/llvm-3.7.0.src/build/tools/clang/lib/Basic &&
/usr/bin/clang++   -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER
-DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Oz -gdwarf-4 -Wstrict-aliasing=2
-pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4  -fPIC -fPIC -fvisibility-inlines-hidden -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers
-pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -std=c++1y
-ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual
-fno-strict-aliasing -Wno-nested-anon-types -Oz -gdwarf-4 -Wstrict-aliasing=2
-pipe -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4  -fPIC -fPIC
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/build/tools/clang/lib/Basic
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Basic
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/build/tools/clang/include
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/build/include
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include
-I/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers    -o
CMakeFiles/clangBasic.dir/Attributes.cpp.o -c
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Basic/Attributes.cpp
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Basic/Attributes.cpp:1:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/Attributes.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/LangOptions.h:20:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/ObjCRuntime.h:19:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/Triple.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/Twine.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/SmallVector.h:20:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/Support/MathExtras.h:18:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/Support/SwapByteOrder.h:19:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/build/include/llvm/Support/DataTypes.h:41:
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/inttypes.h:26:2:
warning:                                                                        
      #include_next is a language extension [-Wpedantic]
#include_next <inttypes.h>
 ^
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Basic/Attributes.cpp:1:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/Attributes.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/LangOptions.h:20:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/ObjCRuntime.h:19:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/Triple.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/Twine.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/SmallVector.h:20:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/Support/MathExtras.h:18:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/Support/SwapByteOrder.h:19:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/build/include/llvm/Support/DataTypes.h:45:
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/stdint.h:61:3:
warning:                                                                        
      #include_next is a language extension [-Wpedantic]
# include_next <stdint.h>
  ^
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Basic/Attributes.cpp:1:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/Attributes.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/LangOptions.h:20:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/include/clang/Basic/ObjCRuntime.h:19:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/Triple.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/Twine.h:13:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/include/llvm/ADT/SmallVector.h:22:
In file included from
/usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.1.1/../../../../include/c++/5.1.1/algorithm:62:
In file included from
/usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.1.1/../../../../include/c++/5.1.1/bits/stl_algo.h:66:
In file included from
/usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.1.1/../../../../include/c++/5.1.1/random:50:
In file included from
/usr/bin/../lib64/gcc/x86_64-mandriva-linux-gnu/5.1.1/../../../../include/c++/5.1.1/x86_64-mandriva-linux-gnu/bits/opt_random.h:33:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/x86intrin.h:29:
In file included from
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/immintrin.h:53:
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:979:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddpd512_mask3'; did you
      mean '__builtin_ia32_vfmaddpd512_mask'?
  return (__m512d) __builtin_ia32_vfmaddpd512_mask3 ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:959:20:
note: 
      '__builtin_ia32_vfmaddpd512_mask' declared here
  return (__m512d) __builtin_ia32_vfmaddpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:989:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddpd512_maskz'; did you
      mean '__builtin_ia32_vfmaddpd512_mask'?
  return (__m512d) __builtin_ia32_vfmaddpd512_maskz ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:959:20:
note: 
      '__builtin_ia32_vfmaddpd512_mask' declared here
  return (__m512d) __builtin_ia32_vfmaddpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1019:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddpd512_maskz'; did you
      mean '__builtin_ia32_vfmaddpd512_mask'?
  return (__m512d) __builtin_ia32_vfmaddpd512_maskz ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:959:20:
note: 
      '__builtin_ia32_vfmaddpd512_mask' declared here
  return (__m512d) __builtin_ia32_vfmaddpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1039:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddpd512_mask3'; did you
      mean '__builtin_ia32_vfmaddpd512_mask'?
  return (__m512d) __builtin_ia32_vfmaddpd512_mask3 (-(__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:959:20:
note: 
      '__builtin_ia32_vfmaddpd512_mask' declared here
  return (__m512d) __builtin_ia32_vfmaddpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1049:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddpd512_maskz'; did you
      mean '__builtin_ia32_vfmaddpd512_mask'?
  return (__m512d) __builtin_ia32_vfmaddpd512_maskz (-(__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:959:20:
note: 
      '__builtin_ia32_vfmaddpd512_mask' declared here
  return (__m512d) __builtin_ia32_vfmaddpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1069:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddpd512_maskz'; did you
      mean '__builtin_ia32_vfmaddpd512_mask'?
  return (__m512d) __builtin_ia32_vfmaddpd512_maskz (-(__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:959:20:
note: 
      '__builtin_ia32_vfmaddpd512_mask' declared here
  return (__m512d) __builtin_ia32_vfmaddpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1171:19:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddps512_mask3'; did you
      mean '__builtin_ia32_vfmaddps512_mask'?
  return (__m512) __builtin_ia32_vfmaddps512_mask3 ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1151:19:
note: 
      '__builtin_ia32_vfmaddps512_mask' declared here
  return (__m512) __builtin_ia32_vfmaddps512_mask ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1181:19:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddps512_maskz'; did you
      mean '__builtin_ia32_vfmaddps512_mask'?
  return (__m512) __builtin_ia32_vfmaddps512_maskz ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1151:19:
note: 
      '__builtin_ia32_vfmaddps512_mask' declared here
  return (__m512) __builtin_ia32_vfmaddps512_mask ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1211:19:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddps512_maskz'; did you
      mean '__builtin_ia32_vfmaddps512_mask'?
  return (__m512) __builtin_ia32_vfmaddps512_maskz ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1151:19:
note: 
      '__builtin_ia32_vfmaddps512_mask' declared here
  return (__m512) __builtin_ia32_vfmaddps512_mask ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1231:19:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddps512_mask3'; did you
      mean '__builtin_ia32_vfmaddps512_mask'?
  return (__m512) __builtin_ia32_vfmaddps512_mask3 (-(__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1151:19:
note: 
      '__builtin_ia32_vfmaddps512_mask' declared here
  return (__m512) __builtin_ia32_vfmaddps512_mask ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1241:19:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddps512_maskz'; did you
      mean '__builtin_ia32_vfmaddps512_mask'?
  return (__m512) __builtin_ia32_vfmaddps512_maskz (-(__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1151:19:
note: 
      '__builtin_ia32_vfmaddps512_mask' declared here
  return (__m512) __builtin_ia32_vfmaddps512_mask ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1261:19:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddps512_maskz'; did you
      mean '__builtin_ia32_vfmaddps512_mask'?
  return (__m512) __builtin_ia32_vfmaddps512_maskz (-(__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1151:19:
note: 
      '__builtin_ia32_vfmaddps512_mask' declared here
  return (__m512) __builtin_ia32_vfmaddps512_mask ((__v16sf) __A,
                  ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1313:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_mask'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1323:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_mask'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1333:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_mask3'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_mask3 ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1343:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_maskz'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_maskz ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1353:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_mask'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1363:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_mask'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_mask ((__v8df) __A,
                   ^
/home/bero/abf/llvm/BUILD/llvm-3.7.0.src/tools/clang/lib/Headers/avx512fintrin.h:1373:20:
error: 
      use of undeclared identifier '__builtin_ia32_vfmaddsubpd512_maskz'
  return (__m512d) __builtin_ia32_vfmaddsubpd512_maskz ((__v8df) __A,
                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]             
2 warnings and 20 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150712/e43cdb85/attachment.html>


More information about the llvm-bugs mailing list