Re: [XFree86] X4.3/FreeBSD distribution aout libs

2003-03-21 Thread David Dawes
On Fri, Mar 21, 2003 at 12:32:48PM -0800, Ken Marx wrote:
Hi,

I previously (somewhat confusedly - sorry) posted about this
as X4.3/netscape/freebsd4.7.

I installed XF86-4.3 from FreeBSD-4.x binary distribution
I got from the xfree86.org ftp site.
 
It seems that the XFree86-4.3 aout libraries in Xbin.tgz
are new versions that can cause legacy aout binaries (netscape
4.5, 4.72, in my case) to segv.

Eric Anholt has graciously confirmed that the FreeBSD port
doesn't build/contain new versions of the aout libs.

I think this might be recommended for the binary distribution
as well: Either just include the old ones, or instruct installers
to leave/copy the old ones in the new 4.3 dirs.

New ones are built so that applications that still use the old a.out
libraries get the benefit of any security and bug fixes.

That is, unless there's some reason to expect old binaries to use new
features, or reason to expect new aout binaries to be written.
FreeBSD folks I spoke with about this seemed to think there wasn't.

Perhaps mine is an isolated case - I haven't found other reports
of new libs crashing old aout binaries. Maybe nobody uses Netscape
anymore...

Anyway - I got netscape to work simply by moving these new
aout versions aside:
   
libX11.so.6.2
libXext.so.6.4
libXmu.so.6.2

The new ones should be backward compatible (no removed interfaces and no
changed interfaces).  The best solution would be to locate the cause of
the problem, see if it's compatibility breakage, and if so, see if it
can be fixed without causing more serious compatibility problems.

FWIW, the a.out libraries supplied with the XFree86 4.3 FreeBSD bindists
were built on a clean FreeBSD 2.2.8 installation.  I think that was one
of the last a.out releases?

David
-- 
David Dawes
Release Engineer/Architect  The XFree86 Project
www.XFree86.org/~dawes
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86


Re: [XFree86] X4.3/FreeBSD distribution aout libs

2003-03-21 Thread Ken Marx
Thanks for the reply. I'll say up front, that we have a
reasonable work-around in just moving the lib aside.
So it's not a huge deal for us production-wise. It
would be nice to understand what's going on, but I
can cut bait anytime... A bit more info below...
David Dawes wrote:
On Fri, Mar 21, 2003 at 12:32:48PM -0800, Ken Marx wrote:

Hi,

I previously (somewhat confusedly - sorry) posted about this
as X4.3/netscape/freebsd4.7.
I installed XF86-4.3 from FreeBSD-4.x binary distribution
I got from the xfree86.org ftp site.
It seems that the XFree86-4.3 aout libraries in Xbin.tgz
are new versions that can cause legacy aout binaries (netscape
4.5, 4.72, in my case) to segv.
Eric Anholt has graciously confirmed that the FreeBSD port
doesn't build/contain new versions of the aout libs.
I think this might be recommended for the binary distribution
as well: Either just include the old ones, or instruct installers
to leave/copy the old ones in the new 4.3 dirs.


New ones are built so that applications that still use the old a.out
libraries get the benefit of any security and bug fixes.
Seems reasonable. A bit too secure just now though...

That is, unless there's some reason to expect old binaries to use new
features, or reason to expect new aout binaries to be written.
FreeBSD folks I spoke with about this seemed to think there wasn't.
Perhaps mine is an isolated case - I haven't found other reports
of new libs crashing old aout binaries. Maybe nobody uses Netscape
anymore...
Anyway - I got netscape to work simply by moving these new
aout versions aside:

libX11.so.6.2
libXext.so.6.4
libXmu.so.6.2


The new ones should be backward compatible (no removed interfaces and no
changed interfaces).  The best solution would be to locate the cause of
the problem, see if it's compatibility breakage, and if so, see if it
can be fixed without causing more serious compatibility problems.
A fine idea. I'm open to suggestions. I tried copying libX11.so.6.2
over to my 2.2.8 box and get the same thing. In gdb everything's
unsymbol'd, so best I can see is 

Program received signal SIGFPE, Arithmetic exception.
0x70e98e in ?? ()
(gdb) bt
#0  0x70e98e in ?? ()
#1  0x6f078d in ?? ()
...
#6  0x1095 in ?? ()
Whoever did the 2.2.8 build could at least reproduce this, I guess.
Or if someone can find a symboled version of netscape (or any
binary that has the problem) I don't mind spending a bit more time on it.
I didn't think it important before, but I'll mention that this
happens after the hard-coded message:
communicator-4.5.bin: locale `C' not supported.
   If the $XNLSPATH directory does not contain the proper config files,
blahblah
I've played with various XNLSPATH settings, and googled for it. I
see similar problems reported (from way back). Very few solutions
offered. One vaguely impunes X install for overwriting some locale info.
(http://lists.debian.org/debian-user/1998/debian-user-199811/msg01758.html)
!?
So, sorry if this ends up being not X-related. Currently libX11.so is my
only footprint.

FWIW, the a.out libraries supplied with the XFree86 4.3 FreeBSD bindists
were built on a clean FreeBSD 2.2.8 installation.  I think that was one
of the last a.out releases?
David
--
Ken Marx, [EMAIL PROTECTED]
I am very concerned that we may not outsource and motivate the troops to 
design.
		- http://www.bigshed.com/cgi-bin/speak.cgi

___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86