Skip to contentSkip to conversation

Please Help!, Need to test glibc 2.1.3 with these additional patches under 2.3 kernels

PATCH Kevin Hendricks 2 participants 3 messages Feb 16, 2000

lore
Share & tools
lore
#0 lore raw

Hi,

glibc 2.1.3 is just about to go *final*

BUT...If we want glibc 2.1.3 to compile out of the box under PPC under 2.3.XX kernels and actually work we really need people running 2.3.XX kernels to grab the source from glibc cvs and apply the following patch and test this thing asap and report some results.

please note, glibc 2.1.3 is now very *stable* under 2.2.X kernels with lots of bug fixes and things.

The key issue here is finding out whether glibc 2.1.3 will compile and run under 2.3.XX kernels.

If you are willing to help, please let me know and give this a try.

They will *not* hold up the release just for us, so your help and feedback would be greatly appreciated.

Thanks,

Kevin

---------- Forwarded Message ----------
Subject: Re: Time for glibc 2.1.3?
Date: 16 Feb 2000 13:48:23 +0100
From: Andreas Jaeger <[email protected]>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Joel Klecker writes:

Quoted 8 lines · Ulrich Drepper
Quoted 8 lines
Quoted 4 lines · Andreas Jaeger

what kind of showstoppers to we have for glibc 2.1.3? What are your plans for releasing 2.1.3?

I don't see any showstoppers for now.

Geoff said there are big problems with PPC.

Joel> I've only encountered mmap64 and syscalls.list issues, but that works fine after Joel> applying from the mainline Geoff's changes in those areas.

I'm appending a complete patch (ftruncate64 and truncate64 need updating from glibc 2.2 also) which includes Joel's patch.

Ulrich, please apply this to 2.1.3.

This is should solve all problems with Linux 2.3.

Could one of the powerpc users double check that this patch works fine with Linux 2.3 and send some feedback?

Thanks,
Andreas

2000-01-27 Geoff Keating <[email protected]>

* sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: New file.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add s_fstat64, s_ftruncate64, s_lstat64, s_mmap2, s_stat64, s_truncate64.
* sysdeps/unix/sysv/linux/powerpc/truncate64.c: New file.

============================================================
Index: sysdeps/unix/sysv/linux/powerpc/syscalls.list

unix/sysv/linux/powerpc/syscalls.list +6 -1
@@ -12,12 +12,16 @@
 rt_sigqueueinfo	-	rt_sigqueueinfo	3	__syscall_rt_sigqueueinfo
 rt_sigsuspend	-	rt_sigsuspend	2	__syscall_rt_sigsuspend
 rt_sigtimedwait	-	rt_sigtimedwait	4	__syscall_rt_sigtimedwait
+s_fstat64	fxstat64 fstat64	2	__syscall_fstat64
+s_ftruncate64	ftruncate64 ftruncate64	3	__syscall_ftruncate64
 s_getcwd	getcwd	getcwd		2	__syscall_getcwd
 s_getdents	getdents getdents	3	__syscall_getdents
 s_getpriority	getpriority getpriority	2	__syscall_getpriority
 s_getresgid	getresgid getresgid	3	__syscall_getresgid
 s_getresuid	getresuid getresuid	3	__syscall_getresuid
 s_getrlimit	getrlimit getrlimit	2	__syscall_getrlimit
+s_lstat64	lxstat64 lstat64	2	__syscall_lstat64
+s_mmap2		mmap64	mmap2		6	__syscall_mmap2
 s_poll		poll	poll		3	__syscall_poll
 s_pread64	pread64	pread		5	__syscall_pread
 s_ptrace	ptrace	ptrace		4	__syscall_ptrace
@@ -28,8 +32,9 @@
 s_sigpending	sigpending sigpending	1	__syscall_sigpending
 s_sigprocmask	sigprocmask sigprocmask	3	__syscall_sigprocmask
 s_sigsuspend	sigsuspend sigsuspend	3	__syscall_sigsuspend
+s_stat64	xstat64 stat64		2	__syscall_stat64
 s_sysctl	sysctl	_sysctl		1	__syscall__sysctl
-s_ugetrlimit	getrlimit ugetrlimit	2	__syscall_ugetrlimit
+s_truncate64	truncate64 truncate64	3	__syscall_truncate64
 s_ustat		ustat	ustat		2	__syscall_ustat
 s_vfork		vfork	vfork		0	__syscall_vfork
 sys_fstat	fxstat	fstat		2	__syscall_fstat

============================================================
Index: sysdeps/unix/sysv/linux/powerpc/truncate64.c

unix/sysv/linux/powerpc/truncate64.c +63 -0

63 lines not on this page · raw message

============================================================
Index: sysdeps/unix/sysv/linux/powerpc/ftruncate64.c

unix/sysv/linux/powerpc/ftruncate64.c +63 -0

63 lines not on this page · raw message

============================================================
Index: sysdeps/unix/sysv/linux/powerpc/mmap64.c

unix/sysv/linux/powerpc/mmap64.c +63 -0

63 lines not on this page · raw message

--
Andreas Jaeger
SuSE Labs [email protected]
private [email protected]
-------------------------------------------------------

--

--
Kevin B. Hendricks
Associate Professor of Operations and Information Technology Richard Ivey School of Business, University of Western Ontario London, Ontario N6A-3K7 CANADA [email protected], (519) 661-3874, fax: 519-661-3959

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw

On Wednesday, 16 February 2000, Kevin Hendricks writes:

Will do.

Please send us the cvs command.

Greetings,

Jan.

--
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien | http://www.lilypond.org

Quoted 6 lines

Hi,

glibc 2.1.3 is just about to go *final*

BUT...If we want glibc 2.1.3 to compile out of the box under PPC under 2.3.XX kernels and actually work we really need people running 2.3.XX kernels to gra

+ b

Quoted 4 lines

the source from glibc cvs and apply the following patch and test this thing asap and report some results.

please note, glibc 2.1.3 is now very *stable* under 2.2.X kernels with lots o

+ f

Quoted 8 lines

bug fixes and things.

The key issue here is finding out whether glibc 2.1.3 will compile and run under 2.3.XX kernels.

If you are willing to help, please let me know and give this a try.

They will *not* hold up the release just for us, so your help and feedback wo

+ uld

Quoted 5 lines

be greatly appreciated.

Thanks,

Kevin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw

Hi,

Quoted 3 lines

Will do.

Please send us the cvs command.

Thanks!

First, login to cvs server
enter "anoncvs" as the password:

cvs -z4 -d :pserver:[email protected]:/cvs/glibc login

Then to check out the 2.1 branch of the source tree:

   cvs -z4 -d :pserver:[email protected]:/cvs/glibc co \
   -r glibc-2-1-branch libc

Or, if it is easier, I have put a tar gzip archive of yesterday's CVS tree on my ftp server:

ftp://khendricks.ivey.uwo.ca/pub/

--
Kevin B. Hendricks
Associate Professor of Operations and Information Technology Richard Ivey School of Business, University of Western Ontario London, Ontario N6A-3K7 CANADA [email protected], (519) 661-3874, fax: 519-661-3959

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/