This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: glibc-2.2.5-allow-gcc-4.0-mipsel.patch


Piete Sartain wrote:
Patch now works and build process fails regularly with:

...
/home/administrator/src/crosstool/crosstool/build/mipsel-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.2.5/build-glibc/csu/crtn.o


/home/administrator/src/crosstool/crosstool/build/mipsel-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.2.5/build-glibc/libc.so.6: undefined reference to `__syscall_pread'

Progress...



Googling brings up this:


http://sources.redhat.com/ml/libc-alpha/1998-q4/msg00038.html

Building the patch (see attached) for a mipsel target results in the same error being thrown back. I'll keep looking.

--- glibc-2.2.5/sysdeps/unix/sysv/linux/mips/syscalls.list.old	2001-05-27 09:39:56.000000000 +0100
+++ glibc-2.2.5/sysdeps/unix/sysv/linux/mips/syscalls.list	2005-03-31 10:55:59.000000000 +0100
@@ -63,10 +63,8 @@
 s_lstat64	lxstat64 lstat64	i:sp	__syscall_lstat64
 s_mmap2		mmap64	mmap2		b:aniiii __syscall_mmap2
 s_poll		poll	poll		i:pii	__syscall_poll
-s_pread64	pread64	pread		i:ibniii __syscall_pread
 s_putpmsg	putpmsg	putpmsg		i:ippii	__syscall_putpmsg
 s_ptrace	ptrace	ptrace		i:iipp	__syscall_ptrace
-s_pwrite64	pwrite64 pwrite		i:ibniii __syscall_pwrite
 s_reboot	reboot	reboot		i:iii	__syscall_reboot
 s_setrlimit	setrlimit setrlimit	i:ip	__syscall_setrlimit
 s_sigpending	sigpending sigpending	i:p	__syscall_sigpending

Most of my patches have short notes at the top explaining why they're needed. Can you add the error message glibc-2.2.5-remove-extra-syscalls-mipsel.patch is meant to fix, and/or include a link to the message you took it from (looks like it might be http://sources.redhat.com/ml/libc-alpha/1998-q4/msg00065.html which is about three messages along in the thread you pointed to)?

Thanks,
Dan

--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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