public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: linux-ia64@vger.kernel.org
Subject: Re: Linker bug in Debian unstable?
Date: Wed, 30 Jun 2004 19:33:45 +0000	[thread overview]
Message-ID: <20040630193345.GA26483@lucon.org> (raw)
In-Reply-To: <20040630192143.GE30334@parcelfarce.linux.theplanet.co.uk>

On Wed, Jun 30, 2004 at 08:21:43PM +0100, Matthew Wilcox wrote:
> 
> GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux
> 
> Here's the snippet of code (from libgnome-2.6.1-5):
> 
> GnomeProgram *
> gnome_program_init (const char *app_id, const char *app_version,
>                     const GnomeModuleInfo *module_info,
>                     int argc, char **argv,
>                     const char *first_property_name, ...)
> {
>     GnomeProgram *program;
>     va_list args;
> 
>     g_type_init ();
> 
>     va_start(args, first_property_name);
>     program = gnome_program_initv (GNOME_TYPE_PROGRAM,
>                                    app_id, app_version, module_info,
>                                    argc, argv, first_property_name, args);
>     va_end(args);
> 
>     return program;
> }
> 
> objdump -dr gnome-program.o gives:
> 
>     ac40:       1c 00 94 1c 98 11       [MFB]       st8 [r14]=r37
>                         ac42: PCREL21B  g_type_init
>     ac46:       00 00 00 02 00 00                   nop.f 0x0
>     ac4c:       08 00 00 50                         br.call.sptk.many b0¬40 <g
> nome_program_init+0x90>
> 
> But objdump -dr .libs/libgnome-2.so.0.601.0:
> 
>    25750:       1c 00 94 1c 98 11       [MFB]       st8 [r14]=r37
>    25756:       00 00 00 02 00 00                   nop.f 0x0
>    2575c:       08 00 00 50                         br.call.sptk.many b0%750 <
> gnome_program_init+0x90>
> 
> The reloc has gone, but presumably it should still be there as g_type_init()
> is part of glib-2.0.
> 
> NB: This problem currently prevents mozilla from running.  Probably other
> gnome apps too ...
> 

Are you talking about

http://sources.redhat.com/ml/binutils/2004-06/msg00295.html


H.J.

  reply	other threads:[~2004-06-30 19:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 19:21 Linker bug in Debian unstable? Matthew Wilcox
2004-06-30 19:33 ` H. J. Lu [this message]
2004-06-30 19:50 ` Matthew Wilcox
2004-06-30 20:15 ` H. J. Lu
2004-06-30 22:40 ` Matthew Wilcox
2004-06-30 22:50 ` dann frazier
2004-06-30 23:18 ` H. J. Lu

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=20040630193345.GA26483@lucon.org \
    --to=hjl@lucon.org \
    --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