Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failed unexpectedly (Ubuntu 19.10) #106

Closed
carbonlang opened this issue Jan 23, 2020 · 4 comments
Closed

Compilation failed unexpectedly (Ubuntu 19.10) #106

carbonlang opened this issue Jan 23, 2020 · 4 comments
Labels
build-problem compiler-rt obsolete Issues with old (unsupported) versions of LLVM

Comments

@carbonlang
Copy link

carbonlang commented Jan 23, 2020

I am getting the following error during compilation. I am using the LLVM 9.0.1 release from github.com

gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2) 
COLLECT_GCC_OPTIONS='-o' '/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/libcxx/utilities/meta/Output/meta_base.pass.cpp.o' '-c' '-v' '-ftemplate-depth=270' '-std=c++2a' '-include' '/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/nasty_macros.hpp' '-nostdinc++' '-I' '/home/prashants/llvm/src/llvm-9.0.1/libcxx/include' '-I' '/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/include/c++build' '-D' '__STDC_FORMAT_MACROS' '-D' '__STDC_LIMIT_MACROS' '-D' '__STDC_CONSTANT_MACROS' '-I' '/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support' '-D' 'LIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"' '-D' 'LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/filesystem/Output/dynamic_env"' '-D' 'LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/filesystem_dynamic_test_helper.py"' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -nostdinc++ -v -I /home/prashants/llvm/src/llvm-9.0.1/libcxx/include -I /home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/include/c++build -I /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D LIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/std/input.output/filesystems/Inputs/static_test_env" -D LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/filesystem/Output/dynamic_env" -D LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/filesystem_dynamic_test_helper.py" -include /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/nasty_macros.hpp /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp -quiet -dumpbase meta_base.pass.cpp -mtune=generic -march=x86-64 -auxbase-strip /home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/libcxx/utilities/meta/Output/meta_base.pass.cpp.o -std=c++2a -version -ftemplate-depth=270 -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/lit_tmp_KtInq1/ccqjakMh.s
GNU C++17 (Ubuntu 9.2.1-9ubuntu2) version 9.2.1 20191008 (x86_64-linux-gnu)
	compiled by GNU C version 9.2.1 20191008, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/prashants/llvm/src/llvm-9.0.1/libcxx/include
 /home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/include/c++build
 /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support
 /usr/lib/gcc/x86_64-linux-gnu/9/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
GNU C++17 (Ubuntu 9.2.1-9ubuntu2) version 9.2.1 20191008 (x86_64-linux-gnu)
	compiled by GNU C version 9.2.1 20191008, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0b9b8169e2ec34ea6760fe47bcd8139b
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp: In function ‘void test_is_valid_trait()’:
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp:74:65: error: static assertion failed
   74 |   static_assert(std::_IsValidExpansion<HasFooData, MemberTest>::value, "");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp:77:66: error: static assertion failed
   77 |   static_assert(std::_IsValidExpansion<HasFooType, MemberTest2>::value, "");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp:78:72: error: static assertion failed
   78 |   static_assert(std::_IsValidExpansion<FuncCallable, MemberTest, int>::value, "");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
--

Compilation failed unexpectedly!
********************
@mclow
Copy link
Contributor

mclow commented Jan 23, 2020

Better to report this at https://bugs.llvm.org; and assign it to libc++

@mclow
Copy link
Contributor

mclow commented Jan 23, 2020

And you're using gcc 9.2.1, not clang.

@androm3da
Copy link
Member

And you're using gcc 9.2.1, not clang.

Doesn't libcxx support being built by gcc?

@arsenm
Copy link
Contributor

arsenm commented Aug 14, 2023

Old build problem on old release

@arsenm arsenm closed this as not planned Won't fix, can't repro, duplicate, stale Aug 14, 2023
@EugeneZelenko EugeneZelenko added the obsolete Issues with old (unsupported) versions of LLVM label Aug 14, 2023
mjklemm pushed a commit to mjklemm/llvm-project that referenced this issue Jul 3, 2024
…lvm#106)

This patch takes declare target information on global variables into account
when performing global variable filtering for the device. This prevents 'any'
and 'nohost' globals from being removed.

It fixes the failing lit test: flang/test/Lower/OpenMP/declare-target-data.f90.
RevySR pushed a commit to revyos/llvm-project that referenced this issue Jul 27, 2024
…compress` (llvm#106)

* [Clang][XTHeadVector] Implement 17.4-17.6 `vmv/vfmv/vslide/vrgather/vcompress`

* [Clang][XTHeadVector] Test 17.4-17.6 `vmv/vfmv/vslide/vrgather/vcompress`

* [Clang][XTHeadVector] Implement wrappers for 17.4-17.6 `vmv/vfmv/vslide/vrgather/vcompress`

* [NFC] fix format
vitalybuka added a commit that referenced this issue Aug 30, 2024
alexanderguy pushed a commit to alexanderguy/llvm-project that referenced this issue Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-problem compiler-rt obsolete Issues with old (unsupported) versions of LLVM
Projects
None yet
Development

No branches or pull requests

6 participants