linux-mips
[Top] [All Lists]

Re: latest glibc from cvs fails to build

To: Guido Guenther <guido.guenther@gmx.net>
Subject: Re: latest glibc from cvs fails to build
From: Andreas Jaeger <aj@suse.de>
Date: 07 Sep 2000 09:31:36 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: Guido Guenther's message of "Wed, 6 Sep 2000 22:21:33 +0200"
Mail-copies-to: never
References: <20000906222133.A1052@bilbo.physik.uni-konstanz.de>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands)
>>>>> Guido Guenther writes:

 > Hi,
 > when cross-building glibc from today's cvs with gcc 2.96 (20000828) I get
 > the following error:
 > dl-reloc.c:104:50: warning: pasting would not give a valid
 > preprocessing token
 > dl-reloc.c:112:50: warning: pasting would not give a valid
 > preprocessing token
Ignore those warnings
 > In file included from dynamic-link.h:21,
 >                  from dl-reloc.c:92:
 > ../sysdeps/mips/dl-machine.h:542: too few arguments to function
 > `_dl_lookup_versioned_symbol'
 > ../sysdeps/mips/dl-machine.h:542: too few arguments to function
 > `_dl_lookup_symbol'

 > Does this look familiar to anyone? Otherwise I'll take a look at it
 > later this week.
I'm currently testing a patch for this, my current version is appended.

Andreas

============================================================
Index: sysdeps/mips/dl-machine.h
--- sysdeps/mips/dl-machine.h   2000/07/25 10:32:02     1.40
+++ sysdeps/mips/dl-machine.h   2000/09/07 07:31:13
@@ -262,14 +262,14 @@
              {                                                               \
                value = _dl_lookup_versioned_symbol(strtab + sym->st_name, l, \
                                                    &sym, l->l_scope, version,\
-                                                   R_MIPS_REL32);            \
+                                                   R_MIPS_REL32, 0);         \
                break;                                                        \
              }                                                               \
            /* Fall through.  */                                              \
          }                                                                   \
        case 0:                                                               \
          value = _dl_lookup_symbol (strtab + sym->st_name, l, &sym,          \
-                                    l->l_scope, R_MIPS_REL32);               \
+                                    l->l_scope, R_MIPS_REL32, 0);            \
        }                                                                     \
                                                                              \
       /* Currently value contains the base load address of the object        \
@@ -495,14 +495,14 @@
                value = _dl_lookup_versioned_symbol(strtab + sym->st_name,\
                                                    map,                  \
                                                    &ref, scope, version, \
-                                                   R_MIPS_REL32);        \
+                                                   R_MIPS_REL32, 0);     \
                break;                                                    \
              }                                                           \
            /* Fall through.  */                                          \
          }                                                               \
        case 0:                                                           \
          value = _dl_lookup_symbol (strtab + sym->st_name, map, &ref,    \
-                                    scope, R_MIPS_REL32);                \
+                                    scope, R_MIPS_REL32, 0);             \
        }                                                                 \
                                                                          \
       (ref)? value + ref->st_value: 0;                                   \

 > Regards,
 >  -- Guido

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

<Prev in Thread] Current Thread [Next in Thread>