Am 12.09.2014 um 15:13 schrieb Thibaut Paumard:
While it's your prerogative to decrease the severity, please note that
this bug means that all the packages that build-depend on gdc (22
packages in jessie) are currently in an FTBFS-state on kfreebsd.
sure, and they still will ftbfs without libphobos.
It seems that simple drop of kfreebsd-gnu from libphobos_no_systems does not
suffice.
In the build logs are messages like
/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'
/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'
/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'
/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'
/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'
/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'
/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'
/build/manual/gcc-4.9-4.9.1/src/libphobos/libdruntime/core/sys/posix/pthread.d:339:
undefined reference to `__pthread_cleanup_push_imp'
/build/manual/gcc-4.9-4.9.1/src/libphobos/libdruntime/core/sys/posix/pthread.d:344:
undefined reference to `__pthread_cleanup_pop_imp'
The src/gcc/d/patches/patch-versym-os-4.9.x
adds into src/gcc/config/kfreebsd-gnu.h
#undef TARGET_OS_D_BUILTINS
#define TARGET_OS_D_BUILTINS() \
do { \
builtin_define ("FreeBSD"); \
builtin_define ("Posix"); \
builtin_define ("GNU_GLibc"); \
} while (0)
The " builtin_define ("FreeBSD") " is wrong.
We have FreeBSD kernel, but glibc userland.
It have to be sorted somehow.
May be it suffices to drop " builtin_define ("FreeBSD") "
and enhance some .d files to cover GNU_GLibc,
not only OSX, linux, FreeBSD, ...
It might bring sufficient basic support.
The kfreebsd porters needs help from "D expert" here.
Cheers
Petr
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org