[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761277: gdc uninstallable on kfreebsd because of missing^M^J dep. libphobos-4.9-dev



(I didn't figure out yet how to rebuild the control file, to get these
installed into a .deb, and I have no clue how to test it either.)

I believe that "fakeroot debian/rules control" before build is sufficient.

No 'undefined reference' errors in the build log.  Both regular and -m32
multilib versions of the static library are there:

I have problem with lgdruntime_t:

Executing on host: /build/manual/gcc-4.9-4.9.1/build/./gcc/xg++ -shared-libgcc -B/build/manual/gcc-4.9-4.9.1/build/./gcc -nostdinc++ -L/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libstdc++-v3/src -L/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libstdc++-v3/src/.libs -L/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libstdc++-v3/libsupc++/.libs -B/usr/x86_64-kfreebsd-gnu/bin/ -B/usr/x86_64-kfreebsd-gnu/lib/ -isystem /usr/x86_64-kfreebsd-gnu/include -isystem /usr/x86_64-kfreebsd-gnu/sys-include -isystem /build/manual/gcc-4.9-4.9.1/build/sys-include -B/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/./libstdc++-v3/src/.libs -fdiagnostics-color=never -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++ -I/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libstdc++-v3/include/x86_64-kfreebsd-gnu -I/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libstdc++-v3/include -I/build/manual/gcc-4.9-4.9.1/src/libstdc++-v3/libsupc++ -I/build/manual/gcc-4.9-4.9.1/src/libstdc++-v3/include/backward -I/build/manual/gcc-4.9-4.9.1/src/libstdc++-v3/testsuite/util -I/build/manual/gcc-4.9-4.9.1/src/libstdc++-v3/testsuite -w -c -fstack-protector -o testsuite_abi.o /build/manual/gcc-4.9-4.9.1/src/libstdc++-v3/testsuite/util/testsuite_abi.cc (timeout = 600) /build/manual/gcc-4.9-4.9.1/build/./gcc/gdc -B/build/manual/gcc-4.9-4.9.1/build/./gcc/ -B/usr/x86_64-kfreebsd-gnu/bin/ -B/usr/x86_64-kfreebsd-gnu/lib/ -isystem /usr/x86_64-kfreebsd-gnu/include -isystem /usr/x86_64-kfreebsd-gnu/sys-include -isystem /build/manual/gcc-4.9-4.9.1/build/sys-include -o unittest -g -O2 unittest.o -nophoboslib -L./ -lgdruntime_t -ldl
pid is 37537 -37537
.//libgdruntime_t.a(dmain2.t.o): In function `_d_run_main':
/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/rt/dmain2.d:419: undefined reference to `__stdoutp' /build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/rt/dmain2.d:421: undefined reference to `__stderrp'
.//libgdruntime_t.a(dmain2.t.o): In function `sink':
/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/rt/dmain2.d:512: undefined reference to `__stderrp' .//libgdruntime_t.a(memory.t.o): In function `_D2rt6memory16initStaticDataGCFZv': /build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/rt/memory.d:147: undefined reference to `_deh_end' .//libgdruntime_t.a(runtime.t.o): In function `_D4core7runtime18runModuleUnitTestsUZb19unittestSegvHandlerUiPS4core3sys5posix6signal9siginfo_tPvZv': /build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/core/runtime.d:368: undefined reference to `__stderrp' /build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/core/runtime.d:369: undefined reference to `__stderrp'
.//libgdruntime_t.a(runtime.t.o): In function `__foreachbody4':
/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/core/runtime.d:384: undefined reference to `__stderrp' .//libgdruntime_t.a(runtime.t.o): In function `_D4core7runtime18runModuleUnitTestsUZb8printErrMFxAaZv': /build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/core/runtime.d:438: undefined reference to `__stderrp' .//libgdruntime_t.a(thread.t.o): In function `_D4core6thread14getStackBottomFZPv': /build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime/../../../../src/libphobos/libdruntime/core/thread.d:2836: undefined reference to `pthread_attr_get_np'
.//libgdruntime_t.a(thread.t.o): In function `push':
/build/manual/gcc-4.9-4.9.1/src/libphobos/libdruntime/core/sys/posix/pthread.d:339: undefined reference to `__pthread_cleanup_push_imp'
.//libgdruntime_t.a(thread.t.o): In function `pop':
/build/manual/gcc-4.9-4.9.1/src/libphobos/libdruntime/core/sys/posix/pthread.d:344: undefined reference to `__pthread_cleanup_pop_imp'
collect2: error: ld returned 1 exit status
Makefile:639: recipe for target 'unittest' failed
make[6]: *** [unittest] Error 1
make[6]: Target 'check-local' not remade because of errors.
make[6]: Leaving directory '/build/manual/gcc-4.9-4.9.1/build/x86_64-kfreebsd-gnu/libphobos/libdruntime'
Makefile:466: recipe for target 'check-am' failed
make[5]: *** [check-am] Error 2
make[5]: Target 'check' not remade because of errors.

Petr


Reply to: