Hello Everyone, Attached, please find a patch to fix PR 58951. The usage of -ldl is not necessary. The patch is tested in x86_64 and x86. It is committed as obvious.
Thanks, Balaji V. Iyer.
Index: Makefile.in =================================================================== --- Makefile.in (revision 204380) +++ Makefile.in (working copy) @@ -349,7 +349,7 @@ -D_Cilk_for=for -fcilkplus AM_CFLAGS = $(GENERAL_FLAGS) -std=c99 AM_CPPFLAGS = $(GENERAL_FLAGS) -AM_LDFLAGS = -lpthread -ldl +AM_LDFLAGS = -lpthread # May be used by toolexeclibdir. gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) Index: ChangeLog =================================================================== --- ChangeLog (revision 204380) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2013-11-04 Balaji V. Iyer <balaji.v.i...@intel.com> + + PR bootstrap/58951 + * Makefile.am (AM_LDFLAGS): Removed -ldl flag. + * Makefile.in: Regenerate. + 2013-11-04 Rainer Orth <r...@cebitec.uni-bielefeld.de> * runtime/os-unix.c [__sun__ && __svr4__]: Include <sched.h>. Index: Makefile.am =================================================================== --- Makefile.am (revision 204380) +++ Makefile.am (working copy) @@ -45,7 +45,7 @@ AM_CFLAGS = $(GENERAL_FLAGS) -std=c99 AM_CPPFLAGS = $(GENERAL_FLAGS) -AM_LDFLAGS = -lpthread -ldl +AM_LDFLAGS = -lpthread # May be used by toolexeclibdir. gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)