Re: Patch 7.3.050

2010-11-10 Fir de Conversatie Alexey I. Froloff
On Wed, Nov 10, 2010 at 18:05, James Vega wrote: > That obviously depends on how the libraries are built.  Fedora/RedHat > build ncurses using the --with-termlib configure option which splits the > terminfo library out to its own file. And this is why there is an option --with-tlib, that I've ment

Re: Patch 7.3.050

2010-11-10 Fir de Conversatie Bram Moolenaar
James Vega wrote: > On Wed, Nov 10, 2010 at 9:33 AM, Alexey I. Froloff wrote: > > On Wed, Nov 10, 2010 at 17:07, Bram Moolenaar wrote: > >> It's a bit more complicated than that. Checking for tinfo before > >> ncurses might work on some machines. But does it work everywhere? Or > >> do we ne

Re: Patch 7.3.050

2010-11-10 Fir de Conversatie James Vega
On Wed, Nov 10, 2010 at 9:33 AM, Alexey I. Froloff wrote: > On Wed, Nov 10, 2010 at 17:07, Bram Moolenaar wrote: >> It's a bit more complicated than that.  Checking for tinfo before >> ncurses might work on some machines.  But does it work everywhere?  Or >> do we need to add checks for what the

Re: Patch 7.3.050

2010-11-10 Fir de Conversatie Alexey I. Froloff
On Wed, Nov 10, 2010 at 17:07, Bram Moolenaar wrote: > It's a bit more complicated than that.  Checking for tinfo before > ncurses might work on some machines.  But does it work everywhere?  Or > do we need to add checks for what the library needs to contain? If you use symbols from a library, you

Re: Patch 7.3.050

2010-11-10 Fir de Conversatie Bram Moolenaar
Alexey Froloff wrote: > On Wed, Nov 10, 2010 at 13:49, Bram Moolenaar wrote: > > So, it turns out that --as-needed cannot replace the old method from > > link.sh completely. > link.sh is a hack, while --as-needed checks symbol usage. As the people who ran into the problems have mentioned, link.

Re: Patch 7.3.050

2010-11-10 Fir de Conversatie Alexey I. Froloff
On Wed, Nov 10, 2010 at 13:49, Bram Moolenaar wrote: > So, it turns out that --as-needed cannot replace the old method from > link.sh completely. link.sh is a hack, while --as-needed checks symbol usage. > Since different systems put different things in libraries, and ncurses > is especially unpr

Re: Patch 7.3.050

2010-11-10 Fir de Conversatie Bram Moolenaar
Alexey Froloff wrote: > On Wed, Nov 10, 2010 at 01:25, Bram Moolenaar wrote: > > The change to --as-needed should not require any configure argument > > changes. =A0If it built OK before it should still build OK. > libncurses is linked against libtinfo, but vim doesn't use any symbols from > lib

Re: Patch 7.3.050

2010-11-09 Fir de Conversatie Alexey I. Froloff
On Wed, Nov 10, 2010 at 10:48, Alexey I. Froloff wrote: > libncurses is linked against libtinfo, but vim doesn't use any symbols from > libncurses.  -lncurses must be changed to -ltinfo, this is how --as-needed > works. Another possible solution: $ cat /usr/lib/libncursesw.so /* GNU ld script */

Re: Patch 7.3.050

2010-11-09 Fir de Conversatie Alexey I. Froloff
On Wed, Nov 10, 2010 at 01:25, Bram Moolenaar wrote: > The change to --as-needed should not require any configure argument > changes.  If it built OK before it should still build OK. libncurses is linked against libtinfo, but vim doesn't use any symbols from libncurses. -lncurses must be changed

Re: Patch 7.3.050

2010-11-09 Fir de Conversatie Bram Moolenaar
Alexey Froloff wrote: > On Sat, Nov 6, 2010 at 14:09, Bram Moolenaar wrote: > > You do have -lncurses, which provides the missing symbols. I guess the > > --as-needed feature is broken in this compiler. > Those symbols lives in libtinfo (at least on my system). > > Try ./configure ... --with-t

Re: Patch 7.3.050

2010-11-09 Fir de Conversatie Alexey I. Froloff
On Sat, Nov 6, 2010 at 14:09, Bram Moolenaar wrote: > You do have -lncurses, which provides the missing symbols.  I guess the > --as-needed feature is broken in this compiler. Those symbols lives in libtinfo (at least on my system). Try ./configure ... --with-tlib=tinfo ... -- Regards, Sir Raor

Re: Patch 7.3.050

2010-11-06 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: > Bram Moolenaar wrote: > > Patch 7.3.050 > > Problem:The link script is clumsy. > > Solution: Use the --as-needed linker option if available. (Kirill A. > > Shutemov) > > Files: src/Makefile, src/auto/configure,

Re: Patch 7.3.050

2010-11-05 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Patch 7.3.050 Problem:The link script is clumsy. Solution: Use the --as-needed linker option if available. (Kirill A. Shutemov) Files: src/Makefile, src/auto/configure, src/config.mk.in, src/configure.in, src/link.sh On a Centos 5.2

Re: Patch 7.3.050

2010-11-04 Fir de Conversatie Bram Moolenaar
Danek Duvall wrote: > On Wed, Nov 03, 2010 at 10:32:40PM +0100, Bram Moolenaar wrote: > > > > > Patch 7.3.050 > > Problem:The link script is clumsy. > > Solution: Use the --as-needed linker option if available. (Kirill A. > > Shutemov) > &

Re: Patch 7.3.050

2010-11-04 Fir de Conversatie Bram Moolenaar
Christian J. Robinson wrote: > On Wed, 3 Nov 2010, Bram Moolenaar wrote: > > > Patch 7.3.050 > > The last two patches haven't shown up on the FTP site. The disk was full. Vim was moved to another disk, problem solved. -- If "R" is Reverse, how come "D&

Re: Patch 7.3.050

2010-11-03 Fir de Conversatie Danek Duvall
On Wed, Nov 03, 2010 at 10:32:40PM +0100, Bram Moolenaar wrote: > > Patch 7.3.050 > Problem:The link script is clumsy. > Solution: Use the --as-needed linker option if available. (Kirill A. > Shutemov) > Files:src/Makefile, src/auto/configure

Re: Patch 7.3.050

2010-11-03 Fir de Conversatie Christian J. Robinson
On Wed, 3 Nov 2010, Bram Moolenaar wrote: Patch 7.3.050 The last two patches haven't shown up on the FTP site. - Christian -- "You are not superior just because you see the world in an odious light." -- Vicomte de Chateaubriand Christian J. Robi

Patch 7.3.050

2010-11-03 Fir de Conversatie Bram Moolenaar
Patch 7.3.050 Problem:The link script is clumsy. Solution: Use the --as-needed linker option if available. (Kirill A. Shutemov) Files: src/Makefile, src/auto/configure, src/config.mk.in, src/configure.in, src/link.sh *** ../vim-7.3.049/src/Makefile 2010-10-27