Re: Build failure in stand

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 4 Dec 2017 16:20:54 -0700
Also, can you make the full logs available? I can't recreate this with or
without DEBUG_FLAGS or CFLAGS setting in my make.conf file.

Warner

On Mon, Dec 4, 2017 at 3:59 PM, Warner Losh <imp_at_bsdimp.com> wrote:

> Please remove the DEBUG_FLAGS and try again. Trying to see if that's the
> culprit. It works for me with the default build.
>
> Warner
>
> On Mon, Dec 4, 2017 at 3:32 PM, Ryan Stone <rysto32_at_gmail.com> wrote:
>
>> I'm seeing the following build failure when doing a buildworld of head:
>>
>> In file included from
>> /repos/users/rstone/bsd-worktree/route-change/stand/ficl/
>> i386/sysdep.c:18:
>> /repos/users/rstone/bsd-worktree/route-change/stand/libsa/
>> machine/cpufunc.h:491:13:
>> error: shift count >= width of type [-Werror,-Wshift-count-overflow]
>>         high = val >> 32;
>>                    ^  ~~
>> 1 error generated.
>>
>>
>> My make.conf looks like:
>>
>> PERL_VERSION=5.14.2
>>
>> DEBUG_FLAGS=-g
>> CFLAGS+=-fno-omit-frame-pointer
>>
>> #BTX_SERIAL=yes
>> #BOOT_PXELDR_ALWAYS_SERIAL=yes
>> # src/sys/boot/i386/libi386/Makefile (loader)
>> #BOOT_COMCONSOLE_SPEED=115200
>> ## src/sys/boot/i386/libi386/comconsole.c (loader)
>> COMSPEED=115200
>> # src/sys/dev/sio/sioreg.h (kernel)
>> #CONSPEED=115200
>>
>> WITHOUT_DEBUG_FILES=yes
>>
>> and my src.conf is:
>>
>> WITH_TESTS=yes
>> WITHOUT_DEBUG_FLAGS=yes
>> WITHOUT_INFO=yes
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org
>> "
>>
>
>
Received on Mon Dec 04 2017 - 22:20:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC