Skip to contentSkip to conversation

GLIBC 2.2 should work on MIPS-Linux

DISCUSSION Florian Lohoff 3 participants 8 messages Apr 21, 2000 – Apr 22, 2000 2 messages not in the archive MIPS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Andreas Jaeger

I would appreciate if you could build glibc and test it really hard. I do expect problems in the following areas:
- definitions don't match between kernel and glibc. I've used the latest 2.3 release. The glibc will not run with Linux 2.0.x.

Linux 2.0 is low priority IMHO as there is a "Standalone" Mips port for 2.0 mainly used for the cobalts which has nevern been really developed much further. Nobody (except the embedded people) will use the 2.0 series now (And the embedded will use a smaller libc anyways)

Flo

Signature · 3 lines
Florian Lohoff		[email protected]		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."
#2 lore raw
Quoted 7 lines · Florian Lohoff

On Fri, Apr 21, 2000 at 10:30:21AM -0700, Andreas Jaeger wrote:

Linux 2.0 is low priority IMHO as there is a "Standalone" Mips port for 2.0 mainly used for the cobalts which has nevern been really developed much further. Nobody (except the embedded people) will use the 2.0 series now (And the embedded will use a smaller libc anyways)

2.0 is dead as far as my interest in it goes. I'm however commited to continue support for 2.2 even after 2.4 is finally out.

Ralf

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 4 lines · Andreas Jaeger

Upps, I was to fast. I should have added that the handling of floating point numbers seems to be quite broken. I haven't had time to investigate whether this is a bug in glibc, kernel (at least partially - we do need a real FPU emulation!) or gcc.

A (full) FPU emulation is in the works and will soon appear on a cvs somewhere i was told :), so it will possibly available with kernel 2.4 and though be in line with glibc 2.2.

Flo

Signature · 3 lines
Florian Lohoff		[email protected]		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."
#5 lore raw
In reply to a message not in the archive
Quoted 4 lines · Andreas Jaeger

Upps, I was to fast. I should have added that the handling of floating point numbers seems to be quite broken. I haven't had time to investigate whether this is a bug in glibc, kernel (at least partially - we do need a real FPU emulation!) or gcc.

To keep you people up to date on this - I've got free shopping for the kernel FPU support software, that's is there are four solutions available:

- two different ones from IRIX which I'm allowed to recycle for Linux
- the Algorithmics code which already has been integrated into Linux by MIPS.
- Write something new that is based on include/math-emu/.

It used to be a relativly hard thing but it's no longer :-)

Ralf

#6 lore raw
Quoted 10 lines · Ralf Baechle

To keep you people up to date on this - I've got free shopping for the kernel FPU support software, that's is there are four solutions available:

- two different ones from IRIX which I'm allowed to recycle for Linux
- the Algorithmics code which already has been integrated into Linux by MIPS.
- Write something new that is based on include/math-emu/.

It used to be a relativly hard thing but it's no longer :-)

Pick the good out of all ? :) Honestly - We should keep an eye on memory footprint as the embedded people will be very interested in this.

How much work would the IRIX ones be and what is the difference between the two ? Are they probably available as they are right now to just publish them and someone with a lot time may produce a superset for Linux ?

Flo

Signature · 3 lines
Florian Lohoff		[email protected]		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."
#7 lore raw
Quoted 6 lines · Florian Lohoff

Pick the good out of all ? :) Honestly - We should keep an eye on memory footprint as the embedded people will be very interested in this.

How much work would the IRIX ones be and what is the difference between the two ? Are they probably available as they are right now to just publish them and someone with a lot time may produce a superset for Linux ?

There are two FP emulators in IRIX. The first one is fairly old, was already used in RISC/os and is written in assembler. I'm not sure if it can properly deal with MIPS IV. It's successor is written in C and is what's currently being used in IRIX, is pretty clean and maintainable code. It was clearly written with a heavily optimizing compiler such as SGI's in mind and I assume that it won't perform well without major restructuring when compiled with GCC. On the other side it's as far as I know the only package that gets all the cornercases right.

Ralf

#8 lore raw
In reply to a message not in the archive
Quoted 3 lines

- binutils (use Ulf's version) and compiler (egcs 1.1.2 get internal compiler errors in some cases). I'm trying to get gcc 2.96 CVS running but do appreciate your help in testing and fixing.

My binutils patch is here:

	oss.sgi.com /pub/linux/mips/src/binutils/binutils-000420.diff.gz

We're using Ralf's egcs 1.1.2 patch (from the rpms):

	oss.sgi.com /pub/linux/mips/src/egcs/egcs-1.1.2.diff.gz

Ulf

#9 lore raw

binutils 4 kernel Was: GLIBC 2.2 should work on MIPS-Linux

Quoted 7 lines · Ulf Carlsson

My binutils patch is here:

	oss.sgi.com /pub/linux/mips/src/binutils/binutils-000420.diff.gz

We're using Ralf's egcs 1.1.2 patch (from the rpms):

	oss.sgi.com /pub/linux/mips/src/egcs/egcs-1.1.2.diff.gz

Ok - this combinations compiles an little endian dec mips kernel for me - Ill try to boot it in a second :)

Flo

Signature · 3 lines
Florian Lohoff		[email protected]		      	+49-subject-2-change
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."