public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] latest glibc snapshot does not build on ia64?
Date: Tue, 03 Sep 2002 19:00:41 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701906012@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701906009@msgid-missing>

Randolph Chung <randolph@tausq.org> writes:

|> In reference to a message from Wichmann, Mats D, dated Sep 03:
|> > 
|> > > Haven't dug into this too much yet; wanted to see if anyone else has
|> > > seen this?
|> > 
|> > Yup.
|> > 
|> > There's a short glibc patch which takes care of this (should be on the
|> > Debian lists, else I can mail it to you once I get my machine back up).
|> > It's an "unofficial"  patch because it's felt the problem really lies 
|> > with binutils and not glibc, so it's not in glibc cvs.   The change
|> > is to dl-machine.h if it helps search...
|> 
|> there was a IA64_RELOC_NONE patch, but in a different area of glibc...
|> looks like we just hit it again at a different spot now...

It's actually the same spot, but the context has changed a bit.  Here is
an updated patch:

Index: dl-machine.h
=================================RCS file: /cvs/glibc/libc/sysdeps/ia64/dl-machine.h,v
retrieving revision 1.20
diff -u -p -a -u -p -a -r1.20 dl-machine.h
--- dl-machine.h	6 Apr 2002 00:33:23 -0000	1.20
+++ dl-machine.h	3 Sep 2002 18:58:59 -0000
@@ -546,12 +546,11 @@ elf_machine_rela (struct link_map *map,
 # endif
         value += map->l_addr;
     }
-# ifndef RTLD_BOOTSTRAP
-  else if (r_type = R_IA64_NONE)
-    return;
-# endif
   else
 #endif
+  if (r_type = R_IA64_NONE)
+    return;
+  else
     {
       struct link_map *sym_map;
 

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


      parent reply	other threads:[~2002-09-03 19:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-03 16:26 [Linux-ia64] latest glibc snapshot does not build on ia64? Randolph Chung
2002-09-03 16:55 ` Wichmann, Mats D
2002-09-03 17:46 ` Randolph Chung
2002-09-03 19:00 ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590701906012@msgid-missing \
    --to=schwab@suse.de \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox