ssh2 and multiheaded X
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hot Diggety! On a bright and sunny day, Michel Lanners was rumored to have said.
Quoted 7 lines
On 21 Sep, this message from Doomsday Machine echoed through cyberspace:
Quoted 5 lines
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/
Quoted 10 lines · Michel Lanners
On 21 Sep, this message from Doomsday Machine echoed through cyberspace:
Quoted 5 lines
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/
Quoted 11 lines
Quoted 3 lines
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_argson 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.
Quoted 5 lines
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/