From owner-freebsd-arm@freebsd.org Tue May 2 10:48:46 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 44885D5839E for ; Tue, 2 May 2017 10:48:46 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (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 0873A1529 for ; Tue, 2 May 2017 10:48:45 +0000 (UTC) (envelope-from otacilio.neto@bsd.com.br) Received: by mail-qk0-x22a.google.com with SMTP id q1so38549756qkd.2 for ; Tue, 02 May 2017 03:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=qiMLkxkrW6O+oqNEV7F6uAJ36FUKvSqP0013cT+zUHQ=; b=XWScE15llUdF/+lezkspZuWp+PJo+dlAbLbGchfYKCFqA/AkzViMR98NU9HI0rNhwP FQHbztdPr5QibDrGh3nd+Mq75ug4i/d8luu9J4nONCfFqwEkkQaBzlN1/JiJcB8Egwkv aYx3a1l8pIYdMMnuMm1TmYlpFuIUVNeVUa4xg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=qiMLkxkrW6O+oqNEV7F6uAJ36FUKvSqP0013cT+zUHQ=; b=sn83g5CohtnlLdJfvhkQ2zQgJ++Eq+ti21kKXyqWMzxdLqxtVExpXPg95xrcW4z5SQ sT3oUPJhwtwJy7N2CgCrUjY+MMfZqiKp/PrHwxJ2QIwlKKqc9uPIQkprf+wl0H2DaGmR CDijMyLOOg28Lg1ck6aADDiXSv4WVweoghcqt/nFAfBvgjuktQlvvjzNs3F+nq7akKcc fHZhL6NdwJJ5KZo2xArklFfgHfHyx52is+uarsCD3qaRFk4qiB2CiIqtPplUmJGVi6pv Ks0ZxF922RrM6olFjxDd4YDiVbCX1yw5eYPoTbOfSUH6X3ddP8SlayXqismipKIta5eP iQBw== X-Gm-Message-State: AN3rC/62H4Bhf96jjDjxnwJYnWiMYuVYNjuFaWkKhliK76Nq9VawEV/f mfTSD4eLVEQNa/xB X-Received: by 10.55.128.1 with SMTP id b1mr24726467qkd.226.1493722124582; Tue, 02 May 2017 03:48:44 -0700 (PDT) Received: from ?IPv6:2804:54:19ef:cc00:4a9:b9da:e5eb:169d? ([2804:54:19ef:cc00:4a9:b9da:e5eb:169d]) by smtp.googlemail.com with ESMTPSA id q40sm14791408qtq.21.2017.05.02.03.48.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 May 2017 03:48:43 -0700 (PDT) Subject: Re: lock when building llvm37 on RPI3 To: freebsd-arm@freebsd.org References: <0b4b8a6f-f008-4892-a7c1-73fab2a79030@bsd.com.br> <4085737d-af52-3f21-c593-3be249b59d46@zyxst.net> From: =?UTF-8?B?T3RhY8OtbGlv?= Message-ID: <9d7569cd-e2fd-0e6b-225f-bf800eae3e25@bsd.com.br> Date: Tue, 2 May 2017 07:48:33 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <4085737d-af52-3f21-c593-3be249b59d46@zyxst.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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: Tue, 02 May 2017 10:48:46 -0000 Em 02/05/2017 07:16, tech-lists escreveu: > On 02/05/2017 02:22, OtacĂ­lio wrote: >> To those who are using ARM64, have you compiled large software like >> llvm? I'm trying to compile llvm37 but, at first try, the system spent >> more than an hour on [42/3588] when compiling llvm37 as a dependency of >> webcamd. Then, I reset and it passed quickly from 42 and is now on >> [148/3588]. I also faced two crashes when I was trying to do this for >> ssh, but unfortunately I had no monitor connected to RPI3. I am using >> head revision 317063. > Hi, > > 1. did you install ccache first? It makes a really big difference. And > then tell /etc/make.conf to use it? > 2. have you mounted /usr/obj onto separate hardware, like a usb stick? > 3. is /tmp also offloaded similarly? > Hello 1. No, I not installed ccache previously. Thank you by your hint. 2. Yes. I'm using a external USB hard disk (Seagate, 500 GB auto powered). /usr/obj /usr/ports and /usr/src is mounted there. 3. No. I will do it also. Unhappily I was using a NODEBUG kernel and no hint about the deadlock was printed. Maybe the deadlock can be caused by the micro SD HC card used but I can not affirm. I give another try and this time I got a kernel panic at reclaim_pv_chunk http://imgur.com/XLiziq1