<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
    Keith Roberts, Thank you for your suggestion about doing a grep of the source code. We found mmap.S in ../sysdeps/unix/sysv/linux/i386. We looked in mmap.S and found a lot of assembly code. Could you please tell us if any of the assembly code call the kernel syscall handler for mmap.s?<BR>
     Also, we ran make for the kernel Makefile and we obtained the following result shown below. Could you please suggest us how to fix the kernel Makeconfig so that it skips over libc_pic.os? Thank you for your help. <FONT size=2><BR></FONT><FONT size=2>
 <BR>
 <BR>
 <BR>
gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,<BR>
-dynamic-linker=/home/frankc/DQT1/glibc-2.9/lib/ld-linux.so.2 <BR>
-B/home/frankc/DQTTest5/csu/ -Wl,<BR>
--version-script=/home/frankc/DQTTest5/libc.map <BR>
-Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both <BR>
-nostdlib -nostartfiles -e __libc_main <BR>
-L/home/frankc/DQTTest5 -L/home/frankc/DQTTest5/math <BR>
-L/home/frankc/DQTTest5/elf -L/home/frankc/DQTTest5/dlfcn -L/home/frankc/DQTTest5/nss <BR>
-L/home/frankc/DQTTest5/nis -L/home/frankc/DQTTest5/rt -L/home/frankc/DQTTest5/resolv <BR>
-L/home/frankc/DQTTest5/crypt -L/home/frankc/DQTTest5/nptl -Wl,<BR>
-rpath-link=/home/frankc/DQTTest5:/home/frankc/DQTTest5/math:/home/frankc/DQTTest5/elf:<BR>
/home/frankc/DQTTest5/dlfcn:/home/frankc/DQTTest5/nss:/home/frankc/DQTTest5/nis:<BR>
/home/frankc/DQTTest5/rt:/home/frankc/DQTTest5/resolv:/home/frankc/DQTTest5/crypt:<BR>
/home/frankc/DQTTest5/nptl -o /home/frankc/DQTTest5/libc.so <BR>
-T /home/frankc/DQTTest5/shlib.lds /home/frankc/DQTTest5/csu/abi-note.o <BR>
/home/frankc/DQTTest5/elf/soinit.os /home/frankc/DQTTest5/libc_pic.os /<BR>
home/frankc/DQTTest5/elf/sofini.os /home/frankc/DQTTest5/elf/interp.os <BR>
/home/frankc/DQTTest5/elf/ld.so -lgcc<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__libc_fork':<BR>
/home/frankc/DQT1/glibc-2.9/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79: undefined reference to `__sync_bool_compare_and_swap_4'<BR>
/home/frankc/DQTTest5/<FONT size=2><BR>
gcc -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,<BR>
-dynamic-linker=/home/frankc/DQT1/glibc-2.9/lib/ld-linux.so.2 <BR>
-B/home/frankc/DQTTest5/csu/ -Wl,<BR>
--version-script=/home/frankc/DQTTest5/libc.map <BR>
-Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both <BR>
-nostdlib -nostartfiles -e __libc_main <BR>
-L/home/frankc/DQTTest5 -L/home/frankc/DQTTest5/math <BR>
-L/home/frankc/DQTTest5/elf -L/home/frankc/DQTTest5/dlfcn -L/home/frankc/DQTTest5/nss <BR>
-L/home/frankc/DQTTest5/nis -L/home/frankc/DQTTest5/rt -L/home/frankc/DQTTest5/resolv <BR>
-L/home/frankc/DQTTest5/crypt -L/home/frankc/DQTTest5/nptl -Wl,<BR>
-rpath-link=/home/frankc/DQTTest5:/home/frankc/DQTTest5/math:/home/frankc/DQTTest5/elf:<BR>
/home/frankc/DQTTest5/dlfcn:/home/frankc/DQTTest5/nss:/home/frankc/DQTTest5/nis:<BR>
/home/frankc/DQTTest5/rt:/home/frankc/DQTTest5/resolv:/home/frankc/DQTTest5/crypt:<BR>
/home/frankc/DQTTest5/nptl -o /home/frankc/DQTTest5/libc.so <BR>
-T /home/frankc/DQTTest5/shlib.lds /home/frankc/DQTTest5/csu/abi-note.o <BR>
/home/frankc/DQTTest5/elf/soinit.os /home/frankc/DQTTest5/libc_pic.os /<BR>
home/frankc/DQTTest5/elf/sofini.os /home/frankc/DQTTest5/elf/interp.os <BR>
/home/frankc/DQTTest5/elf/ld.so -lgcc<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__libc_fork':<BR>
/home/frankc/DQT1/glibc-2.9/posix/../nptl/sysdeps/unix/sysv/linux/i386/../fork.c:79: undefined reference to `__sync_bool_compare_and_swap_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getpw_r':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getpw_r.c:232: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getgr_r':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getgr_r.c:321: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os:/home/frankc/DQT1/glibc-2.9/nscd/nscd_gethst_r.c:400: more undefined references to `__sync_fetch_and_add_4' follow<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_get_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd_helper.c:431: undefined reference to `__sync_val_compare_and_swap_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `*__GI___libc_freeres':<BR>
/home/frankc/DQT1/glibc-2.9/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4'<BR>
collect2: ld returned 1 exit status<BR>
</FONT>: In function `__nscd_drop_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getpw_r':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getpw_r.c:232: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `nscd_getgr_r':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd_getgr_r.c:321: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_drop_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd-client.h:320: undefined reference to `__sync_fetch_and_add_4'<BR>
/home/frankc/DQTTest5/libc_pic.os:/home/frankc/DQT1/glibc-2.9/nscd/nscd_gethst_r.c:400: more undefined references to `__sync_fetch_and_add_4' follow<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `__nscd_get_map_ref':<BR>
/home/frankc/DQT1/glibc-2.9/nscd/nscd_helper.c:431: undefined reference to `__sync_val_compare_and_swap_4'<BR>
/home/frankc/DQTTest5/libc_pic.os: In function `*__GI___libc_freeres':<BR>
/home/frankc/DQT1/glibc-2.9/malloc/set-freeres.c:39: undefined reference to `__sync_bool_compare_and_swap_4'<BR>
collect2: ld returned 1 exit status<BR></FONT>                                        </body>
</html>