svn commit: r346410 - in head: lib/libc/gen share/man/man9 sys/conf sys/libkern sys/sys

Charlie Li ml+freebsd at vishwin.info
Tue Sep 3 14:08:09 UTC 2019


O. Hartmann wrote:
> Am Fri, 19 Apr 2019 20:05:48 +0000 (UTC) Conrad Meyer schrieb:
>> Modified: head/lib/libc/gen/Makefile.inc
>> ==============================================================================
>> --- head/lib/libc/gen/Makefile.inc	Fri Apr 19 19:45:19 2019	(r346409)
>> +++ head/lib/libc/gen/Makefile.inc	Fri Apr 19 20:05:47 2019	(r346410)
>> @@ -3,6 +3,7 @@
> 
>>  # machine-independent gen sources
>>  .PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/gen ${LIBC_SRCTOP}/gen
>> +.PATH: ${SRCTOP}/sys/libkern
> 
>>  CONFS=	shells
> 
> 
> After applying r346410 to our source tree, buildworld fails (WITH_META_MODE is set):
> 
> [...]
> Building /usr/obj/usr/src/amd64.amd64/lib/libc/ev_timers.o
> --- inet_ntoa.o ---
> In file included from /usr/src/sys/libkern/inet_ntoa.c:34:
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/systm.h:172:8: error: unknown type name 'bool'
> extern bool dynamic_kenv;
>        ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/systm.h:211:5: warning: declaration of
> built-in function 'setjmp' requires inclusion of the header <setjmp.h>
> [-Wbuiltin-requires-header] int     setjmp(struct _jmp_buf *) __returns_twice; ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/systm.h:212:6: warning: declaration of
> built-in function 'longjmp' requires inclusion of the header <setjmp.h>
> [-Wbuiltin-requires-header] void    longjmp(struct _jmp_buf *, int) __dead2; ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/systm.h:285:6: warning: incompatible
> redeclaration of library function 'log' [-Wincompatible-library-redeclaration] void
> log(int, const char *, ...) __printflike(2, 3); ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/systm.h:285:6: note: 'log' is a builtin with
> type 'double (double)' /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/systm.h:382:39: error:
> unknown type name 'uintfptr_t'; did you mean 'uintptr_t'? void    profclock(int cnt, int
> usermode, uintfptr_t pc); ^
> /usr/obj/usr/src/amd64.amd64/tmp/usr/include/sys/_stdint.h:80:22: note: 'uintptr_t' declared
> here typedef __uintptr_t             uintptr_t;
> 
> 
> Is there an include missing?
> Beat me to the initial email. With the specific file change quoted
above, looks like inet_*.c are getting pulled from sys/libkern instead
of the proper lib/libc/inet.

-- 
Charlie Li
…nope, still don't have an exit line.

(This email address is for mailing list use; replace local-part with
vishwin for off-list communication if possible)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20190903/aac627a5/attachment.sig>


More information about the svn-src-all mailing list