From owner-freebsd-arm@freebsd.org Sat Oct 21 04:38:57 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 76620E4CCB8 for ; Sat, 21 Oct 2017 04:38:57 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF87272DB0 for ; Sat, 21 Oct 2017 04:38:56 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id k40so15086228lfi.4 for ; Fri, 20 Oct 2017 21:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4EqvQX+ooiO5q1m6+IoLjwKSzqC2frgJk5RRumtF98Y=; b=YO8S1GswfhunjhQwYdlX9z/nQLmkU4ylXdr85wVu74kUmaZ6PC5dVSY4QQ13mDbxGU ldXpZOycImTjk3jLQZRGA3wAmxJAh5szITdnt5V5J4+ae0ovqk+3sJQzayDiADYep0Qe JuK+ysllUepQhEfk7EsZv8GcHO33cE/3Vr0ppGMbtATLFDfaxxFtzV3IhPhYfJZ+eMoe YZhHJG2C3vpaZ6As6iBuMkXfZZcm0rxcXImmn4jSYxcHCivkc2Szmy0uGXX/8h4jF/42 qswIPCKpdTTYKuyQ4WbHo0TJJPNOK5KwFkV5JCv1NSxKH1H1BLiEpakpayYy9fP1Hv3e PZYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4EqvQX+ooiO5q1m6+IoLjwKSzqC2frgJk5RRumtF98Y=; b=mVsp0ffxbRUhs/hbOsSGK5FTRkfIlZPbQTibmFmBB1zxmaoefHpHotzo2Zla9qjafs qZe2Agj1EMcgAAHLmwW2tDtSynKnOJMOKXA9bEb4dr6RD+5ms1Y+RZcRU7k7m/3mdlCF X8cjUFxzqoonlxbYE7Ey4c4DyZV9B/F+mkxWqZQSZjAm5+lmNKEdmGyzp+d8JgJOC4rL AebRS3QUC/c08LUNaMAbbKxH2iGXfDUqydWZtW+oUt7BfL47Ii+F4o6Osxqad21Edynf oyuSa0tOEmAstH9hQ5G723lXc88PfobGzFXuclyYtPsr05aFG4RGoTmPC2zaHinnzbtf 3i3g== X-Gm-Message-State: AMCzsaXyCMSo4XlH0epA28qOjyVqd+e7xSt2/qN2ijZUqK7iBn+Um1RL i0zcAkCjclfIdR8Vx2CEflEfPY1OCbH+0M+7Clk= X-Google-Smtp-Source: ABhQp+SSXiJ58Wxc2gDLF8Y642ULesH4nHX3z2t6CutpGLEYETDvPExLrXFqdDlzRCPYmJIIl6MSBU7zzzR8COCrMl0= X-Received: by 10.46.21.2 with SMTP id s2mr2807656ljd.71.1508560733715; Fri, 20 Oct 2017 21:38:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.14.1 with HTTP; Fri, 20 Oct 2017 21:38:52 -0700 (PDT) In-Reply-To: <50540920-3CE1-477B-A820-5226E0D71477@brawn.org> References: <50540920-3CE1-477B-A820-5226E0D71477@brawn.org> From: Russell Haley Date: Fri, 20 Oct 2017 21:38:52 -0700 Message-ID: Subject: Re: Spot of bother compiling an ARMv8 kernel... To: Jon Brawn Cc: freebsd-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Oct 2017 04:38:57 -0000 On Fri, Oct 20, 2017 at 7:00 PM, Jon Brawn wrote: > Thanks to all that replied - buildworld before buildkernel does indeed wo= rk. > > Jon. > >> On Oct 19, 2017, at 11:25 PM, Jon Brawn 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 >> ^~~~~~~~~~ >> 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 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"