Re: Build failure in stand

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 4 Dec 2017 16:27:57 -0700
Oh, and one more btw, can you cd stand; cd ` make -V .OBJDIR ` ; find .
-name machine | xargs ls -l

The only way I can see this happening is if we're doing a 32-bit build, but
pulling in the amd64 header files for some bogus reason...

Finally, what's the host OS?

Warner


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

> 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/i38
>>> 6/sysdep.c:18:
>>> /repos/users/rstone/bsd-worktree/route-change/stand/libsa/ma
>>> chine/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_f
>>> reebsd.org"
>>>
>>
>>
>
Received on Mon Dec 04 2017 - 22:27:59 UTC

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