HEADS UP: Upgraded clang, llvm and lldb to 3.5.0

Oliver Pinter oliver.pinter at hardenedbsd.org
Fri Jan 2 00:34:12 UTC 2015


I checked in amd64 case on my desktop machine, and building fine.
After that, I looked again into build log, and I found this:

make[2]: stopped in
/usr/obj/i386.i386/jenkins/workspace/HardenedBSD_Master/sys/HARDENEDBSD
1 error

make[2]: stopped in
/usr/obj/i386.i386/jenkins/workspace/HardenedBSD_Master/sys/HARDENEDBSD
*** [buildkernel] Error code 2

Seems like, the error affected the i386 case.


On Thu, Jan 1, 2015 at 6:53 PM, Dimitry Andric <dim at freebsd.org> wrote:
> On 01 Jan 2015, at 18:35, Oliver Pinter <oliver.pinter at hardenedbsd.org> wrote:
>> We at  HardenedBSD got this error, with out jenkins instance:
>>
>> --- dis_tables.o ---
>> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25:
>> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>>        if (cpu_mode == SIZE64 && dp->it_invalid64 ||
>>            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ~~
>> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25:
>> note: place parentheses around the '&&' expression to silence this
>> warning
>>        if (cpu_mode == SIZE64 && dp->it_invalid64 ||
>>                               ^
>>            (                                     )
>> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3026:25:
>> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses]
>>            cpu_mode != SIZE64 && dp->it_invalid32)
>>            ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
>> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3026:25:
>> note: place parentheses around the '&&' expression to silence this
>> warning
>>            cpu_mode != SIZE64 && dp->it_invalid32)
>>                               ^
>>            (                                     )
>> --- all_subdir_ed ---
>
> I can't reproduce this warning here, at least not with pristine head.
>
> Did you change any of the -Wno-xxx flags in your customized source tree?
>
> -Dimitry
>


More information about the freebsd-current mailing list