http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58951

            Bug ID: 58951
           Summary: [4.9 regression] cilk build fails due to use of -ldl
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerald at pfeifer dot com

libtool: link:  /scratch2/tmp/gerald/OBJ-1031-1937/./gcc/xg++
-B/scratch2/tmp/gerald/OBJ-1031-1937/./gcc/ -nostdinc++ -nostdinc++
-I/scratch2/tmp/gerald/OBJ-103a1-1937/i386-unknown-freebsd10.0/libstdc++-v3/inc$
-I/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/incl$
-I/scratch2/tmp/gerald/gcc-HEAD/libstdc++-v3/libsupc++
-I/scratch2/tmp/gerald/gcc-HEAD/libstdc++-v3/include/backward
-I/scratch2/tmp/gerald/gcc-HEAD/libstdc++-v3/testsuite/util
-L/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/src
-L/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/src/$
-L/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/libs$
-B/home/gerald/gcc-ref10-i386/i386-unknown-freebsd10.0/bin/
-B/home/gerald/gcc-ref10-i386/i386-unknown-freebsd10.0/lib/ -isystem
/home/gerald/gcc-ref10-i386/i386-unknown-freebsd10.0/include -isystem
/home/gerald/gcc-ref10-i386/i386-unknown-freebsd10.0/sys-include -shared
-nostdlib /usr/lib/crti.o
/scratch2/tmp/gerald/OBJ-1031-1937/./gcc/crtbeginS.o .libs/cilk-abi-vla.o
.libs/os-unix-sysdep.o .libs/bug.o .libs/cilk-abi.o
.libs/cilk-abi-cilk-for.o .libs/cilk-abi-vla-internal.o .libs/cilk_api.o
.libs/cilk_fiber.o .libs/cilk_fiber-unix.o .libs/cilk_malloc.o
.libs/c_reducers.o .libs/except-gcc.o .libs/frame_malloc.o
.libs/full_frame.o .libs/global_state.o .libs/jmpbuf.o .libs/local_state.o
.libs/metacall_impl.o .libs/os_mutex-unix.o .libs/os-unix.o
.libs/pedigrees.o .libs/record-replay.o .libs/reducer_impl.o
.libs/scheduler.o .libs/signal_node.o .libs/spin_mutex.o .libs/stats.o
.libs/symbol_test.o .libs/sysdep-unix.o .libs/worker_mutex.o -Wl,-rpath
-Wl,/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/sr$
-Wl,-rpath -Wl,/home/gerald/gcc-ref10-i386/lib
-L/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/src/$
-L/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/src  
-L/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/libs$
-lpthread -ldl -L/scratch2/tmp/gerald/OBJ-1031-1937/./gcc
/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-freebsd10.0/libstdc++-v3/src/.l$
-lm -lc -lgcc_s /scratch2/tmp/gerald/OBJ-1031-1937/./gcc/crtendS.o
/usr/lib/crtn.o -Wl,-soname -Wl,libcilkrts.so.5 -o .libs/libcilkrts.so.5
/home/gerald/10-i386/bin/ld: cannot find -ldl
collect2: error: ld returned 1 exit status
gmake[2]: *** [libcilkrts.la] Error 1
gmake[2]: Leaving directory
`/scratch2/tmp/gerald/OBJ-1031-1937/i386-unknown-fre
ebsd10.0/libcilkrts'
gmake[1]: *** [all-target-libcilkrts] Error 2
gmake[1]: Leaving directory `/scratch2/tmp/gerald/OBJ-1031-1937'
gmake: *** [bootstrap] Error 2

Reply via email to