Skip to contentSkip to conversation

New binutils for kernel

DISCUSSION Ralf Baechle 5 participants 9 messages Aug 20, 2002 – Aug 21, 2002 2 messages not in the archive MIPS

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 14 lines · Maciej W. Rozycki
Quoted 5 lines · Ralf Baechle
Quoted 2 lines

Are you sure? I believe the patch effectively forces everyone to use
binutils 2.13 for mips64. Is it really acceptable now?

In the past week I ended up more and more kludging around binutils bugs. We need something newer and distributions seem to be all at ~ 2.12 at least.

While 2.12 may be OK from the file format point of view, there are
serious bugs leading to bad code. So bad the kernel doesn't work. It's really 2.13 that is needed. I have another less important fix that will hopefully go in to 2.13.1 and all gcc versions are broken without yet another fix (it bites in mm/mmap.c; not sure if fatally).

Quoted 4 lines
Quoted 1 line

So I guess it's time to bite the bullet?

Since I'm using 2.13 anyway, it's alike to me. But it should be
discussed at the list, IMO.

Yep. It won't hurt most of us kernel hackers very much but in particular the distribution people may want to comment.

So any comments?

Ralf

#3 lore raw
Quoted 18 lines · Ralf Baechle
Quoted 16 lines · Maciej W. Rozycki
Quoted 5 lines · Ralf Baechle
Quoted 2 lines

Are you sure? I believe the patch effectively forces everyone to use
binutils 2.13 for mips64. Is it really acceptable now?

In the past week I ended up more and more kludging around binutils bugs. We need something newer and distributions seem to be all at ~ 2.12 at least.

While 2.12 may be OK from the file format point of view, there are
serious bugs leading to bad code. So bad the kernel doesn't work. It's really 2.13 that is needed. I have another less important fix that will hopefully go in to 2.13.1 and all gcc versions are broken without yet another fix (it bites in mm/mmap.c; not sure if fatally).

Quoted 1 line

So I guess it's time to bite the bullet?

Quoted 7 lines
Quoted 2 lines

Since I'm using 2.13 anyway, it's alike to me. But it should be
discussed at the list, IMO.

Yep. It won't hurt most of us kernel hackers very much but in particular the distribution people may want to comment.

So any comments?

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Signature · 2 lines
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer
#4 lore raw
Quoted 4 lines · Daniel Jacobowitz
Quoted 1 line

So any comments?

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Such considerations have kept us back at antique levels of binutils. And juggling with several different versions for userland, and two kernel flavours is evil ...

Ralf

#5 lore raw
Quoted 10 lines · Ralf Baechle
Quoted 4 lines · Daniel Jacobowitz
Quoted 1 line

So any comments?

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Such considerations have kept us back at antique levels of binutils. And juggling with several different versions for userland, and two kernel flavours is evil ...

Please keep in mind that 2.13's been out for all of half a month now. Almost no one's using it yet for significant development... if you decide to require it, we can cope, though.

Signature · 2 lines
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer
#6 lore raw
In reply to Ralf Baechle
Quoted 6 lines · Ralf Baechle
Quoted 2 lines

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Such considerations have kept us back at antique levels of binutils. And juggling with several different versions for userland, and two kernel flavours is evil ...

Any version since 2.11, possibly older, should work just fine for 32-bit
MIPS. I don't think there are any significant interface changes between 2.11 and 2.13, so if 2.13 works then 2.11 will not bail out either. Thus there is no need to force 2.13 for 32-bit MIPS, but I think it is acceptable to stop caring about versions older than 2.11 in the nearby future.

Signature · 3 lines
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: [email protected], PGP key available        +
#7 lore raw
Quoted 9 lines · Maciej W. Rozycki
Quoted 6 lines · Ralf Baechle
Quoted 2 lines

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Such considerations have kept us back at antique levels of binutils. And juggling with several different versions for userland, and two kernel flavours is evil ...

Quoted 6 lines

Any version since 2.11, possibly older, should work just fine for 32-bit
MIPS. I don't think there are any significant interface changes between 2.11 and 2.13, so if 2.13 works then 2.11 will not bail out either. Thus there is no need to force 2.13 for 32-bit MIPS, but I think it is acceptable to stop caring about versions older than 2.11 in the nearby future.

Sure.

Signature · 2 lines
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer
#8 lore raw
Quoted 7 lines · Daniel Jacobowitz
Quoted 7 lines
Quoted 6 lines
Quoted 2 lines

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Such considerations have kept us back at antique levels of binutils. And juggling with several different versions for userland, and two kernel flavours is evil ...

Quoted 8 lines
Quoted 6 lines

Any version since 2.11, possibly older, should work just fine for 32-bit
MIPS. I don't think there are any significant interface changes between 2.11 and 2.13, so if 2.13 works then 2.11 will not bail out either. Thus there is no need to force 2.13 for 32-bit MIPS, but I think it is acceptable to stop caring about versions older than 2.11 in the nearby future.

Sure.

Sounds like we'll then recommend 2.13 for the fearless and 64-bit developers and 2.11 for everybody else.

Ralf

#10 lore raw
In reply to Ralf Baechle

On Tue, Aug 20, 2002 at 04:29:59PM +0200, Ralf Baechle wrote:

[requiring binutils 2.13]]

Quoted 2 lines

Yep. It won't hurt most of us kernel hackers very much but in particular the distribution people may want to comment.

Well, I guess that covers me :-).

Debian Woody, the current stable Debian release (AFAIK the only full-blown distribution for Linux/mips that targets at "normal users" and not only at developers) ships with binutils 2.12.90.0.1. As the Debian policy requires that no new program versions are to be introduced for the stable release, Debian will not be able to switch to binutils 2.13 there. Bugfixes for packages in the release are accepted, but not new upstream versions; so to get any fixes in, they would need to be backported to binutils 2.12.

For the unstable distribution (currently binutils 2.12.90.0.15), switching to binutils 2.13 should IMHO be possible in a reasonable timeframe, if it does not break other things. Caveat: as Debian requires all 11 released architectures to be in sync, any new version would have to work properly on _all_ supported platforms. The decision about introducing a new version of a package into Debian is taken by the package maintainer, so I am going to ask him about his plans.

Regards,
Karsten

Signature · 4 lines
#include <standard_disclaimer>
Nach Paragraph 28 Abs. 3 Bundesdatenschutzgesetz widerspreche ich der Nutzung
oder Uebermittlung meiner Daten fuer Werbezwecke oder fuer die Markt- oder
Meinungsforschung.
#9 lore raw
In reply to Ralf Baechle
Quoted 10 lines · Ralf Baechle
Quoted 4 lines · Daniel Jacobowitz
Quoted 1 line

So any comments?

Well, I think 2.13's a good idea, but it's very new. I'd say that was acceptable as long as you're looking at MIPS64 only, not at MIPS32.

Such considerations have kept us back at antique levels of binutils. And juggling with several different versions for userland, and two kernel flavours is evil ...

I have no problems with binutils 2.13.90.0.4 on Linux/mips. I rebuild everything, from kernel to rpms, for Linux/mipsel with it. They seem to run fine.

H.J.