From owner-freebsd-arm@freebsd.org Mon Oct 5 09:58:54 2015 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 29E9B9B1B01 for ; Mon, 5 Oct 2015 09:58:54 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 EE271DA6 for ; Mon, 5 Oct 2015 09:58:53 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by igxx6 with SMTP id x6so53560634igx.1 for ; Mon, 05 Oct 2015 02:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WKHd9G8flzEIwsFmGQu43DG+nQ/taUGBSz4vy/V52zc=; b=pcTCfrJZ+Q5YsGCzShcB/vdOAkez+lB4OUYXuwNktT078i7ieql1lMuo044FdlwAoN 4wygqCjmhUyvvpmT6BavJl1FY99AwZX2PgyDy+7KpT6XQwPWS1XpiM45Uf+cxYO0dmcp dYegw/KVOCVq1xWUliCiWaiEkJo8G+igmpxkpgTQNN0AY77i6NljVW6SW0YdKJwjsnME G4Xd3Q8qSNr01wXm3+aYWbfw4pcZjB5Ab0nc9LB9j24LcwpPrZqVl+Ik/Ce48kcZKjq8 xIYP/7783S/rnETxauUI01cOAnOwN/jhFBehMGmNEcfU147BHLaNNJk0zk+irOCecG2p t12Q== MIME-Version: 1.0 X-Received: by 10.50.117.97 with SMTP id kd1mr7921388igb.42.1444039133131; Mon, 05 Oct 2015 02:58:53 -0700 (PDT) Received: by 10.64.239.201 with HTTP; Mon, 5 Oct 2015 02:58:53 -0700 (PDT) In-Reply-To: <5611F005.60201@kronometrix.org> References: <5611F005.60201@kronometrix.org> Date: Mon, 5 Oct 2015 11:58:53 +0200 Message-ID: Subject: Re: build kernel on RPI2 errors From: Svatopluk Kraus To: sparvu@kronometrix.org Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2015 09:58:54 -0000 On Mon, Oct 5, 2015 at 5:35 AM, Stefan Parvu wrote: > > From time to time I can see the following errors coming during > buildkernel phase. Sometimes this error happens in various places, > ffs, or pf. See here > > > ===> pf (all) > cc -O -pipe -mfloat-abi=softfp -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/RPI2/opt_global.h -I. -I/usr/src/sys -fno-common -g > -funwind-tables -I/usr/obj/usr/src/sys/RPI2 -march=armv7a -ffreestanding > -fwrapv -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -Wno-error-unused-function > -Wno-error-pointer-sign -mllvm -arm-use-movt=0 -mfpu=none > -std=iso9899:1999 -c /usr/src/sys/modules/pf/../../netpfil/pf/pf.c -o pf.o > cc: error: unable to execute command: Killed >From my observations, this line always means that memory is low and swap space should be configured. > cc: error: clang frontend command failed due to signal (use -v to see > invocation) > FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525 > Target: armv6--freebsd11.0-gnueabi > Thread model: posix > cc: note: diagnostic msg: PLEASE submit a bug report to > https://bugs.freebsd.org/submit/ and include the crash backtrace, > preprocessed source, and associated run script. > cc: note: diagnostic msg: > ******************** > > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: > Preprocessed source(s) and associated run script(s) are located at: > cc: note: diagnostic msg: /tmp/pf-616b42.c > cc: note: diagnostic msg: /tmp/pf-616b42.sh > cc: note: diagnostic msg: > > ******************** > *** Error code 254 > > Stop. > make[4]: stopped in /usr/src/sys/modules/pf > *** Error code 1 > > Stop. > make[3]: stopped in /usr/src/sys/modules > *** Error code 1 > > Stop. > make[2]: stopped in /usr/obj/usr/src/sys/RPI2 > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > > > > Anyone any ideas what is this about ? > > > > -- > Stefan Parvu > _______________________________________________ > 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"