linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: ssh2 and multiheaded X
       [not found] <199909220616.IAA00379@piglet.cpu.lu>
@ 1999-09-22  6:24 ` Dan Foster
  1999-09-22  7:39 ` Gabriel Paubert
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Foster @ 1999-09-22  6:24 UTC (permalink / raw)
  To: mlan; +Cc: pogtal, linuxppc-user, linuxppc-dev, Dan Foster


Hot Diggety! On a bright and sunny day, Michel Lanners was rumored to have said.
> 
> On  21 Sep, this message from Doomsday Machine echoed through cyberspace:
> > 
> > Greetings all-
> >     Has anyone successfully compiled ssh2 or gotten some version of
> > multiheaded X working?  ssh1 is pretty useless, since any machine not
> > running linuxppc is running ssh2, not ssh1.
[...snip....]

1. ssh2 daemon has a ssh v1 compatibility mode that can be enabled.

2. there is no real intrinsic difference in running ssh v2 over v1;
v2 just has tighter licensing requirements. v1 code has been pored over
line by line after that bad scare (but later turned out to be unfound)
around 1.2.25 and a break-in of a key site.

Of course, neither helps much if a site has chosen to use v2 everywhere :-)

That said, I'm not running a recent version of LinuxPPC so I can't really
tell what exactly is broken at the moment. Sorry.

-Dan

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: ssh2 and multiheaded X
       [not found] <199909220616.IAA00379@piglet.cpu.lu>
  1999-09-22  6:24 ` ssh2 and multiheaded X Dan Foster
@ 1999-09-22  7:39 ` Gabriel Paubert
  1999-09-22 11:09   ` Michael Schmitz
  1 sibling, 1 reply; 3+ messages in thread
From: Gabriel Paubert @ 1999-09-22  7:39 UTC (permalink / raw)
  To: Michel Lanners; +Cc: pogtal, linuxppc-user, linuxppc-dev




On Wed, 22 Sep 1999, Michel Lanners wrote:

> 
> On  21 Sep, this message from Doomsday Machine echoed through cyberspace:
> > 
> > Greetings all-
> >     Has anyone successfully compiled ssh2 or gotten some version of
> > multiheaded X working?  ssh1 is pretty useless, since any machine not
> > running linuxppc is running ssh2, not ssh1.
> 
> I tried compiling ssh2, but it aborts with errors on va_arg. Something
> with assigment of incompatible types...

There have been many problems with va_args on PPC due to the fact that the
designers of the SYSV varargs interface had to stand out :-( 

 Basically you have to use the provided standard macros and _never_ try to
outsmart them because `everybody knows that actually you can simply walk
an array' is utterly wrong on PPC. 

And I don't enter the alignment issues which have changed between
versions...

Disclaimer: I've not seen the code, but there have been several varargs
related problems and this was always the answer AFAIR. 

	Gabriel.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: ssh2 and multiheaded X
  1999-09-22  7:39 ` Gabriel Paubert
@ 1999-09-22 11:09   ` Michael Schmitz
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Schmitz @ 1999-09-22 11:09 UTC (permalink / raw)
  To: Gabriel Paubert; +Cc: mlan, pogtal, linuxppc-user, linuxppc-dev


> > I tried compiling ssh2, but it aborts with errors on va_arg. Something
> > with assigment of incompatible types...
> 
> There have been many problems with va_args on PPC due to the fact that the
> designers of the SYSV varargs interface had to stand out :-( 
> 
>  Basically you have to use the provided standard macros and _never_ try to
> outsmart them because `everybody knows that actually you can simply walk
> an array' is utterly wrong on PPC. 
> 
> And I don't enter the alignment issues which have changed between
> versions...
> 
> Disclaimer: I've not seen the code, but there have been several varargs
> related problems and this was always the answer AFAIR. 

I still get segfaults due to varargs even though I use the standard macros. 
That's with gcc 2.95.1 and it seems to involve pointers to user defined
structs solely. Haven't had time to debug this lately but I can try to write
some sample code to demonstrate it. 

	Michael

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~1999-09-22 11:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <199909220616.IAA00379@piglet.cpu.lu>
1999-09-22  6:24 ` ssh2 and multiheaded X Dan Foster
1999-09-22  7:39 ` Gabriel Paubert
1999-09-22 11:09   ` Michael Schmitz

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