Subject: lib/21717: libc does not compile in _lwp.c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 05/30/2003 13:44:18
>Number:         21717
>Category:       lib
>Synopsis:       libc does not compile in _lwp.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 30 04:45:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        NetBSD 1.6T
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.6T NetBSD 1.6T (STARFRUIT) #106: Fri May 30 13:05:17 JST 2003 itojun@starfruit.itojun.org:/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
	compilation fails in _lwp.c:

 >        sp = (void **) ((uintptr_t)(stack_base + stack_size) & ~0x3);

>How-To-Repeat:
CC=/usr/tool/bin/i386--netbsdelf-gcc /usr/tool/bin/i386--netbsdelf-lint -chapbxzF -w -X 272 -d /usr/include -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/home/itojun/NetBSD/src/lib/libc/include -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE -I/usr/home/itojun/NetBSD/src/libexec/ld.elf_so -I/usr/home/itojun/NetBSD/src/lib/libc/dlfcn -DI18NMODULE_MAJOR=4 -DWITH_RUNE -I/usr/home/itojun/NetBSD/src/lib/libc -DRESOLVSORT -I. -DPOSIX_MISTAKE -DPORTMAP -DFLOATING_POINT -i /usr/home/itojun/NetBSD/src/lib/libc/arch/i386/gen/_lwp.c
/usr/home/itojun/NetBSD/src/lib/libc/arch/i386/gen/_lwp.c(62): warning: conversion of pointer to 'unsigned int' may lose bits [134]
*** Error code 1

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: