From owner-freebsd-arm@freebsd.org Wed Jan 11 16:42:24 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 00CE2CAA701 for ; Wed, 11 Jan 2017 16:42:24 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-wj0-x242.google.com (mail-wj0-x242.google.com [IPv6:2a00:1450:400c:c01::242]) (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 870451EE5 for ; Wed, 11 Jan 2017 16:42:23 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-wj0-x242.google.com with SMTP id ey1so12452826wjd.2 for ; Wed, 11 Jan 2017 08:42:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:references:to:reply-to:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=b8TgTtOBkMK3bt9J+6N0jBaEGM8XKFSBSFO2FC8h3R8=; b=Sf4tiG9avksGFS4w3HzaMVAtGi1iWmdhPTY7DQW5B6xsMAYZjMv9Gso0Hk4tyjX9/h zatgcDOMeFkiJZxNacQfU0iWRf/1GVew++V9aIi6LDpoXFLbiXKIZklTyk1S0ZHxTpRj Ufg0pFMDxNdfToYHSlh+y4GtEjPxOGtTZrg7LOocskE4w5Dna8rbMTc0vOJXy9idf8b3 jWWwOin22YY6gqpgStIyzDJrgYHzDHZb8KHFATXy1GT3oKQnD4WncWMRjMpU0acznCuM aJsypIdL+P+jywgadbBO2YCZ0kpluMNFv7bDJYwWHsJaf7BtWhxv9OkR5h3fgQZSS8ka 4a/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:references:to:reply-to:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=b8TgTtOBkMK3bt9J+6N0jBaEGM8XKFSBSFO2FC8h3R8=; b=LfNM67aEnQDucedyjisElOjEr34f2s6UHcRMpr5M+8KNuT/BSZG1bdt2y3AEI5oof5 nNyjOK7pq+ybHEeAntjjqanPR5keaeB48kf+rEkBnF2IHmId93M0Ucnb/qWgO8VIHY+7 WzaalB5rQ6k89GeSEV9UAKPfhlFhW7KwyKLEy8g2lZQ5RaiL23XEg9ttasPxLcPmfYFz 5tucRJleL/ToI7dj+Szpt063GwHkyjyHJiTT4wVfoka7U7N++8pLSgR/xRS+EpAIjSnD vxNCGVv7z4p0XA3E/sGwbQVqDTE4ihQarMx+slhv22iZvJKfPmC2rgg/P0xjVnJeKFwa hweQ== X-Gm-Message-State: AIkVDXIx2ig7NvC26jREmLXTIlPXOWSCoDBdTKyf+hZ0QIjL+OBl+jzU9rmM9894a1Lqzw== X-Received: by 10.194.82.230 with SMTP id l6mr5958559wjy.29.1484152941787; Wed, 11 Jan 2017 08:42:21 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id d85sm30685486wmd.17.2017.01.11.08.42.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jan 2017 08:42:21 -0800 (PST) From: Michal Meloun X-Google-Original-From: Michal Meloun Subject: Re: lldb on BeagleBone Black References: <3DA2368D-AE7B-4D69-A634-2861D2EFA9AE@obsigna.com> <8FDE5FCC-9BA8-4601-A32E-04FBAB5FFBEA@obsigna.com> To: "Dr. Rolf Jansen" , "freebsd-arm@freebsd.org" Reply-To: mmel@freebsd.org Message-ID: <0ee18ae6-7588-97c9-bc04-3ad83b0c33b3@freebsd.org> Date: Wed, 11 Jan 2017 17:43:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <8FDE5FCC-9BA8-4601-A32E-04FBAB5FFBEA@obsigna.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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: Wed, 11 Jan 2017 16:42:24 -0000 On 11.01.2017 14:20, Dr. Rolf Jansen wrote: >> Am 09.01.2017 um 00:59 schrieb Dr. Rolf Jansen : >> >> I am running FreeBSD 12.0-CURRENT (BEAGLEBONE) #0 r311461: Fri Jan 6 03:13:01 UTC 2017 >> >> Does any of the llvm ports build on the BBB? I am looking for a working lldb, and pre-build packages are not available, and I fear there is a certain reason why not -- perhaps build failures? >> >> Therefore, is it actually possible to obtain a working lldb (with gui option) for armv6 by building e.g. devel/llvm-devel on my BeagleBone Black? >> >> Which of the llvm-ports would be most promising? > > I tried building devel/llvm-devel having the ports tree attached on a fast USB disk. After 36 h of building it bailed out because of some obscure error in the AArch64 code generator. > > Finally, I don't think that building any LLVM port is viable on the BBB, first because building takes forever. The BBB needs 1 minute for compiling a C++ file which got only 20 lines of code. Of course this comes because the C++ experts tend for some ingenious reasons to hide all the implementations into the headers which need then to be compiled again and again. Second, it doesn't make sense at all to build LLVM for all the possible targets on a machine which I will never ever use for cross-development. > > I will now try a non-ports build of LLVM 3.91 for the armv6 target only. > > Best regards > > Rolf Latest buildable llvm is 37. Any newer fails with overflow for R_ARM_CALL relocation. Michal