Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2017 16:27:57 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Ryan Stone <rysto32@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Build failure in stand
Message-ID:  <CANCZdfokZND6Y1u0Wd3C-NeAXk4eayU6MTqwaWtKCzxBKHex6Q@mail.gmail.com>
In-Reply-To: <CANCZdfp1-2AU_cRrpyByJnbTYddptPN6kisviAecXZtNBQL5rA@mail.gmail.com>
References:  <CAFMmRNwSKOB57uYwCrMotgh9cfp881maOhu57ASV9zg3hn0c-Q@mail.gmail.com> <CANCZdfoai5RCfnwCJ1vvNYPkQPTewmniEEnQuKR=FTcXEvwtBA@mail.gmail.com> <CANCZdfp1-2AU_cRrpyByJnbTYddptPN6kisviAecXZtNBQL5rA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@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@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@f
>>> reebsd.org"
>>>
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfokZND6Y1u0Wd3C-NeAXk4eayU6MTqwaWtKCzxBKHex6Q>