Skip to contentSkip to conversation

building egcs under LinuxPPC pre-R5

DISCUSSION Andreas Tobler 3 participants 3 messages Feb 10, 1999

lore
Share & tools
lore
#0 lore raw

Hello,

since the beginning of February I try to build egcs snapshot 19990131 and now 19990208. The succcess is small. I got the 19990131 snapshot to build and install, but when I compile c++ code with some include restrictions it seems that it overrides it which causes an error. The egcs I used before and now again, was 2.91.60 I think, for LinuxPPC folks egcs-1.1.1.1c. With this compiler I haven't had this error. My question, is there something specific when building an egcs on LinuxPPC that I have to take care of? It's not necessary for me to take a snapshot, but I need to build an egcs & libstdc++ with the option -fno-vtable-thunks.

my config: LinuxPPC pre-R5 with glibc-2.0.108

		Kernel 2.2.0 self built
		running compiler egcs-1.1.1.1c

How I did egcs: ./configure --enable-shared --enable-threads
--prefix=/usr/local/egcs
make LANGUAGES="c c++"
make LANGUAGES="c c++" install
Any hints?
Thanks

Andreas

Signature · 9 lines
| Andreas Tobler				
| CH-8004 Zuerich 							
| E-Mail: [email protected]	| [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. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to [email protected] ]]
#1 lore raw

The latest snapshots are very unstable on Linux/PPC. We are working on this now, but I'd stay away from them until further notice.

Quoted 12 lines · On 10-Feb-99 Andreas Tobler wrote:

Hello,

since the beginning of February I try to build egcs snapshot 19990131 and now 19990208. The succcess is small. I got the 19990131 snapshot to build and install, but when I compile c++ code with some include restrictions it seems that it overrides it which causes an error. The egcs I used before and now again, was 2.91.60 I think, for LinuxPPC folks egcs-1.1.1.1c. With this compiler I haven't had this error. My question, is there something specific when building an egcs on LinuxPPC that I have to take care of? It's not necessary for me to take a snapshot, but I need to build an egcs & libstdc++ with the option -fno-vtable-thunks.

The version of EGCS-1.1.1c that I uploaded should have been compiled this way. What makes you think it was not?

Quoted 11 lines

my config: LinuxPPC pre-R5 with glibc-2.0.108
Kernel 2.2.0 self built
running compiler egcs-1.1.1.1c
How I did egcs: ./configure --enable-shared --enable-threads
--prefix=/usr/local/egcs
make LANGUAGES="c c++"
make LANGUAGES="c c++" install
Any hints?
Thanks

Quoted 6 lines

Andreas

Signature · 4 lines
| Andreas Tobler                               
| CH-8004 Zuerich                                                      
| E-Mail: [email protected]    | [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. To unsubscribe from linuxppc-dev, send ]] [[ the message 'unsubscribe' to [email protected] ]]

#2 lore raw
Quoted 4 lines · Gary Thomas

The latest snapshots are very unstable on Linux/PPC. We are working on this now, but I'd stay away from them until further notice.

Thanks, good to know. I tried lots of hours to get them compile and build on a 'slow' 7200.

Quoted 14 lines · On 10-Feb-99 Andreas Tobler wrote:
Quoted 12 lines

Hello,

since the beginning of February I try to build egcs snapshot 19990131 and now 19990208. The succcess is small. I got the 19990131 snapshot to build and install, but when I compile c++ code with some include restrictions it seems that it overrides it which causes an error. The egcs I used before and now again, was 2.91.60 I think, for LinuxPPC folks egcs-1.1.1.1c. With this compiler I haven't had this error. My question, is there something specific when building an egcs on LinuxPPC that I have to take care of? It's not necessary for me to take a snapshot, but I need to build an egcs & libstdc++ with the option -fno-vtable-thunks.

Quoted 3 lines

The version of EGCS-1.1.1c that I uploaded should have been compiled this way. What makes you think it was not?

I try to build JX under pre-R5. As far as now I got it to build, but when I play around with the menu options I get a core dump.
As pointed out by John Lindal, one of the JX guys, this situation happens when the vtable-thunks are enabled.
So I decided to try it by myself.
(I have to re-verify my system what libstdc++ and so on, but my rpms are from 4.1.99 as I remember)

Thanks
Andreas

Signature · 10 lines
------------------
| Andreas Tobler								
| CH-8004 Zuerich	
| E-mail: [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. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to [email protected] ]]