Package: dietlibc
Version: 0.29-10
Severity: important

Simple example which shows bug:
tst.c
# include <string.h>
int main(int argc, char *argv[])
{
        return strnlen(argv[0]);
}
diet -v gcc -lcompat
gcc -nostdlib -static -L/usr/lib/diet/lib-i386 /usr/lib/diet/lib-i386/start.o 
-lcompat tst.c -isystem /usr/lib/diet/include -D__dietlibc__ 
/usr/lib/diet/lib-i386/libc.a -lgcc 
/tmp/cc0RsbSK.o: In function `main':tst.c:(.text+0x25): undefined reference to 
`strnlen'
collect2: ld returned 1 exit status

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=be_BY.UTF-8, LC_CTYPE=be_BY.UTF-8 (charmap=UTF-8)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to