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


Dan Kegel wrote:

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)?

Done and done! I hope it's ok. The patch itself failed to have any effect on the compilation process (and the resultant failure), as far as I can tell.


I have suspicions that glibc-2.2.5 is too old to work with the 2.6 headers, but I have no justification for that other than a childish "'cause it kinda might be kinda thing".

I shall try building with older headers (possibly using the sanitized versions) and see if it makes a difference. I can do trial and error, but otherwise I'm out of my depth!

Appreciatively yours,
 - Piete.
See http://sources.redhat.com/ml/libc-alpha/1998-q4/msg00065.html

Supposed to fix errors such as:

...
/gcc-4.0-20050305-glibc-2.2.5/build-glibc/csu/crtn.o
/gcc-4.0-20050305-glibc-2.2.5/build-glibc/libc.so.6: undefined reference to `__syscall_pread'
/gcc-4.0-20050305-glibc-2.2.5/build-glibc/libc.so.6: undefined reference to `__syscall_pwrite'
collect2: ld returned 1 exit status
make[2]: *** [/gcc-4.0-20050305-glibc-2.2.5/build-glibc/iconv/iconvconfig] Error 1
make[2]: Leaving directory `/gcc-4.0-20050305-glibc-2.2.5/glibc-2.2.5/iconv'
make[1]: *** [/iconv/others] Error 2
make[1]: Leaving directory `/gcc-4.0-20050305-glibc-2.2.5/glibc-2.2.5'
make: *** [all] Error 2

During compilation with GCC-4.0 for a mipsel target.

--- 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

------
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]