public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Linker bug in Debian unstable?
@ 2004-06-30 19:21 Matthew Wilcox
  2004-06-30 19:33 ` H. J. Lu
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Matthew Wilcox @ 2004-06-30 19:21 UTC (permalink / raw)
  To: linux-ia64


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-06-30 23:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 19:21 Linker bug in Debian unstable? Matthew Wilcox
2004-06-30 19:33 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox