linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* LinuxPPC and egcs developer releases
@ 1999-05-19 19:56 Corey Minyard
  1999-05-19 23:06 ` Franz Sirl
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Corey Minyard @ 1999-05-19 19:56 UTC (permalink / raw)
  To: linuxppc-dev


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.

Thanks,

-- 
Corey Minyard                   Internet:  minyard@acm.org
  Work: minyard@nortelnetworks.com  UUCP:  minyard@wf-rch.cirr.com

[[ 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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxPPC and egcs developer releases
  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-20  0:07 ` Sriranga Veeraraghavan
  1999-05-20  2:15 ` Anirudh Joshi
  2 siblings, 1 reply; 6+ messages in thread
From: Franz Sirl @ 1999-05-19 23:06 UTC (permalink / raw)
  To: Corey Minyard, linuxppc-dev


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.

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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxPPC and egcs developer releases
  1999-05-19 19:56 LinuxPPC and egcs developer releases Corey Minyard
  1999-05-19 23:06 ` Franz Sirl
@ 1999-05-20  0:07 ` Sriranga Veeraraghavan
  1999-05-20  2:15 ` Anirudh Joshi
  2 siblings, 0 replies; 6+ messages in thread
From: Sriranga Veeraraghavan @ 1999-05-20  0:07 UTC (permalink / raw)
  To: minyard; +Cc: linuxppc-dev


 
> 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.
 
I built the snapshot from 1990512 without any problems on LinuxPPC
R4.1. The c compiler appears to work correctly (built a kernel with
it), but the java compiler has problems with classes that use
java.net.*.

----ranga <ranga@soda.berkeley.edu>

[[ 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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxPPC and egcs developer releases
  1999-05-19 19:56 LinuxPPC and egcs developer releases Corey Minyard
  1999-05-19 23:06 ` Franz Sirl
  1999-05-20  0:07 ` Sriranga Veeraraghavan
@ 1999-05-20  2:15 ` Anirudh Joshi
  2 siblings, 0 replies; 6+ messages in thread
From: Anirudh Joshi @ 1999-05-20  2:15 UTC (permalink / raw)
  To: Corey Minyard; +Cc: linuxppc-dev



	this is a bug in binutils, get an early snapshot of binutils and
you should be fine:

linuxppc.slackers.cx/pub/rawhide/ppc/RedHat/RPMS/binutils-2.9.1.0.990418-1c.ppc.rpm



ani



On 19 May 1999, Corey Minyard wrote:

> 
> 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.
> 
> Thanks,
> 
> -- 
> Corey Minyard                   Internet:  minyard@acm.org
>   Work: minyard@nortelnetworks.com  UUCP:  minyard@wf-rch.cirr.com
> 
> 


[[ 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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxPPC and egcs developer releases
  1999-05-19 23:06 ` Franz Sirl
@ 1999-05-27 13:45   ` Jerry Quinn
  1999-05-27 15:14     ` Franz Sirl
  0 siblings, 1 reply; 6+ messages in thread
From: Jerry Quinn @ 1999-05-27 13:45 UTC (permalink / raw)
  To: Franz Sirl; +Cc: Corey Minyard, linuxppc-dev


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.


-- 
Jerry Quinn                             Tel: (514) 761-8737
jquinn@nortelnetworks.com               Fax: (514) 761-8505
Speech Recognition Research

[[ 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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: LinuxPPC and egcs developer releases
  1999-05-27 13:45   ` Jerry Quinn
@ 1999-05-27 15:14     ` Franz Sirl
  0 siblings, 0 replies; 6+ messages in thread
From: Franz Sirl @ 1999-05-27 15:14 UTC (permalink / raw)
  To: Jerry Quinn; +Cc: Corey Minyard, linuxppc-dev


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.   ]]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-05-27 15:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1999-05-20  0:07 ` Sriranga Veeraraghavan
1999-05-20  2:15 ` Anirudh Joshi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).