<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - current clang snapshot fails to build with an older version of itself" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24096&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=bP2kkEbgzLu66WTBNBU-TmPHZ_neAY_IEzPx14djNrg&s=ycuj6-B3s-ffmG1HFev1_nG5L2-F97FOtrctY4CMDkc&e=">24096</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>current clang snapshot fails to build with an older version of itself
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bero@linaro.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>