Skip to contentSkip to conversation

LinuxPPC and egcs developer releases

DISCUSSION Corey Minyard 5 participants 6 messages May 19, 1999 – May 27, 1999

lore
Share & tools
lore
#0 lore raw

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,

Signature · 7 lines
Corey Minyard                   Internet:  [email protected]
  Work: [email protected]  UUCP:  [email protected]

[[ 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.   ]]
#1 lore raw

Am Wed, 19 May 1999 schrieb Corey Minyard:

Quoted 5 lines

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

#2 lore raw
Quoted 8 lines · Franz Sirl

Am Wed, 19 May 1999 schrieb Corey Minyard:

Quoted 5 lines

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.

Quoted 4 lines

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.

Signature · 8 lines
Jerry Quinn                             Tel: (514) 761-8737
[email protected]               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.   ]]
#3 lore raw
Quoted 38 lines · Jerry Quinn
Quoted 11 lines · Franz Sirl

Am Wed, 19 May 1999 schrieb Corey Minyard:

Quoted 5 lines

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

Quoted 1 line

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!

Quoted 2 lines

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

#4 lore raw
In reply to Corey Minyard
Quoted 7 lines

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 <[email protected]>

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

#5 lore raw
In reply to Corey Minyard

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

Quoted 14 lines · 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.

Thanks,

Signature · 2 lines
Corey Minyard                   Internet:  [email protected]
  Work: [email protected]  UUCP:  [email protected]

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