public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@debian.org>
To: linux-ia64@vger.kernel.org
Subject: Linker bug in Debian unstable?
Date: Wed, 30 Jun 2004 19:21:43 +0000	[thread overview]
Message-ID: <20040630192143.GE30334@parcelfarce.linux.theplanet.co.uk> (raw)


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 ...

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 19:21 Matthew Wilcox [this message]
2004-06-30 19:33 ` Linker bug in Debian unstable? H. J. Lu
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=20040630192143.GE30334@parcelfarce.linux.theplanet.co.uk \
    --to=willy@debian.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