On Sun, May 28, 2000 at 05:12:05PM -0600, Warner Losh wrote: > I get these failures on hello world: > > int main() { printf("hello world\n"); } > > cc -c xxx.c > cc -o xxx xxx.o > <ld error here> Can you test this patch? I think I tracked down the problem. At some point, someone added a new field into a hash table struct and didn't add initialization for it into the general hash table struct init func. This patch cures the problem for me. Yes, I know, vendor branch and all :( You need to apply the patch and remake /usr/src/gnu/usr.bin/binutils/libbfd and then /usr/src/gnu/usr.bin/binutils/ld . Index: elf.c =================================================================== RCS file: /freebsd/cvs/src/contrib/binutils/bfd/elf.c,v retrieving revision 1.6 diff -u -r1.6 elf.c --- elf.c 2000/05/13 16:44:19 1.6 +++ elf.c 2000/05/29 04:58:34 @@ -979,6 +979,7 @@ table->needed = NULL; table->hgot = NULL; table->stab_info = NULL; + table->dynlocal = NULL; return _bfd_link_hash_table_init (&table->root, abfd, newfunc); } -- Anatoly Vorobey, [EMAIL PROTECTED] http://pobox.com/~mellon/ "Angels can fly because they take themselves lightly" - G.K.Chesterton To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- Re: Internal compiler error: program ld got ... Szilveszter Adam
- Re: Internal compiler error: program ld got ... John Baldwin
- Re: Internal compiler error: program ld ... Warner Losh
- Re: Internal compiler error: program ld got ... Thomas D. Dean
- Re: Internal compiler error: program ld got ... Thomas D. Dean
- Re: Internal compiler error: program ld got ... Warner Losh
- Re: Internal compiler error: program ld got ... Warner Losh
- Re: Internal compiler error: program ld got fatal signal ... Warner Losh
- Re: Internal compiler error: program ld got fatal signal ... Warner Losh
- Re: Internal compiler error: program ld got fatal si... Anatoly Vorobey
- Re: Internal compiler error: program ld got fatal si... Anatoly Vorobey
- Re: Internal compiler error: program ld got fata... David O'Brien
- Re: Internal compiler error: program ld got fatal si... Warner Losh
- Re: Internal compiler error: program ld got fata... David O'Brien
- Re: Internal compiler error: program ld got fata... Warner Losh
- Re: Internal compiler error: program ld got fatal si... Steve Kargl
- Re: Internal compiler error: program ld got fatal signal ... Warner Losh
- Re: Internal compiler error: program ld got fatal si... Mark C. Langston
- Re: Internal compiler error: program ld got fata... Jose M. Alcaide
- Re: Internal compiler error: program ld got ... Hasan Diwan