public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/58995] Use of -ldl in libcilkrts breaks bootstrap
[not found] <bug-58995-4@http.gcc.gnu.org/bugzilla/>
@ 2013-11-05 0:32 ` sgk at troutmask dot apl.washington.edu
2013-11-05 4:23 ` kargl at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2013-11-05 0:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58995
--- Comment #1 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Tue, Nov 05, 2013 at 12:20:59AM +0000, kargl at gcc dot gnu.org wrote:
>
> bsupc++/.libs -lpthread -ldl -L/home/sgk/gcc/obj4x/./gcc
> /home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libstdc++-v3/src/.libs/libstdc++.so
> -lm -lc -lgcc_s /home/sgk/gcc/obj4x/./gcc/crtendS.o /usr/lib/crtn.o
> -Wl,-soname -Wl,libcilkrts.so.5 -o .libs/libcilkrts.so.5
> /usr/bin/ld: cannot find -ldl
> collect2: error: ld returned 1 exit status
> gmake[2]: *** [libcilkrts.la] Error 1
> gmake[2]: Leaving directory
> `/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libcilkrts'
> gmake[1]: *** [all-target-libcilkrts] Error 2
> gmake[1]: Leaving directory `/usr/home/sgk/gcc/obj4x'
> gmake: *** [all] Error 2
>
> This is caused by the hardcoded reference to libdl.
>
> troutmask:sgk[319] grep ldl libcilkrts/Makefile.am
> AM_LDFLAGS = -lpthread -ldl
> libcilkrts_la_LDFLAGS += -lpthread -ldl
>
> Please fix.
>
For the moment, hand editing x86_64-unknown-freebsd10.0/libcilkrts/Makefile
to remove the two offending -ldl allows the build to complete.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug bootstrap/58995] Use of -ldl in libcilkrts breaks bootstrap
[not found] <bug-58995-4@http.gcc.gnu.org/bugzilla/>
2013-11-05 0:32 ` [Bug bootstrap/58995] Use of -ldl in libcilkrts breaks bootstrap sgk at troutmask dot apl.washington.edu
@ 2013-11-05 4:23 ` kargl at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: kargl at gcc dot gnu.org @ 2013-11-05 4:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58995
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #2 from kargl at gcc dot gnu.org ---
duplicate
*** This bug has been marked as a duplicate of bug 58951 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-05 4:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-58995-4@http.gcc.gnu.org/bugzilla/>
2013-11-05 0:32 ` [Bug bootstrap/58995] Use of -ldl in libcilkrts breaks bootstrap sgk at troutmask dot apl.washington.edu
2013-11-05 4:23 ` kargl at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).