Re: problem with libtool generated version script and underscores

2008-02-28 Thread Mike Frysinger
libtool automatically discovers the prefix in _LT_CMD_GLOBAL_SYMBOLS and stores the result into ac_symprfx (in libtool.m4). i think all we need to do is have _LT_LINKER_SHLIBS declare an m4_require on _LT_CMD_GLOBAL_SYMBOLS and then we can use ac_symprfx in archive_expsym_cmds by adding an expr

Re: problem with libtool generated version script and underscores

2008-02-28 Thread Aleksey Demakov
Hi all, Are there any comments on my patch? Is there anything wrong with it? Regards, Aleksey ___ http://lists.gnu.org/mailman/listinfo/libtool

Re: problem with libtool generated version script and underscores

2008-02-24 Thread Aleksey Demakov
On Thu, Feb 14, 2008 at 5:49 PM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > >>Can we see testsuite output for Libtool 2.1b (see README) for a system > >>that needs a change here? This failure should be exposed already. Esp. > >>the stresstest should expose most use cases here. > > I disagre

Re: problem with libtool generated version script and underscores

2008-02-14 Thread Ralf Wildenhues
* Aleksey Demakov wrote on Thu, Feb 14, 2008 at 12:46:25PM CET: > On Thu, Feb 7, 2008 at 2:23 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > > Please take a look at AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE in libtool.m4. > > [...] > > > > > That is while finding the correct global_symbol_pipe command

Re: problem with libtool generated version script and underscores

2008-02-14 Thread Aleksey Demakov
On Thu, Feb 7, 2008 at 2:23 AM, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > > Please take a look at AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE in libtool.m4. > [...] > > > That is while finding the correct global_symbol_pipe command it uses > > temporary variable $ac_symprfx. I think this variable could

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Ralf Wildenhues
* Aleksey Demakov wrote on Wed, Feb 06, 2008 at 08:01:42PM CET: > On Feb 6, 2008 11:51 PM, Mike Frysinger <[EMAIL PROTECTED]> wrote: > > > > Blackfin is not the only target that utilizes underscore prefixes. a more > > generic check (as noted in the previous thread you cited) would be to > > consi

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Aleksey Demakov
On Feb 6, 2008 11:51 PM, Mike Frysinger <[EMAIL PROTECTED]> wrote: > > Blackfin is not the only target that utilizes underscore prefixes. a more > generic check (as noted in the previous thread you cited) would be to > consider the define from gcc __USER_LABEL_PREFIX__. > -mike > Please take a lo

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Peter O'Gorman
Mike Frysinger wrote: > On Wednesday 06 February 2008, Peter O'Gorman wrote: >> Mike Frysinger wrote: >>> Blackfin is not the only target that utilizes underscore prefixes. a >>> more generic check (as noted in the previous thread you cited) would be >>> to consider the define from gcc __USER_LABE

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Mike Frysinger
On Wednesday 06 February 2008, Peter O'Gorman wrote: > Mike Frysinger wrote: > > Blackfin is not the only target that utilizes underscore prefixes. a > > more generic check (as noted in the previous thread you cited) would be > > to consider the define from gcc __USER_LABEL_PREFIX__. > > Feel free

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Peter O'Gorman
Mike Frysinger wrote: > > Blackfin is not the only target that utilizes underscore prefixes. a more > generic check (as noted in the previous thread you cited) would be to > consider the define from gcc __USER_LABEL_PREFIX__. > -mike Hi Mike, Feel free to send patches. Peter -- Peter O'Gorm

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Mike Frysinger
On Wednesday 06 February 2008, Aleksey Demakov wrote: > On Feb 6, 2008 9:18 PM, Peter O'Gorman <[EMAIL PROTECTED]> wrote: > > What is the host triplet for the system that you are building for? > > Umm the canonical host name must be something like > bfin-unknown-linux. > > > You need to set archive

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Aleksey Demakov
On Feb 6, 2008 9:18 PM, Peter O'Gorman <[EMAIL PROTECTED]> wrote: > What is the host triplet for the system that you are building for? > Umm the canonical host name must be something like bfin-unknown-linux. > You need to set archive_expsym_cmds for that system to be similar to > interix[[3-9]]*

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Peter O'Gorman
Aleksey Demakov wrote: > On Feb 6, 2008 2:51 AM, Aleksey Demakov <[EMAIL PROTECTED]> wrote: >> I try to build a library (glib to be specific) with a cross-toolchain >> that prepends underscore to C names. The problem is that the >> symbols the library has to export do not get exported. >> > > By t

Re: problem with libtool generated version script and underscores

2008-02-06 Thread Aleksey Demakov
On Feb 6, 2008 2:51 AM, Aleksey Demakov <[EMAIL PROTECTED]> wrote: > I try to build a library (glib to be specific) with a cross-toolchain > that prepends underscore to C names. The problem is that the > symbols the library has to export do not get exported. > By the way my problem looks just the

problem with libtool generated version script and underscores

2008-02-05 Thread Aleksey Demakov
Hi all, I try to build a library (glib to be specific) with a cross-toolchain that prepends underscore to C names. The problem is that the symbols the library has to export do not get exported. The command used to build the library is provided by the end of the message. Please note the option "-e