"/usr/src/sys/conf/kern.mk",
line 10: Malformed conditional (${FREEBSD_GCC}),
"/usr/src/sys/conf/kern.mk", line 14: if-less endif
O. Hartmann
ohartman at zedat.fu-berlin.de
Tue Oct 25 10:42:51 UTC 2011
On 10/25/11 04:48, Arnaud Lacombe wrote:
> Hi,
>
> On Mon, Oct 24, 2011 at 6:23 PM, Hartmann, O.
> <ohartman at zedat.fu-berlin.de> wrote:
>> On 10/24/11 00:38, Garrett Cooper wrote:
>>> On Oct 23, 2011, at 3:31 PM, Hartmann, O. wrote:
>>>
>>>> Kernel building fails since today when kernel gets compiled via CLANG:
>>>> --------------------------------------------------------------
>>>>>>> stage 2.1: cleaning up the object tree
>>>> --------------------------------------------------------------
>>>> cd /usr/obj/usr/src/sys/THOR; MAKEOBJDIRPREFIX=/usr/obj
>>>> MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE=native
>>>> GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
>>>> GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
>>>> GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
>>>> _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 10.0-CURRENT
>>>> amd64 1000000" INSTALL="sh /usr/src/tools/install.sh"
>>>> PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/
>>>> usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr
>>>> /sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbi
>>>> n:/bin:/usr/sbin:/usr/bin /usr/obj/usr/src/make.amd64/make
>>>> KERNEL=kernel cleandir
>>>> "/usr/src/sys/conf/kern.mk", line 10: Malformed conditional
>>>> (${FREEBSD_GCC})
>>>> "/usr/src/sys/conf/kern.mk", line 14: if-less endif
>>>> make: fatal errors encountered -- cannot continue
>>>> *** Error code 1
>>>> Stop in /usr/src.
>>>> *** Error code 1
>>>> Stop in /usr/src.
>>> It was noted not too long ago on the commit list as well; r226665 caused the breakage.
>>> -Garrett_______________________________________________
>>>
>>
>> So, this is by intention?
>> When does the problem disappear, so folks building FreeBSD with CLANG
>> are again capable of building a world and kernel?
>>
> seemed to have been "fixed" by dim@:
>
> commit 2286e401073a60babb3cc8efce52657f6fa92f7e
> Author: dim<dim at FreeBSD.org>
> Date: Mon Oct 24 18:35:16 2011 +0000
>
> Put in a temporary band-aid to fix kernel builds when CC=clang, after
> r226665.
>
>
> Thanks dim@!
>
> - Arnaud
I was yesterday too fast. After a couple of minutes after I posted, the
patch rushed in and everything ran smooth as before and expected. Thanks!
Regards,
Oliver
More information about the freebsd-current
mailing list