This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FreeBSD port (32): syscalls list


Hi,

unix/syscalls.list is incomplete: without this patch, I get link errors
when linking iconvconfig:

/gnu/build/build-glibc/libc.so.6: undefined reference to `__profil'
/gnu/build/build-glibc/libc.so.6: undefined reference to `__fcntl_internal'
/gnu/build/build-glibc/libc.so.6: undefined reference to `__chown_internal'

The reason you don't see these on Linux is that
- profil is overridden by sysdeps/unix/sysv/linux/profil.c,
- fcntl and chown are overridden in sysdeps/unix/sysv/linux/syscalls.list.


2002-07-06  Bruno Haible  <bruno@clisp.org>

	* sysdeps/unix/syscalls.list (__chown_internal): New alias.
	(__fcntl_internal): New alias.
	(__profil): New alias.

diff -r -c3 glibc-20020627.bak/sysdeps/unix/syscalls.list glibc-20020627/sysdeps/unix/syscalls.list
--- glibc-20020627.bak/sysdeps/unix/syscalls.list	Mon Apr 15 20:55:47 2002
+++ glibc-20020627/sysdeps/unix/syscalls.list	Fri Jul  5 01:17:11 2002
@@ -4,13 +4,13 @@
 acct		-	acct		i:S	acct
 chdir		-	chdir		i:s	__chdir		chdir
 chmod		-	chmod		i:si	__chmod		chmod
-chown		-	chown		i:sii	__chown		chown
+chown		-	chown		i:sii	__chown		__chown_internal chown
 chroot		-	chroot		i:s	chroot
 close		-	close		i:i	__libc_close	__close close __close_internal
 dup		-	dup		i:i	__dup		dup
 dup2		-	dup2		i:ii	__dup2		dup2 __dup2_internal
 fchdir		-	fchdir		i:i	__fchdir	fchdir
-fcntl		-	fcntl		i:iiF	__libc_fcntl	__fcntl fcntl
+fcntl		-	fcntl		i:iiF	__libc_fcntl	__fcntl __fcntl_internal fcntl
 fstatfs		-	fstatfs		i:ip	__fstatfs	fstatfs
 fsync		-	fsync		i:i	__libc_fsync	fsync
 getdomain	-	getdomainname	i:si	getdomainname
@@ -27,7 +27,7 @@
 lseek		-	lseek		i:iii	__libc_lseek	__lseek lseek
 mkdir		-	mkdir		i:si	__mkdir		mkdir
 open		-	open		i:siv	__libc_open	__open open __open_internal
-profil		-	profil		i:piii	profil
+profil		-	profil		i:piii	__profil	profil
 ptrace		-	ptrace		i:iiii	ptrace
 read		-	read		i:ibn	__libc_read	__read read
 readlink	-	readlink	i:spi	__readlink	readlink


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]