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 ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/54148376.3090...@pyro.eu.org