Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 827457 Details for
Bug 879735
net-libs/netwib: 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), 8.11 KB, created by
Matt Jolly
on 2022-11-04 22:13:46 UTC
(
hide
)
Description:
clang.diff
Filename:
MIME Type:
Creator:
Matt Jolly
Created:
2022-11-04 22:13:46 UTC
Size:
8.11 KB
patch
obsolete
>--- clang-14.log 2022-11-02 22:36:16.407752851 +1100 >+++ clang-15.log 2022-11-02 22:36:16.407752851 +1100 >@@ -75,12 +75,12 @@ > pthread_create(p, NULL, NULL, NULL); > ~~~~ ^ > >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-215a50.o: in function `main': >+/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-2593a4.o: in function `main': > config.check.tmp.c:(.text+0x2): undefined reference to `libnet_destroy_packet' >-clang-15: 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-libs/netwib-5.39.0/temp/config-3262d7.o: in function `main': >+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-libs/netwib-5.39.0/temp/config-7534b0.o: in function `main': > config.check.tmp.c:(.text+0x2): undefined reference to `libnet_destroy_packet' >-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) > > > >@@ -216,7 +216,7 @@ > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:15:11: error: no member named 'sin_len' in 'struct sockaddr_in' >+config.check.tmp.c:14:11: error: no member named 'sin_len' in 'struct sockaddr_in' > psain->sin_len = 0; > ~~~~~ ^ > In file included from config.check.tmp.c:7: >@@ -225,7 +225,7 @@ > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:15:12: error: no member named 'sin6_len' in 'struct sockaddr_in6' >+config.check.tmp.c:14:12: error: no member named 'sin6_len' in 'struct sockaddr_in6' > psain6->sin6_len = 0; > ~~~~~~ ^ > In file included from config.check.tmp.c:7: >@@ -240,11 +240,10 @@ > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:14:6: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+config.check.tmp.c:14:6: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > t=strlen("t")+strlen("u"); /*otherwise, no bug ...*/ > ^ > config.check.tmp.c:14:6: note: include the header <string.h> or explicitly provide a declaration for 'strlen' >-2 warnings generated. > In file included from config.check.tmp.c:7: > In file included from /usr/include/stdlib.h:26: > In file included from /usr/include/bits/libc-header-start.h:33: >@@ -272,10 +271,10 @@ > config.check.tmp.c:12:26: error: too many arguments to function call, expected 1, have 2 > { pcap_freecode(NULL, NULL); > ~~~~~~~~~~~~~ ^~~~ >-/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' >+/usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' > # define NULL ((void*)0) > ^~~~~~~~~~ >-/usr/include/pcap/pcap.h:622:15: note: 'pcap_freecode' declared here >+/usr/include/pcap/pcap.h:622:14: note: 'pcap_freecode' declared here > PCAP_API void pcap_freecode(struct bpf_program *); > ^ > In file included from config.check.tmp.c:7: >@@ -368,13 +367,9 @@ > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:12:6: warning: call to undeclared function 'pthread_delay_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+config.check.tmp.c:12:6: error: call to undeclared function 'pthread_delay_np'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > { pthread_delay_np(NULL); > ^ >-2 warnings generated. >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-e704a3.o: in function `main': >-config.check.tmp.c:(.text+0x6): undefined reference to `pthread_delay_np' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > In file included from config.check.tmp.c:7: > In file included from /usr/include/stdlib.h:26: > In file included from /usr/include/bits/libc-header-start.h:33: >@@ -467,10 +462,10 @@ > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:14:15: error: incompatible pointer to integer conversion passing 'void *' to parameter of type '__gid_t' (aka 'unsigned int') [-Wint-conversion] >+config.check.tmp.c:14:14: error: incompatible pointer to integer conversion passing 'void *' to parameter of type '__gid_t' (aka 'unsigned int') [-Wint-conversion] > { getgrgid_r(NULL, NULL, NULL, 0, NULL); > ^~~~ >-/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' >+/usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' > # define NULL ((void*)0) > ^~~~~~~~~~ > /usr/include/grp.h:140:32: note: passing argument to parameter '__gid' here >@@ -531,26 +526,22 @@ > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:12:4: warning: call to undeclared function 'getipnodebyname'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+config.check.tmp.c:12:4: error: call to undeclared function 'getipnodebyname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > { getipnodebyname(NULL, 0, 0, NULL); > ^ >-2 warnings generated. >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-c1d446.o: in function `main': >-config.check.tmp.c:(.text+0xc): undefined reference to `getipnodebyname' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) >+config.check.tmp.c:12:4: note: did you mean 'getprotobyname'? >+/usr/include/netdb.h:355:25: note: 'getprotobyname' declared here >+extern struct protoent *getprotobyname (const char *__name); >+ ^ > In file included from config.check.tmp.c:7: > In file included from /usr/include/stdlib.h:26: > In file included from /usr/include/bits/libc-header-start.h:33: > /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" > ^ >-config.check.tmp.c:12:4: warning: call to undeclared function 'getipnodebyaddr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] >+config.check.tmp.c:12:4: error: call to undeclared function 'getipnodebyaddr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] > { getipnodebyaddr(NULL, 0, 0, NULL); > ^ >-2 warnings generated. >-/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-d7d6c7.o: in function `main': >-config.check.tmp.c:(.text+0xc): undefined reference to `getipnodebyaddr' >-clang-15: error: linker command failed with exit code 1 (use -v to see invocation) > In file included from config.check.tmp.c:7: > In file included from /usr/include/stdlib.h:26: > In file included from /usr/include/bits/libc-header-start.h:33:
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 879735
:
827453
|
827455
| 827457