https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66638
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-06-25 Ever confirmed|0 |1 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to amker from comment #2) > It is an assertion failure, only I had difficualty in reproducing the issue. > I got below link error when doing profiledbootstrap with given configuration > options: > > /tmp/cc3NzkDN.ltrans0.ltrans.o: In function `read_md_files': > .build/gcc/../../gcc/gcc/read-md.c:1052: undefined reference to `xmalloc' > .build/gcc/../../gcc/gcc/read-md.c:1053: undefined reference to `htab_create' > .build/gcc/../../gcc/gcc/read-md.c:1054: undefined reference to `xmalloc' > .build/gcc/../../gcc/gcc/read-md.c:1055: undefined reference to `htab_create' > .build/gcc/../../gcc/gcc/read-md.c:1056: undefined reference to `xmalloc' > .build/gcc/../../gcc/gcc/read-md.c:1057: undefined reference to `htab_create' > .build/gcc/../../gcc/gcc/read-md.c:1059: undefined reference to `htab_create' > .build/gcc/../../gcc/gcc/read-md.c:1063: undefined reference to > `unlock_std_streams' > .build/gcc/../../gcc/gcc/read-md.c:1131: undefined reference to > `fopen_unlocked' > /tmp/cc3NzkDN.ltrans0.ltrans.o: In function > `_ZL20handle_toplevel_filePFviPKcE.constprop.1': > .build/gcc/../../gcc/gcc/read-md.c:1003: undefined reference to `lbasename' > .build/gcc/../../gcc/gcc/read-md.c:1007: undefined reference to `xstrndup' > /tmp/cc3NzkDN.ltrans0.ltrans.o: In function `parse_include(char const*)': > .build/gcc/../../gcc/gcc/read-md.c:1019: undefined reference to `xmalloc' > /tmp/cc3NzkDN.ltrans1.ltrans.o: In function `read_name(md_name*)': > .build/gcc/../../gcc/gcc/read-md.c:429: undefined reference to `htab_find' > .build/gcc/../../gcc/gcc/read-md.c:429: undefined reference to `htab_find' > .build/gcc/../../gcc/gcc/read-md.c:429: undefined reference to `htab_find' > .build/gcc/../../gcc/gcc/read-md.c:429: undefined reference to `htab_find' > .build/gcc/../../gcc/gcc/read-md.c:429: undefined reference to `htab_find' > > I used ubuntu 12.04 system. Anything wrong? Please try binutils 2.25 and ld.bfd.