This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd_link_hash_traverse


On Mon, Jun 13, 2011 at 05:55:14AM -0700, H.J. Lu wrote:
> On Linux/ia64, I got
> 
> Executing on host: sh -c {tmpdir/ld2 -m elf64_ia64  -o tmpdir/ld3
> -dynamic-linker /lib/ld-linux-ia64.so.2
> /usr/lib/gcc/ia64-redhat-linux/4.1.2/../../../crt1.o
> /usr/lib/gcc/ia64-redhat-linux/4.1.2/../../../crti.o
> /usr/lib/gcc/ia64-redhat-linux/4.1.2/crtbegin.o --traditional-format
> ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o
> plugin.o ldwrite.o ldexp.o  ldemul.o ldver.o ldmisc.o ldfile.o
> ldcref.o eelf64_ia64.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
>   -ldl -lz -ldl  -L/usr/lib/gcc/ia64-redhat-linux/4.1.2/../../..
> --start-group /usr/lib/gcc/ia64-redhat-linux/4.1.2/libgcc.a
> /usr/lib/gcc/ia64-redhat-linux/4.1.2/libgcc_eh.a
> /usr/lib/gcc/ia64-redhat-linux/4.1.2/../../../libunwind.a -lc
> --end-group /usr/lib/gcc/ia64-redhat-linux/4.1.2/crtend.o
> /usr/lib/gcc/ia64-redhat-linux/4.1.2/../../../crtn.o 2>&1}  /dev/null
> ld.tmp (timeout = 300)
> tmpdir/ld2: can't relax section: File truncated
> tmpdir/ld2: can't relax section: File truncated
> FAIL: bootstrap with --traditional-format

Unfortunately I don't have an ia64 system available to debug this.
Can you help out?  Possibly there is a miscompilation of ld2?  How
does ld2 differ from ld1?

ia64 was one of the targets that didn't have any problem with its
treatment of warning symbols, except for elflink.c
_bfd_elf_export_symbol looking at h->dynamic before following a
warning symbol link, and that one is unlikely to trigger in the
bootstrap tests..  The files that did have problems were

	* elf32-arm.c (elf32_arm_to_thumb_export_stub): 
	* elf32-m68k.c (elf_m68k_init_symndx2h_1): 
	* elf32-spu.c (allocate_spuear_stubs, build_spuear_stubs): 
	* elf32-vax.c (elf_vax_instantiate_got_entries): 
	* elf64-alpha.c (elf64_alpha_merge_ind_symbols): 
	(elf64_alpha_size_plt_section_1): 
	* elf64-hppa.c (elf64_hppa_mark_exported_functions): 
	(allocate_global_data_dlt, allocate_global_data_plt): 
	(allocate_global_data_stub, allocate_global_data_opd): 
	(allocate_dynrel_entries): 
	(elf64_hppa_mark_milli_and_exported_functions): 
	(elf64_hppa_finish_dynamic_symbol, elf64_hppa_finalize_opd): 
	(elf64_hppa_finalize_dlt, elf64_hppa_finalize_dynreloc): 
	* elflink.c (_bfd_elf_export_symbol): 
	* elfxx-mips.c (mips_elf_count_global_tls_entries): 
	(mips_elf_count_global_tls_relocs, allocate_dynrelocs): 
	(mips_elf_count_got_symbols, mips_elf_allocate_lazy_stub): 
	* vms-alpha.c (alpha_vms_link_output_symbol): 
	* xcofflink.c (xcoff_mark_auto_exports): 

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]