libtool-patches
[Top][All Lists]
Advanced

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

Re: IRIX 6.5 and exporting symbols.


From: Albert Chin
Subject: Re: IRIX 6.5 and exporting symbols.
Date: Wed, 9 Mar 2005 11:21:06 -0600
User-agent: Mutt/1.5.6i

On Wed, Mar 09, 2005 at 02:51:31PM +0100, Ralf Wildenhues wrote:
> * Peter Ekberg wrote on Wed, Mar 09, 2005 at 02:11:40PM CET:
> > This makes it work for me, the namespace is sadly polluted,
> > but there is nothing we can do about that, short of hacking
> > the gcc specs file or wait for gcc 3.5/4.0 to be released
> > as indicated by this bugzilla entry:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15288
> 
> We should try to at least enable it for gcc >= 4.0, so Libtool won't
> need to change again then.  Plus, IRIX ld may have this fixed
> eventually; did anyone bother SGI folks about this?

We have an SGI support contract. I'll bug them if you want but you
need to tell me what to put in the bug report. ld(1) says:
     -hidden_symbol symbol_list
               Used in conjunction with the -shared or -call_shared
               options.  Marks the specified symbols as hidden.  Use a
               comma to separate the symbols.  This option is ignored if
               any symbols are specifically marked as exported using the
               -exported_symbol or -exports_file options.  If you specify
               -hidden_symbol, all unspecified symbols are automatically
               exported, including those that were implicitly hidden when
               loading archive libraries.

               It is an error if any of these symbols are also specifically
               marked as hidden using the -exported_symbol or -exports_file
               options.

               See the NOTES section information regarding hiding and
               exporting defined symbols.  (C, C++, F77, F90)

If any of this is wrong, let me know what I should tell SGI.

-- 
albert chin (address@hidden)




reply via email to

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