Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827433 Details for
Bug 879727
net-dns/opendnssec: 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), 18.24 KB, created by
Matt Jolly
on 2022-11-04 22:13:10 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:13:10 UTC
Size:
18.24 KB
patch
obsolete
>--- clang-14.log 2022-11-02 22:36:16.044754026 +1100 >+++ clang-15.log 2022-11-02 22:36:16.045754022 +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 > > > >@@ -49,23 +49,23 @@ > > > >-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 '-version'; did you mean '--version'? >-clang-15: error: no input files >+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 > /usr/bin/x86_64-pc-linux-gnu-ld > > >@@ -79,36 +79,36 @@ > > > >-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' > >-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-14: error: unsupported option '-V -o' >+clang-14: error: unknown argument '-qversion'; did you mean '--version'? >+clang-14: error: no input files > > > conftest.cpp:247:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] >@@ -129,37 +129,37 @@ > > /usr/bin/x86_64-pc-linux-gnu-ld > /usr/bin/x86_64-pc-linux-gnu-ld >-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 -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 >+ "/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 > > > >-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 '-version'; did you mean '--version'? >-clang-15: error: no input files >+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: error: "no C++" > #error "no C++" > ^ >@@ -209,10 +209,10 @@ > > > >-clang-15: error: unknown argument: '-warn' >-clang-15: error: unknown argument: '-warn' >-clang-15: error: no such file or directory: 'all' >-clang-15: error: no such file or directory: 'all' >+clang-14: error: unknown argument: '-warn' >+clang-14: error: unknown argument: '-warn' >+clang-14: error: no such file or directory: 'all' >+clang-14: error: no such file or directory: 'all' > > > ignoreme: error: expected expression >@@ -343,14 +343,14 @@ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `arc4random' >-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 arc4random_uniform (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `arc4random_uniform' >-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 dup2 (); > ^ >@@ -391,7 +391,7 @@ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `getpassphrase' >-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 memset (); > ^ >@@ -626,28 +626,28 @@ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `openlog_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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char closelog_r (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `closelog_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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char syslog_r (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `syslog_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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char vsyslog_r (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `vsyslog_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: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] > char chroot (); > ^ >@@ -723,21 +723,21 @@ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `xmlInitParser' >-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 xmlCleanupParser (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `xmlCleanupParser' >-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 xmlCleanupThreads (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `xmlCleanupThreads' >-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 pthread_mutex_init (); > ^ >@@ -854,7 +854,7 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/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 (); > ^ >@@ -866,21 +866,21 @@ > 2 warnings generated. > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/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 b64_pton (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `b64_pton' >-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 b64_ntop (); > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/opendnssec-2.1.10-r2/temp/conftest.o: in function `main': > conftest.c:(.text+0x4): undefined reference to `b64_ntop' >-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 setresuid (); > ^ >@@ -903,9 +903,13 @@ > ignoreme: error: call to undeclared function 'setresgid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} > ^ >-ignoreme: warning: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+ignoreme: error: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > void testing (void) { struct tm t; char *timestr; strptime(timestr, "%Y%m", &t); } > ^ >+ignoreme: note: did you mean 'strftime'? >+/usr/include/time.h:100:14: note: 'strftime' declared here >+extern size_t strftime (char *__restrict __s, size_t __maxsize, >+ ^ > ignoreme: error: variable 'timestr' is uninitialized when used here [-Werror,-Wuninitialized] > void testing (void) { struct tm t; char *timestr; strptime(timestr, "%Y%m", &t); } > ^~~~~~~ >@@ -913,6 +917,7 @@ > void testing (void) { struct tm t; char *timestr; strptime(timestr, "%Y%m", &t); } > ^ > = NULL >+2 errors generated. > ignoreme: error: no member named 'sun_len' in 'struct sockaddr_un' > if (ac_aggr.sun_len) > ~~~~~~~ ^ >@@ -973,4 +978,4 @@ > ^ > void > /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lbacktrace: 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)
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 879727
:
827429
|
827431
| 827433