All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
To: Gary Thomas <gdt@linuxppc.org>, Tom Vier <thomassr@erols.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: egcs-1.1.1-1c bug (was Re: major ksyms problem)
Date: Wed, 24 Feb 1999 17:06:59 +0100	[thread overview]
Message-ID: <4.2.0.25.19990224170223.009a5a80@mail.lauterbach.com> (raw)
In-Reply-To: <XFMail.990224095316.gdt@linuxppc.org>


At 10:53 24.02.99 , Gary Thomas wrote:

>On 23-Feb-99 Franz Sirl wrote:
>>
>> Am Tue, 23 Feb 1999 schrieb Tom Vier:
>>>On Tue, 23 Feb 1999, Franz Sirl wrote:
>>>
>>>> At 15:36 22.02.99 , Tom Vier wrote:
>>>> >
>>>> >it's an egcs bug. i think it's not aligning instructions properly, cuz
>>>> >i believe the 601 is more strict about alignment. is anyone having
>>>> >problems using bsd_comp.o, ppp_deflate.o, and hfs.o on a non-601
>>>> >machine built under pre-R5 (egcs-1.1.1-1c)?
>>>>
>>>> What makes you think that it is an egcs bug? I have no problems on 601
>>>> (7200/75) with any of the modules you listed. Are you sure you have the
>>>> latest modutils (2.1.121 or later) installed?
>>>
>>>it is an egcs bug. egcs-1.1.1-1c failss to build working bsd_comp.o,
>>>ppp_deflate.o, and hfs.o; egcs-1.0-2e.ppc.rpm builds it perfectly. i'm
>>>getting a newer build of egcs right now, to see if it's fixed.
>>
>> What is the problem with these modules? Give a better description on 
>> what you
>> mean with "working"? They work perfectly for me with a self-compiled 2.2.1
>> kernel, and I compiled working modules with multiple kernel versions 
>> since the
>> egcs-1.1 alpha phase.
>> If your only problem is the "unhandled relocation type", install a newer
>> modutils package (>=2.1.121), that will fix it.
>>
>
>Sadly he can't use that modutils package as it's only for 2.1.xx and 2.2.xx
>kernels.
>
>Tom,  Can you try the 2.2.xx kernels and see if they work for you?  This would
>be a much better way to spend your time rather than looking after a quite old
>kernel.

Or try to recompile the modutils (or modules package, as it was called 
before) he is using with the appended patch.

Franz.

Index: obj_ppc.c
===================================================================
RCS file: /cvsroot/modutils/obj/obj_ppc.c,v
retrieving revision 1.1
diff -u -r1.1 obj_ppc.c
--- obj_ppc.c   1997/09/10 22:20:03     1.1
+++ obj_ppc.c   1998/06/24 01:47:42
@@ -148,6 +148,11 @@
       *loc = (*loc & ~0x03fffffc) | (v & 0x03fffffc);
       break;

+    case R_PPC_REL32:
+      v -= dot;
+      *loc = v;
+      break;
+
     case R_PPC_ADDR32:
       *loc = v;
       break;


[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

  reply	other threads:[~1999-02-24 16:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.05.9902220432430.2138-100000@localhost.erols.com>
1999-02-22 14:36 ` egcs-1.1.1-1c bug (was Re: major ksyms problem) Tom Vier
1999-02-23  7:22   ` Gary Thomas
1999-02-23 12:24     ` Tom Vier
1999-02-23 20:53       ` Tom Vier
     [not found] ` <Pine.LNX.4.05.9902220928100.405-100000@localhost.erols.com >
1999-02-23 15:00   ` Franz Sirl
1999-02-23 21:06     ` Tom Vier
1999-02-23 21:15       ` Franz Sirl
1999-02-24  9:53         ` Gary Thomas
1999-02-24 16:06           ` Franz Sirl [this message]
1999-02-25  2:20           ` Tom Vier
1999-02-24 18:40         ` Tom Vier
1999-02-24  7:14       ` Michel Lanners

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.2.0.25.19990224170223.009a5a80@mail.lauterbach.com \
    --to=franz.sirl-kernel@lauterbach.com \
    --cc=gdt@linuxppc.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=thomassr@erols.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.