All of lore.kernel.org
 help / color / mirror / Atom feed
From: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
To: "Jerry Quinn" <jquinn@nortelnetworks.com>
Cc: Corey Minyard <minyard@acm.org>, linuxppc-dev@lists.linuxppc.org
Subject: Re: LinuxPPC and egcs developer releases
Date: Thu, 27 May 1999 17:14:13 +0200	[thread overview]
Message-ID: <4.2.0.54.19990527170635.03d96d40@mail.lauterbach.com> (raw)
In-Reply-To: <374D4C8C.7EE3C2A0@americasm01.nt.com>


At 15:45 27.05.99 , Jerry Quinn wrote:
>Franz Sirl wrote:
> >
> > Am Wed, 19 May 1999 schrieb Corey Minyard:
> > >Is anyone tracking the egcs developer releases on LinuxPPC?  I'm
> > >trying to build the newest developer release (19990517) and I have
> > >tried to build earlier ones, but they all get a SEGV compiling
> > >SYSCALLS.c with the stage1 compiler.  This is on linux 2.1.127 with
> > >the egcs-1.02 prerelease compiler.
> >
> > You need binutils >=2.9.1.0.23 or current cvs binutils to be able to build
> > gcc-2.95 on ppc-linux. Probably the easiest way is to build the DRR1/preR5
> > SRPM binutils-2.9.1.0.990418-1c.src.rpm available on ftp.linuxppc.org 
> on your
> > system.
>
>I just tried to build egcs 990517 last night on my pre-R5 system
>(installed last weekend) and I hit a snag.  In gcc/genattrtab.c, it
>complains:
>
>In function `max_attr_value':
>4733: `INT_MAX' undeclared (first use this function)
>
>I have /usr/include/linux pointing into a 2.2.6 tree.  I haven't tried
>to track this down in depth, but I'm hoping someone knows offhand what
>the problem is.  I suspect I have messed up system headers.  Any help
>would be appreciated.  I don't think it's an egcs problem because it
>builds fine on HPUX and other platforms.
>
>I upgraded to pre-R5 from a mklinux DR3 distrib with a few more recent
>updates.  As an aside, I hit a couple of nasty problems.  First, the rpm
>with all the network tools didn't get updated because the DR3 rpm had a
>larger number than the pre-R5 rpm.  The second (this cost me a couple of
>hours to rescue) is that pre-R5 (or DR3?) had the bright idea of setting
>my keyboard to `us'.  Problem is, this keymap is for a PC keyboard.  All
>my keys were mapped all over the place.  After I figured out what was
>going on, I had to determine where all the characters really were so I
>could edit the config file to use `mac-ext-us' instead.  BEWARE!
>
>Since there aren't tons of complaints about this, it may be an artifact
>of upgrading a DR3 install.

Yes, upgrading over DR3 might be the culprit. Try to rm -rf /usr/include/* 
and then reinstall the kernel-headers package and all the packages you find 
via
"rpm -qa|grep -e -devel" with --force, naturally with glibc-devel being the 
most important one. I remember strange problems due to old cruft left in 
/usr/include after upgrading my R4 to glibc-2.0.90 1.5 years ago.

Franz.


[[ 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. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

  reply	other threads:[~1999-05-27 15:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-19 19:56 LinuxPPC and egcs developer releases Corey Minyard
1999-05-19 23:06 ` Franz Sirl
1999-05-27 13:45   ` Jerry Quinn
1999-05-27 15:14     ` Franz Sirl [this message]
1999-05-20  0:07 ` Sriranga Veeraraghavan
1999-05-20  2:15 ` Anirudh Joshi

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.54.19990527170635.03d96d40@mail.lauterbach.com \
    --to=franz.sirl-kernel@lauterbach.com \
    --cc=jquinn@nortelnetworks.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=minyard@acm.org \
    /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.