http://llvm.org/bugs/show_bug.cgi?id=20196

            Bug ID: 20196
           Summary: error: no member named 'max_align_t' in the global
                    namespace
           Product: Build scripts
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

I'm trying to install llvm 3.4.2 (on an 64Bit Ubuntu)

I've checked "https://groups.google.com/forum/#!topic/llvm-dev/mIaY3BCXtf8"; and 
"http://reviews.llvm.org/rL201729"; which are already in the current version.

I configured via:
../configure --enable-optimized --enable-cxx11
--prefix=/somepath/llvm-3.4.2-install

Then make gives me:

make[1]: Entering directory `local/llvm-3.4.2.src/build/lib/Support'
llvm[1]: Compiling APFloat.cpp for Release+Asserts build
In file included from local/llvm-3.4.2.src/lib/Support/APFloat.cpp:15:
In file included from local/llvm-3.4.2.src/include/llvm/ADT/APFloat.h:20:
In file included from local/llvm-3.4.2.src/include/llvm/ADT/APInt.h:19:
In file included from local/llvm-3.4.2.src/include/llvm/ADT/ArrayRef.h:14:
In file included from local/llvm-3.4.2.src/include/llvm/ADT/SmallVector.h:17:
In file included from local/llvm-3.4.2.src/include/llvm/Support/AlignOf.h:19:
/somelocalpathto/gcc/include/c++/4.9.0/cstddef:51:11: error: no member named
'max_align_t' in the global namespace
  using ::max_align_t;
        ~~^
1 error generated.
make[1]: *** [local/llvm-3.4.2.src/build/lib/Support/Release+Asserts/APFloat.o]
Error 1
make[1]: Leaving directory `local/llvm-3.4.2.src/build/lib/Support'
make: *** [all] Error 1

(I have some user-installed gcc-4.9.0 where I added the binary path to the PATH
variable, the libary path to the LD_LIBRARY_PATH and the header path to the
C(PLUS)_INCLUDE_PATH.)

Any hints what to do, or do you need more information on this?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to