This happened during a gcc bootstrap with a object files only containing LTO information. I used the --plugin feature of ar to build libiberty, but it crashes with:
plugin-ar rc ./libiberty.a ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o BFD: BFD (GNU Binutils) 2.20.51.20100906 assertion fail ../../binutils/bfd/plugin.c:250 Segmentation fault I'm attaching plugin-ar and the object files. Will need a gcc 4.5 or 4.6 LTO plugin. -- Summary: assertion fail ../../binutils/bfd/plugin.c:250 while using ar with gcc lto plugin Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: andi-bz at firstfloor dot org CC: bug-binutils at gnu dot org GCC host triplet: x86_64-linux http://sourceware.org/bugzilla/show_bug.cgi?id=12004 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils