Bug#761277: gdc uninstallable on kfreebsd because of missing dep. libphobos-4.9-dev
On 12/09/14 21:44, Petr Salinger wrote:
> 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'
I tried to do the same, with gcc-4.9 4.9.1-13 on kfreebsd-amd64, and
seemed to get a successful build?
At least, I have a libphobos/src/libgphobos2.a output file and didn't
see any errors like that.
> 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.
Yes, that definitely should not be there. I may try another build this
weekend on a clean sid system, with that definition removed.
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: