Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2017 21:38:52 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Jon Brawn <jon@brawn.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Spot of bother compiling an ARMv8 kernel...
Message-ID:  <CABx9NuQPdxPb_y5qrDrRLD1MV6UVk_2m_XwSxTWYMnDToQwPYA@mail.gmail.com>
In-Reply-To: <50540920-3CE1-477B-A820-5226E0D71477@brawn.org>
References:  <EB2BA2D9-8242-44D2-9028-B054CB378922@brawn.org> <50540920-3CE1-477B-A820-5226E0D71477@brawn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 20, 2017 at 7:00 PM, Jon Brawn <jon@brawn.org> wrote:
> Thanks to all that replied - buildworld before buildkernel does indeed wo=
rk.
>
> Jon.
>
>> On Oct 19, 2017, at 11:25 PM, Jon Brawn <jon@brawn.org> wrote:
>>
>> Wotcha!
>>
>> I=E2=80=99ve got use of a SoftIron OverDrive 1000, and I thought it was =
about time I updated it to a newer version of 12.0 CURRENT, so I dutifully =
downloaded the mini memory stick image, installed all the options that the =
installer offers, rebooted off of the hard drive, and decided that the firs=
t thing that one has to do with a new system is build a spangly new kernel.
>>
>> So:
>>
>> root@brax:/usr/src # make TARGET=3Darm64 TARGET_ARCH=3Daarch64 KERNCONF=
=3DGENERIC-NODEBUG kernel
>>
>> And off it went.
>>
>> Then, alas, it stopped:
>>
>> cc -target aarch64-unknown-freebsd12.0 --sysroot=3D/usr/obj/usr/src/tmp =
-B/usr/obj/usr/src/tmp/usr/bin -c -O3 -pipe -fno-strict-aliasing -Werror -D=
_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src=
/sys/GENERIC-NODEBUG/opt_global.h -I. -I/usr/src/sys -fno-common -g -fPIC -=
I/usr/obj/usr/src/sys/GENERIC-NODEBUG -ffixed-x18 -ffreestanding -fwrapv -f=
stack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict=
-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wund=
ef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-d=
irs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-=
compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-un=
used-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-=
error-address-of-packed-member -std=3Diso9899:1999  -Werror   -march=3Darmv=
8-a+crypto /usr/src/sys/crypto/armv8/armv8_crypto_wrap.c
>> In file included from /usr/src/sys/crypto/armv8/armv8_crypto_wrap.c:46:
>> /usr/lib/clang/5.0.0/include/arm_neon.h:31:10: fatal error: 'stdint.h' f=
ile not
>>      found
>> #include <stdint.h>
>>         ^~~~~~~~~~
>> 1 error generated.
>> *** Error code 1
>>
>> Stop.
>>
>> What is the freebsd-arm protocol for dealing with this kind of issue? Do=
 I file a bugzilla on it? Or just ask nicely on this list, and someone will=
 say, =E2=80=9CAh, yes, you need to install <mumble> and everything will be=
 alright. Must remember to put that on my to-do list!=E2=80=9D? I can work =
around it easily enough using =E2=80=9CThe Mark Of Brawn=E2=80=9D (what oth=
ers might call, less charitably, =E2=80=9Ca bodge=E2=80=9D).

I think you already knew that and just wanted to throw your cool last
name around. :P
Come again, I enjoyed your email!

Russ(a hanger-on)

>> Jon.
>> _______________________________________________
>> freebsd-arm@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"



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