Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827293 Details for
Bug 879681
dev-util/cpputest: possible configure breakage with Clang 16
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
clang-15.log
clang-15.log (text/plain), 11.02 KB, created by
Matt Jolly
on 2022-11-04 22:10:28 UTC
(
hide
)
Description:
clang-15.log
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:10:28 UTC
Size:
11.02 KB
patch
obsolete
>clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 >clang-14: error: unsupported option '-V -o' >clang-14: error: no such file or directory: 'garbage2' >clang-14: error: no input files >clang-14: error: unknown argument '-qversion'; did you mean '--version'? >clang-14: error: no input files >clang-14: error: unknown argument '-version'; did you mean '--version'? >clang-14: error: no input files > > > > > > >ignoreme: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] >static char *e (p, i) > ^ > > >/usr/bin/x86_64-pc-linux-gnu-ld > > > > > > > > > > > > > > >ignoreme: fatal error: 'vfork.h' file not found >#include <vfork.h> > ^~~~~~~~~ > > > > > > > >clang-14: error: unsupported option '-V -o' > >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 > "/usr/bin/x86_64-pc-linux-gnu-ld" --eh-frame-hdr -m elf_x86_64 -shared -o garbage2 /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib -L/lib -L/usr/lib conftest.o -soname conftest -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crtn.o >programs: =/usr/lib/llvm/14/bin:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin >libraries: =/usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64:/lib/../lib64:/usr/lib/../lib64:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib:/lib:/usr/lib >clang-14: error: unsupported option '-print-multi-os-directory' > >/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/cpputest-4.0/temp/conftest.o: in function `main': >conftest.c:(.text+0x4): undefined reference to `shl_load' >clang-14: error: linker command failed with exit code 1 (use -v to see invocation) >/usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ldld: No such file or directory >clang-14: error: linker command failed with exit code 1 (use -v to see invocation) > > >/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/dev-util/cpputest-4.0/temp/conftest.o: in function `main': >conftest.c:(.text+0x19): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 >clang-14: error: unsupported option '-V -o' >clang-14: error: unknown argument '-qversion'; did you mean '--version'? >clang-14: error: no input files >clang-14: error: unknown argument '-version'; did you mean '--version'? >clang-14: error: no input files > >ignoreme: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ > >ignoreme: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 >clang-14: error: unsupported option '-V -o' >clang-14: error: no such file or directory: 'garbage2' >clang-14: error: no input files >clang-14: error: unknown argument '-qversion'; did you mean '--version'? >clang-14: error: no input files > > >conftest.cpp:189:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] > cxx11test::delegate d2(); > ^~ >conftest.cpp:189:25: note: remove parentheses to declare a variable > cxx11test::delegate d2(); > ^~ > >conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ > >conftest.cpp:23:10: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ > > >/usr/bin/x86_64-pc-linux-gnu-ld >/usr/bin/x86_64-pc-linux-gnu-ld >clang-14: error: unsupported option '-V -o' > >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 > "/usr/bin/x86_64-pc-linux-gnu-ld" --eh-frame-hdr -m elf_x86_64 -shared -o garbage2 /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib -L/lib -L/usr/lib conftest.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crtn.o > > > >ignoreme: warning: null passed to a callee that requires a non-null argument [-Wnonnull] > pthread_attr_init(0); pthread_cleanup_push(0, 0); > ~^ >ignoreme: warning: null passed to a callee that requires a non-null argument [-Wnonnull] > pthread_create(0,0,0,0); pthread_cleanup_pop(0); > ~ ^ >ignoreme: warning: null passed to a callee that requires a non-null argument [-Wnonnull] > pthread_create(0,0,0,0); pthread_cleanup_pop(0); > ~ ^ >3 warnings generated. >/usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lpthreads: No such file or directory >clang-14: error: linker command failed with exit code 1 (use -v to see invocation) >ignoreme: warning: null passed to a callee that requires a non-null argument [-Wnonnull] > pthread_attr_init(0); pthread_cleanup_push(0, 0); > ~^ >ignoreme: warning: null passed to a callee that requires a non-null argument [-Wnonnull] > pthread_create(0,0,0,0); pthread_cleanup_pop(0); > ~ ^ >ignoreme: warning: null passed to a callee that requires a non-null argument [-Wnonnull] > pthread_create(0,0,0,0); pthread_cleanup_pop(0); > ~ ^ >3 warnings generated. > >ignoreme: error: use of undeclared identifier 'thisisanerror' > thisisanerror; > ^ >ignoreme: error: use of undeclared identifier 'thisisanerror' > thisisanerror; > ^ >ignoreme: error: use of undeclared identifier 'thisisanerror' > thisisanerror; > ^ > > > > > > > > > >ignoreme: error: 'test_array' declared as an array with a negative size >static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >ignoreme: warning: overflow in expression; result is -2147483648 with type 'int' [-Winteger-overflow] > < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; > ^ >ignoreme: error: 'test_array' declared as an array with a negative size >static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >ignoreme: warning: overflow in expression; result is -9223372036854775808 with type 'long' [-Winteger-overflow] > < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; > ^ >ignoreme: error: 'test_array' declared as an array with a negative size >static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >ignoreme: error: 'test_array' declared as an array with a negative size >static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >ignoreme: error: expected expression >if (sizeof ((pid_t))) > ^ > >ignoreme: error: expected expression >if (sizeof ((size_t))) > ^ > > > > > > > >ignoreme: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration] >char vfork (); > ^ >ignoreme: note: 'vfork' is a builtin with type 'int (void)' > > >ignoreme: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration] >char memset (); > ^ >ignoreme: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)' >ignoreme: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration] >char strstr (); > ^ >ignoreme: note: 'strstr' is a builtin with type 'char *(const char *, const char *)' >ignoreme: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] >char strdup (); > ^ >ignoreme: note: 'strdup' is a builtin with type 'char *(const char *)' > > > > > > > > > >conftest.cpp:40:10: fatal error: 'cstdio' file not found >#include <cstdio> > ^~~~~~~~ > > > > > >ignoreme: error: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt] > ; > ^ > > > > > > > > > > > > > > > > > > > > >conftest.cpp:40:14: error: extra tokens at end of #include directive [-Werror,-Wextra-tokens] >#include <new>\nvoid operator delete(void* mem); > ^ > // >conftest.cpp:40:14: error: extra tokens at end of #include directive [-Werror,-Wextra-tokens] >#include <new>\nvoid* operator new(size_t size) throw(std::bad_alloc);; > ^ > // > >clang version 14.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/14/bin >/usr/bin/x86_64-pc-linux-gnu-ld: unrecognised emulation mode: ap >Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu elf_l1om elf_k1om >clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 879681
:
827291
| 827293 |
827295