public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: binutils@sources.redhat.com
Subject: Re: IA64 linker is broken
Date: Mon, 31 Jan 2005 18:38:00 -0000	[thread overview]
Message-ID: <20050131183811.GA25332@lucon.org> (raw)
In-Reply-To: <20050131082924.GI11595@bubble.modra.org>

On Mon, Jan 31, 2005 at 06:59:24PM +1030, Alan Modra wrote:
> On Mon, Jan 31, 2005 at 05:43:08PM +1030, Alan Modra wrote:
> > @@ -6143,11 +6210,7 @@ elf_link_output_extsym (struct elf_link_
> >    const struct elf_backend_data *bed;
> >  
> >    if (h->root.type == bfd_link_hash_warning)
> > -    {
> > -      h = (struct elf_link_hash_entry *) h->root.u.i.link;
> > -      if (h->root.type == bfd_link_hash_new)
> > -	return TRUE;
> > -    }
> > +    h = (struct elf_link_hash_entry *) h->root.u.i.link;
> >  
> >    /* Decide whether to output this symbol in this pass.  */
> >    if (eoinfo->localsyms)
> 
> Oops, this hunk wasn't supposed to be included.

It doesn't work on ia64. Now I am getting

gnu-2:pts/1[5]> stage1/xgcc -Bstage1/
-B/usr/gcc-4.0/ia64-unknown-linux-gnu/bin/   -DUSE_LIBUNWIND_EXCEPTIONS
-g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition -Werror    -DHAVE_CONFIG_H -DGENERATOR_FILE  -o
build/gengenrtl \
 build/gengenrtl.o build/errors.o
../build-ia64-unknown-linux-gnu/libiberty/libiberty.a -B./
/usr/lib/crt1.o:(.dynamic+0x0): multiple definition of `_DYNAMIC'
/usr/lib/crt1.o: In function `_start':
: undefined reference to `__libc_csu_init'
build/gengenrtl.o: In function `find_formats':
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:178: undefined
reference to `strcmp'
build/gengenrtl.o: In function `genlegend':
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:289: undefined
reference to `puts'
build/gengenrtl.o: In function `gencode':
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:322: undefined
reference to `puts'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:323: undefined
reference to `puts'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:324: undefined
reference to `puts'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:325: undefined
reference to `puts'
build/gengenrtl.o:/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:326:
more undefined references to `puts' follow
build/gengenrtl.o: In function `main':
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:160: undefined
reference to `strcmp'
build/gengenrtl.o: In function `special_rtx':
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:146: undefined
reference to `strcmp'
build/gengenrtl.o: In function `main':
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:245: undefined
reference to `puts'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:146: undefined
reference to `strcmp'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:146: undefined
reference to `strcmp'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:146: undefined
reference to `strcmp'
/net/gnu/export/gnu/src/gcc/gcc/gcc/gengenrtl.c:146: undefined
reference to `strcmp'
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init':
: undefined reference to `__init_array_start'
./ld: BFD 2.15.94.0.3 20050130 assertion fail
/net/gnu/export/linux/src/binutils/binutils/bfd/elf-strtab.c:241
collect2: ld returned 1 exit status


H.J.

  reply	other threads:[~2005-01-31 18:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-30 19:22 H. J. Lu
2005-01-31  0:02 ` Alan Modra
2005-01-31  7:13   ` Alan Modra
2005-01-31  8:29     ` Alan Modra
2005-01-31 18:38       ` H. J. Lu [this message]
2005-01-31 21:22     ` ELF " H. J. Lu
2005-01-31 22:02       ` PATCH: " H. J. Lu
2005-02-01  0:08         ` Alan Modra
2005-02-01  5:56           ` IA64 linker is totally broken (Re: PATCH: ELF linker is broken) H. J. Lu
2005-02-01  6:18             ` H. J. Lu
2005-02-01  7:16               ` Alan Modra
2005-02-01 22:46                 ` H. J. Lu
2005-02-01 23:57                   ` Alan Modra
2005-02-02  0:39                     ` H. J. Lu
2005-02-02  1:12                       ` Alan Modra
2005-02-02  1:37                         ` Alan Modra
2005-02-02  2:23                     ` H. J. Lu
2005-01-31 23:16       ` ELF linker is broken Alan Modra
2005-02-01  1:41     ` IA64 " Alan Modra
  -- strict thread matches above, loose matches on Subject: below --
2003-03-04 20:13 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=20050131183811.GA25332@lucon.org \
    --to=hjl@lucon.org \
    --cc=binutils@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).