[Bug jit/64089] New: libgccjit.so.0.0.1 linkage failure on darwin

howarth at bromo dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Wed Nov 26 21:20:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089

            Bug ID: 64089
           Summary: libgccjit.so.0.0.1 linkage failure on darwin
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: howarth at bromo dot med.uc.edu

Building the new jit language support in gcc trunk fails on darwin at the
linkage of libgccjit.so.0.0.1 with the error...

/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./prev-gcc/xg++
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc5.0/x86_64-apple-darwin14.1.0/bin/ -nostdinc++
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.1.0/libstdc++-v3/src/.libs
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.1.0/libstdc++-v3/libsupc++/.libs

-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.1.0/libstdc++-v3/include/x86_64-apple-darwin14.1.0

-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.1.0/libstdc++-v3/include
 -I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20141126/libstdc++-v3/libsupc++
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.1.0/libstdc++-v3/src/.libs
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.1.0/libstdc++-v3/libsupc++/.libs
  -g -O2  -gtoggle -DIN_GCC    -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common
 -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -Wl,-no_pie -o
libgccjit.so.0.0.1 -shared \
     attribs.o jit/dummy-frontend.o jit/libgccjit.o jit/jit-recording.o
jit/jit-playback.o jit/jit-builtins.o libbackend.a libcommon-target.a
libcommon.a \
     ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a -lintl -L/sw/lib -liconv 
../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a   -L/sw/lib -lisl -L/sw/lib -L/sw/lib -lmpc
-lmpfr -lgmp   -lz \
     -Wl,--version-script=../../gcc-5-20141126/gcc/jit/libgccjit.map \
     -Wl,-soname,libgccjit.so.0
ld: unknown option: --version-script=../../gcc-5-20141126/gcc/jit/libgccjit.map
collect2: error: ld returned 1 exit status
../../gcc-5-20141126/gcc/jit/Make-lang.in:78: recipe for target
'libgccjit.so.0.0.1' failed
make[3]: *** [libgccjit.so.0.0.1] Error 1
make[3]: Leaving directory
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc'
Makefile:4368: recipe for target 'all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
Makefile:20616: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
Makefile:906: recipe for target 'all' failed
make: *** [all] Error 2



More information about the Gcc-bugs mailing list