Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827421 Details for
Bug 879723
net-dns/knot: 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), 9.43 KB, created by
Matt Jolly
on 2022-11-04 22:12:52 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:12:52 UTC
Size:
9.43 KB
patch
obsolete
>--- clang-14.log 2022-11-02 22:36:16.007754145 +1100 >+++ clang-15.log 2022-11-02 22:36:16.007754145 +1100 >@@ -1,20 +1,20 @@ >-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-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 > > > >@@ -54,22 +54,22 @@ > #include <minix/config.h> > ^~~~~~~~~~~~~~~~ > >-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: unknown argument '-qversion'; did you mean '--version'? >-clang-15: error: no input files >-clang-15: error: unknown argument: '-fpredictive-commoning' >+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: '-fpredictive-commoning' > ignoreme: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > main () > ^ >@@ -122,20 +122,20 @@ > ^ > void > >-clang-15: error: unsupported option '-V -o' >+clang-14: error: unsupported option '-V -o' > >-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 >+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 garbage /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/15/bin:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin >-libraries: =/usr/lib/llvm/15/bin/../../../../lib/clang/15.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-15: error: unsupported option '-print-multi-os-directory' >+ "/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' > ignoreme: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > main () > ^ >@@ -151,7 +151,7 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `gnutls_pkcs11_copy_pubkey' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > main () > ^ >@@ -242,7 +242,7 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `kqueue' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char epoll_create (); > ^ >@@ -291,7 +291,7 @@ > 3 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `pow' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char pow (); > ^ >@@ -352,7 +352,7 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `fgetln' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char getline (); > ^ >@@ -404,7 +404,7 @@ > 3 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `strlcat' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char strlcpy (); > ^ >@@ -420,7 +420,7 @@ > 3 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `strlcpy' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char sysctlbyname (); > ^ >@@ -432,7 +432,7 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `sysctlbyname' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char explicit_bzero (); > ^ >@@ -453,7 +453,7 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/knot-3.2.1/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `explicit_memset' >-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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char vasprintf (); > ^ >@@ -502,7 +502,7 @@ > main () > ^ > void >-ignoreme: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] >+ignoreme: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > main () > ^ > void
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 879723
:
827417
|
827419
| 827421