[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3826] elf_object_p can't tell freebsd object file from sta
From: |
aurelien at aurel32 dot net |
Subject: |
[Bug binutils/3826] elf_object_p can't tell freebsd object file from standard ELF object file |
Date: |
5 Mar 2007 17:07:46 -0000 |
------- Additional Comments From aurelien at aurel32 dot net 2007-03-05 17:07
-------
I have just tried again with the current CVS version. It seems the patch posted
on http://sourceware.org/ml/binutils/2007-01/msg00045.html has not been
applied, thus objdump and nm are not working correctly:
/usr/bin/nm: Matching formats: elf32-i386-freebsd elf32-i386
/usr/bin/nm: libgcc/32/_lshrdi3_s.o: File format is ambiguous
or
objdump: /lib32/libpthread.so.0: File format is ambiguous
objdump: Matching formats: elf32-i386-freebsd elf32-i386
It is actually only necessary to remove elf32-i386. Please find a patch below
to fix that. I have been able to build a full gcc 4.1 and a full glibc with it.
Would it be possible to apply it, at least until elf_object_p is fixed?
--- binutils-2.17.20070210cvs.orig/bfd/config.bfd
+++ binutils-2.17.20070210cvs/bfd/config.bfd
@@ -577,7 +577,7 @@
;;
x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
targ_defvec=bfd_elf64_x86_64_freebsd_vec
- targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec bfd_efi_app_ia32_vec
bfd_elf32_i386_vec bfd_elf64_x86_64_vec"
+ targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec bfd_efi_app_ia32_vec
bfd_elf64_x86_64_vec"
want64=true
;;
x86_64-*-netbsd* | x86_64-*-openbsd*)
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3826
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/3826] elf_object_p can't tell freebsd object file from standard ELF object file,
aurelien at aurel32 dot net <=