Re: Linking glib with gld in Irix



On Mon, Aug 08, 2005 at 03:41:19PM +0200, Magnus Bergman wrote:
> I have problems building glib (2.6.6) in Irix using GCC, gas and gld
> (no, I don't forget to use --with-gnu-ld). It fails then linking
> glib-genmarshal against glib because some symbols, including g_malloc
> cannot be found. Then I examine the glib library (using GNU objdump) I
> see than most symbols are marked hidden, for example:
> 
> 60017e80 l     F *ABS*  00000000 .hidden IA__g_malloc
> 
> While a few are not, for example:
> 
> 600354bc g     F *ABS*  00000000 g_strcasecmp

Is GNU ld even recommended for building GCC no IRIX? I don't think so.
GNU ld isn't feature-complete on IRIX:
  http://sourceware.org/ml/binutils/2005-06/msg00621.html

-- 
albert chin (china thewrittenword com)



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