[patch] add missing includes to sysdeps/unix/sysv/linux/check_pf.c

Mike Frysinger vapier@gentoo.org
Sun Aug 12 15:56:00 GMT 2007


the sysdeps/unix/sysv/linux/check_pf.c file uses alloca() and free() but fails 
to pull in the appropriate headers (causing build failure on some like 
SuperH) since there is no such function, but a macro to a real function.

sh4-unknown-linux-gnu-gcc -shared ...... -o .../libc.so ......
.../libc_pic.os: In function `make_request':
check_pf.c:(.text+0xde930): undefined reference to `__libc_use_alloca'
collect2: ld returned 1 exit status
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070812/40ddac3a/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1020_all_glibc-inet-headers.patch
Type: text/x-diff
Size: 387 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070812/40ddac3a/attachment.bin>


More information about the Libc-alpha mailing list