Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SYS_posix_fadvise



On Sun, Mar 02, 2008 at 02:39:40PM +0100, Frank Wille wrote:
> Hi,
> 
> since I updated to the latest 4.99.55, I can no longer compile libc
> because of problems with posix_fadvise.S:
> 
> #   compile  libc/posix_fadvise.o
> /home/frank/netbsd/current/src/tooldir.NetBSD-3.1.1_PATCH-i386/bin/powerpc--netbsd-gcc
>   -I/home/frank/netbsd/current/src/lib/libc/arch/powerpc -nostdinc -idirafter 
> /home/frank/netbsd/current/src/destdir.ofppc/usr/include  -fstack-protector 
> -Wstack-protector --param ssp-buffer-size=1
> .D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -DHESIOD -DINET6 -DNLS -DYP 
> -I/home/frank/netbsd/current/src/lib/libc/include 
> -I/home/frank/netbsd/current/src/lib/libc 
> -I/home/frank/netbsd/current/src/sys 
> -I/home/frank/netbsd/current/src/lib/libc/compat/stdlib 
> -I/home/frank/netbsd/current/src/lib/libc/compat/../stdlib 
> -I/home/frank/netbsd/current/src/lib/libc/../../common/lib/libc/quad 
> -I/home/frank/netbsd/current/src/lib/libc/../../common/lib/libc/string
> -I/home/frank/netbsd/current/src/lib/libc/../../common/lib/libc/arch/powerpc/string
>  -D__DBINTERFACE_PRIVATE -DI18NMODULE_MAJOR=4 -DCITRUS 
> -I/home/frank/netbsd/current/src/libexec/ld.elf_so 
> -I/home/frank/netbsd/current/src/lib/libc/dlfcn 
> -I/home/frank/netbsd/current/src/lib/libc/gdtoa -DNO_FENV_H 
> -I/home/frank/netbsd/current/src/lib/libc/arch/powerpc/gdtoa -DCITRUS_ICONV 
> -DWITH_RUNE -I/home/frank/netbsd/current/src/lib/libc -DPOSIX_MISTAKE 
> -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT  
> -D_FORTIFY_SOURCE=2  -nostdinc -isystem 
> /home/frank/netbsd/current/src/destdir.ofppc/usr/include -c -traditional-cpp  
>   posix_fadvise.S -o posix_fadvise.o
> posix_fadvise.S: Assembler messages:
> posix_fadvise.S:2: Error: unsupported relocation against SYS_posix_fadvise
> 
> 
> I found only fadvise50 defined as a syscall, but no fadvise.

See the file UPDATING at the root of the source tree:

20080126:
        The posix_fadvise system call has been changed from an assembly
        stub, to a c file that calls an assembly stub. You need to
        'rm -f posix_fadvise.* .depend' in the libc build directory to
        avoid using the old assembly stub.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpHZTCXhoKK6.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index