libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCO 5 shared libraries and -lc


From: Gary V . Vaughan
Subject: Re: SCO 5 shared libraries and -lc
Date: Mon, 16 Apr 2001 21:57:15 +0100

On Friday 13 April 2001  2:22 am, Kevin Ryde wrote:
> 
> Without wanting to repeat myself, I posted libtool-patches in January
> about SCO 5 and -lc on shared libraries, but the problem still exists
> in 1.3d and the current cvs.

Yeah, sorry about that.  I lost my mail archive (along with the messages I 
saved for later attention) in March when I fried my hard drive...

> Something like below (re-diffed for current libtool.m4) will be much
> wanted, since it avoids seg faults if a shared library uses ctype.h
> but the mainline program doesn't.  I don't have an actual explanation
> for what goes wrong, but the advice from SCO is apparently "don't do
> that".

Oh yuck!

This is definitely the wrong approach.  Could you try to find a way to fix 
the test that discovers the correct value for lt_cv_archive_cmds_need_lc 
(aound line 2158 in libtool.m4).  If this is just a bug in SCO's linker, 
maybe we just need to move your patch into this section of libtool.m4?

A fast reply improves your chances of getting the fix into libtool-1.4...

Cheers,
        Gary.
-- 
  ___              _   ___   __              _         mailto: address@hidden
 / __|__ _ _ ___ _| | / / | / /_ _ _  _ __ _| |_  __ _ ___       address@hidden
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
 \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page:  /___/                      /___/                  gpg public key:
http://www.oranda.demon.co.uk           http://www.oranda.demon.co.uk/key.asc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]