Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827409 Details for
Bug 879719
net-analyzer/yersinia: 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.diff
clang.diff (text/plain), 4.53 KB, created by
Matt Jolly
on 2022-11-04 22:12:39 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:12:39 UTC
Size:
4.53 KB
patch
obsolete
>--- clang-14.log 2022-11-02 22:36:15.928754401 +1100 >+++ clang-15.log 2022-11-02 22:36:15.929754398 +1100 >@@ -1,22 +1,22 @@ >-clang version 15.0.1 >+clang version 14.0.1 > Target: x86_64-pc-linux-gnu > Thread model: posix >-InstalledDir: /usr/lib/llvm/15/bin >-clang version 15.0.1 >+InstalledDir: /usr/lib/llvm/14/bin >+clang version 14.0.1 > Target: x86_64-pc-linux-gnu > Thread model: posix >-InstalledDir: /usr/lib/llvm/15/bin >+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-15: error: unsupported option '-V -o' >-clang-15: error: no such file or directory: 'garbage' >-clang-15: error: no input files >-clang-15: error: unknown argument '-qversion'; did you mean '--version'? >-clang-15: error: no input files >-clang-15: error: unknown argument '-version'; did you mean '--version'? >-clang-15: error: no input files >+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 > > > >@@ -38,23 +38,23 @@ > > > >-ignoreme: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] >+ignoreme: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] > main() { > ^ > int >-ignoreme: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > pid = fork(); > ^ >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > exit(2); > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' >-3 warnings generated. >+3 errors generated. > ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] > { > ^ > /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lsocket: No such file or directory >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >+clang-14: error: linker command failed with exit code 1 (use -v to see invocation) > ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] > { > ^ >@@ -115,17 +115,17 @@ > > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/yersinia-0.8.2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `calloc_r' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >+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/net-analyzer/yersinia-0.8.2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `malloc_r' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >+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/net-analyzer/yersinia-0.8.2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `free_r' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >+clang-14: error: linker command failed with exit code 1 (use -v to see invocation) > > > >-ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > exit(0); > ^ > ignoreme: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
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 879719
:
827405
|
827407
| 827409