From owner-freebsd-arm@freebsd.org Sun Nov 15 06:16:11 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 A4E68A2FB9B for ; Sun, 15 Nov 2015 06:16:11 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::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 5DE48136B for ; Sun, 15 Nov 2015 06:16:11 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkas68 with SMTP id s68so12915248vka.2 for ; Sat, 14 Nov 2015 22:16:10 -0800 (PST) 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=BEqf54Of8W/oGbhIA5eUfBm+mwhnLQr3FSp2cPekpso=; b=fs8Z+XTaGt18woL8kec6NxP0JX1V6s/3KnpJWE6t3JLOu6TQwyBpT8kPGo2DSzHktG B21yrl0RfuVAx5AiMHTAA5j7bN+lkjLy18/6C/TVFqk/yRQ+pAndV0ik/kE12F8ikP5v M7NvAifSXfKns7SI2MnhSyPHVwA1DFEzA6l5Cc0fnN4qq3Kw8gATux1T/J2+7Ox3I0gk CtDRZ1KVv++Li4y0yN8467BKkeEt3s1H+H1Oulak1jWmdNlPUOf6YEPFmmr35lUes8V+ N/yh8rfgJaCZxoZmVOn8aWXPPhKntF0qBzTE8h/qVWq756+3j47hLQWH9NOTdhefIqLk qkdA== MIME-Version: 1.0 X-Received: by 10.31.8.135 with SMTP id 129mr6594305vki.107.1447568170345; Sat, 14 Nov 2015 22:16:10 -0800 (PST) Received: by 10.31.47.137 with HTTP; Sat, 14 Nov 2015 22:16:10 -0800 (PST) In-Reply-To: References: Date: Sat, 14 Nov 2015 22:16:10 -0800 Message-ID: Subject: Re: Hummingboard SATA From: Russell Haley To: Warner Losh Cc: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Sun, 15 Nov 2015 06:16:11 -0000 Hi Warner, I am looking over the CAM code and it's relationship with ahci. There are also bits of information about CAM around: a chapter in the Kong book, a chapter in the developers handbook. The file ahci.c, line 660 - ahci_ch_attach() - this seems to be where the magic happens to attach the ahci driver to the CAM system. Specifically line 754 "cam_sim_alloc()". What I am not seeing is the relationship to the ata_da.c code. I noticed that my drive wasn't listed in the ata_da.c, ada_quirk_table. I don't know anything about quirks but imagine that this is an optional item? I think I am done reviewing the code for now and will move back to ddb and figure out how to examine the kernel checking for devices (read: no idea what I am doing). If anyone has any pointers on how to hook into the probe or attach methods using the debugger, or even any good scripts, I'd be grateful. Thanks, Russ On Wed, Nov 11, 2015 at 9:39 PM, Warner Losh wrote: > > > On Wed, Nov 11, 2015 at 10:22 PM, Russell Haley > wrote: > >> Hello again, >> >> I have started looking at SATA support in FreeBSD by first reading the man >> pages and then examining the code. The Joseph Kong book is helping >> considerably to understand the structures. >> >> I see that there are three drivers in play: ahci, ada and ata. Man >> indicates that ahci takes precedence in driver selection. *Is that the >> driver for Arm and the Hummingboard?* >> > > ata is out of the picture now. It never really was used on arm. > > ahci is likely the driver you want, though I'm not sure what a Hummingboard > is. A quick google search suggests it is a imx6 board. That's good news > because FreeBSD has an attachment. > > ahci is what's call a CAM SIM. This means that it will create the ata xpt > (handled > in sys/cam/ata/ata_xpt.c). The XPT then enumerates the transport and finds > the > sata drives, which wind up getting assigned the ada PERIPH driver (handled > by > sys/cam/ata/ata_da.c). > > Chances are very good you have a problem with the ahci driver and/or > how that driver is connected / sets up the iMX6 SoC sata hardware. > > >> What I can't seem to find is any direction on getting a debugger hooked up >> to driver code. Do I use gdb somehow, or do I use the kernel debugger? I'm >> going back over the Developers handbook again. >> > > I'd start with ddb. > > >> I also don't understand how to boot with the -d option. When is this >> entered? I have used the sysctl to enter the debugger and poked around >> but it doesn't mean much yet. >> >> sysctl debug.kdb.enter=1 >> > > I don't think that the -d option is implemented on arm. Most of the ARM > kernel config files have ALT_BREAK_TO_DEBUGGER defined, which means > you'll need to send ~ ^B (that's hit return, hit the tilde key, hit > control B). > That will get you to the ddb prompt (db>). man 8 ddb for instructions on > how to use it. > > Warner > From owner-freebsd-arm@freebsd.org Mon Nov 16 08:35:46 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 A7018A30267 for ; Mon, 16 Nov 2015 08:35:46 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 022F31239 for ; Mon, 16 Nov 2015 08:35:45 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc233031.norma.com [IPv6:fd00::7fa] (may be forged)) by elf.hq.norma.perm.ru (8.14.9/8.14.9) with ESMTP id tAG8ZaFY081475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 16 Nov 2015 13:35:37 +0500 (YEKT) (envelope-from emz@norma.perm.ru) Subject: Re: poudriere and java/openjdk8 References: <56474100.2050505@norma.perm.ru> To: "freebsd-arm@freebsd.org" From: "Eugene M. Zheganin" X-Enigmail-Draft-Status: N1110 Message-ID: <56499558.9020100@norma.perm.ru> Date: Mon, 16 Nov 2015 13:35:36 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (elf.hq.norma.perm.ru [IPv6:fd00::30a]); Mon, 16 Nov 2015 13:35:38 +0500 (YEKT) X-Spam-Status: No hits=-100.4 bayes=0.0000 testhits AWL=0.044,BAYES_00=-1.9, RDNS_NONE=0.793,SPF_SOFTFAIL=0.665,USER_IN_WHITELIST=-100 autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on elf.hq.norma.perm.ru 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, 16 Nov 2015 08:35:46 -0000 Hi. On 14.11.2015 19:41, Mikaƫl Urankar wrote: > Hi, > If you build java with poudriere/qemu you need to put USE_PROCFS=no in > /usr/local/etc/poudriere.conf. > You also need to lower down the memory requirement to build java with qemu [1] > If you use poudriere with native-xtools you'll need this upstream > patch [2] or the one that sbruno@ submitted [3] > > I've started to work on kodi, you can find my work in progress (and > hackish) patch at [4] > You'll need to recompile multimedia/libass without harfbuzz option > (otherwise it will deinstall misc/raspberrypi-userland) > > If you need a prebuilt package for openjdk8 -> [5] > First of all, thanks a log for your help ! I really appreciate that. Second, I cannot figure out the relationship of misc/raspberrypi-userland with other ports: it's evident that it contains some RPi-optimized libraries, and thus conflicts with generic ports. But I'm able to launch xorg using generic ones, but with raspberrypi-userland I'm missing the X binary itself and its driver for xorg (they are deinstyalled when I install raspberrypi-userland). Can you clarify this a bit ? And finally, although java/openjdk8 is now able to pass the configure phase, it fails with signal 11 after 24 hours of cross-compiling. I'm using poudriere/qemu for this. How did you manage to build it ? I was under the impression that I can build multimedia/kodi with your package, but it seems that just downloading it and putting into the poudriere package directory doesn't do the trick. Thanks. Eugene. From owner-freebsd-arm@freebsd.org Mon Nov 16 21:02:44 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 CB874A30AB2 for ; Mon, 16 Nov 2015 21:02:44 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CA411D2E for ; Mon, 16 Nov 2015 21:02:43 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc233031.norma.com [IPv6:fd00::7fa] (may be forged)) by elf.hq.norma.perm.ru (8.14.9/8.14.9) with ESMTP id tAGL2bRd025507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 17 Nov 2015 02:02:37 +0500 (YEKT) (envelope-from emz@norma.perm.ru) From: "Eugene M. Zheganin" Subject: misc/raspberrypi-userland port and xorg-server To: "freebsd-arm@freebsd.org" Message-ID: <564A446D.1020703@norma.perm.ru> Date: Tue, 17 Nov 2015 02:02:37 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (elf.hq.norma.perm.ru [IPv6:fd00::30a]); Tue, 17 Nov 2015 02:02:37 +0500 (YEKT) X-Spam-Status: No hits=-100.4 bayes=0.0000 testhits AWL=0.038,BAYES_00=-1.9, RDNS_NONE=0.793,SPF_SOFTFAIL=0.665,USER_IN_WHITELIST=-100 autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on elf.hq.norma.perm.ru 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, 16 Nov 2015 21:02:44 -0000 Hi, So, from my understanding, to use RPi B+ GPU I should use port-specific versions of libEGL.so and libGLESV2.so. Thing is, they conflict with generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, I mostly summariza this for myself and others). So I attepmted to rebuild xorg-server, and xf86-video-scfb along with some other ports (luckily, not that numerous) using simple hacks of ports Makefiles - mostly by commenting out build requirement of GL and glesv2 and hoping it will be OK with installed misc/raspberrypi-userland. Sadly, it wasn't: misc/raspberrypi-userland misses several header files, at least the following ones: vcos_platform_types.h vcos_platform.h and they seem to contain vital definitions, because with these header commented out the build crashes on syntax. So, the question is, how do you guys build and launch xorg-server using misc/raspberrypi-userland port, instead of generic one ? And I'm not happy with generic one since it's not able to use GPU properly, from my understanding. Thanks. Eugene. From owner-freebsd-arm@freebsd.org Mon Nov 16 23:11:17 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 DF50DA301DC for ; Mon, 16 Nov 2015 23:11:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::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 AEE061B3A; Mon, 16 Nov 2015 23:11:17 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioc74 with SMTP id 74so1277064ioc.2; Mon, 16 Nov 2015 15:11:17 -0800 (PST) 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=nuykjqhfNGmD2Zgoc57RBm/uOU5dpGRRBHXekLjqRV4=; b=dTECxoZNMwBCOjaWCNiKqrUqYU/HTJIlxhwgf5kK2ZbL6FbcXn6d84YePFpqRA94C0 WH5TbW+CxJ9ysHjrdC4cIbYcfqlYzTNLwES/rdPrV7xTAlZkpEmSjGFTt+u+vjSM5o9R MGTUHK5T+xYTMhUnLD2eEABxT289/f+vRJDXh0wll7NTywjeBS5qNBfH8b0Qp2S5KeGa 6oMCp2TLe1DP1os88N0wsBNmKJA9lufSGoSGxIuojaJHdakaWcwyzPuo5oRXcpvVNIZx GFRg/ATbzoWeWji5R+K8QPpCzGn9uzIwqD0kEN61w+ZGfMf+VvL9yMAN8MEgKYIwjSrD U/fA== MIME-Version: 1.0 X-Received: by 10.107.10.199 with SMTP id 68mr34095726iok.75.1447715477012; Mon, 16 Nov 2015 15:11:17 -0800 (PST) Received: by 10.36.217.196 with HTTP; Mon, 16 Nov 2015 15:11:16 -0800 (PST) In-Reply-To: <564A446D.1020703@norma.perm.ru> References: <564A446D.1020703@norma.perm.ru> Date: Mon, 16 Nov 2015 15:11:16 -0800 Message-ID: Subject: Re: misc/raspberrypi-userland port and xorg-server From: Adrian Chadd To: "Eugene M. Zheganin" , Oleksandr Tymoshenko 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, 16 Nov 2015 23:11:18 -0000 hiya, I don't think gonzo@ (who has been championing getting videocore support for rpi/rpi2 into -HEAD and now the library / application code around it) has gotten to this piece. Alex? a- On 16 November 2015 at 13:02, Eugene M. Zheganin wrote: > Hi, > > So, from my understanding, to use RPi B+ GPU I should use port-specific > versions of libEGL.so and libGLESV2.so. Thing is, they conflict with > generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, I > mostly summariza this for myself and others). So I attepmted to rebuild > xorg-server, and xf86-video-scfb along with some other ports (luckily, > not that numerous) using simple hacks of ports Makefiles - mostly by > commenting out build requirement of GL and glesv2 and hoping it will be > OK with installed misc/raspberrypi-userland. Sadly, it wasn't: > misc/raspberrypi-userland misses several header files, at least the > following ones: > > vcos_platform_types.h > vcos_platform.h > > and they seem to contain vital definitions, because with these header > commented out the build crashes on syntax. > > So, the question is, how do you guys build and launch xorg-server using > misc/raspberrypi-userland port, instead of generic one ? And I'm not > happy with generic one since it's not able to use GPU properly, from my > understanding. > > Thanks. > Eugene. > _______________________________________________ > 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" From owner-freebsd-arm@freebsd.org Tue Nov 17 02:19:00 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 498CBA30F89 for ; Tue, 17 Nov 2015 02:19:00 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 17A4D15AD for ; Tue, 17 Nov 2015 02:18:59 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from [208.184.220.60] (helo=macbook-air-3.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.85 (FreeBSD)) (envelope-from ) id 1ZyVMk-000FbZ-PA; Mon, 16 Nov 2015 17:47:32 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: misc/raspberrypi-userland port and xorg-server From: Oleksandr Tymoshenko In-Reply-To: Date: Mon, 16 Nov 2015 17:46:57 -0800 Cc: "Eugene M. Zheganin" , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> References: <564A446D.1020703@norma.perm.ru> To: Adrian Chadd X-Mailer: Apple Mail (2.3096.5) Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: > On Nov 16, 2015, at 3:11 PM, Adrian Chadd wrote: > > hiya, > > I don't think gonzo@ (who has been championing getting videocore > support for rpi/rpi2 into -HEAD and now the library / application code > around it) has gotten to this piece. > > Alex? > > a- > > > On 16 November 2015 at 13:02, Eugene M. Zheganin wrote: >> Hi, >> >> So, from my understanding, to use RPi B+ GPU I should use port-specific >> versions of libEGL.so and libGLESV2.so. Thing is, they conflict with >> generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, I >> mostly summariza this for myself and others). So I attepmted to rebuild >> xorg-server, and xf86-video-scfb along with some other ports (luckily, >> not that numerous) using simple hacks of ports Makefiles - mostly by >> commenting out build requirement of GL and glesv2 and hoping it will be >> OK with installed misc/raspberrypi-userland. Sadly, it wasn't: >> misc/raspberrypi-userland misses several header files, at least the >> following ones: >> >> vcos_platform_types.h >> vcos_platform.h >> >> and they seem to contain vital definitions, because with these header >> commented out the build crashes on syntax. >> >> So, the question is, how do you guys build and launch xorg-server using >> misc/raspberrypi-userland port, instead of generic one ? And I'm not >> happy with generic one since it's not able to use GPU properly, from my >> understanding. [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: libegl.so] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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: Tue, 17 Nov 2015 02:19:00 -0000 > On Nov 16, 2015, at 3:11 PM, Adrian Chadd = wrote: >=20 > hiya, >=20 > I don't think gonzo@ (who has been championing getting videocore > support for rpi/rpi2 into -HEAD and now the library / application code > around it) has gotten to this piece. >=20 > Alex? >=20 > a- >=20 >=20 > On 16 November 2015 at 13:02, Eugene M. Zheganin = wrote: >> Hi, >>=20 >> So, from my understanding, to use RPi B+ GPU I should use = port-specific >> versions of libEGL.so and libGLESV2.so. Thing is, they conflict with >> generic graphics/libEGL and graphics/libglesv2 (I'm sure you know it, = I >> mostly summariza this for myself and others). So I attepmted to = rebuild >> xorg-server, and xf86-video-scfb along with some other ports = (luckily, >> not that numerous) using simple hacks of ports Makefiles - mostly by >> commenting out build requirement of GL and glesv2 and hoping it will = be >> OK with installed misc/raspberrypi-userland. Sadly, it wasn't: >> misc/raspberrypi-userland misses several header files, at least the >> following ones: >>=20 >> vcos_platform_types.h >> vcos_platform.h >>=20 >> and they seem to contain vital definitions, because with these header >> commented out the build crashes on syntax. >>=20 >> So, the question is, how do you guys build and launch xorg-server = using >> misc/raspberrypi-userland port, instead of generic one ? And I'm not >> happy with generic one since it's not able to use GPU properly, from = my >> understanding. I've just checked - these files are in = /usr/local/include/interface/vcos/pthreads directory in latest raspberrypi-userland port (20151105). I have never = tried to build xorg libs/apps against this port though. Could you describe what you're doing and how build fails? =20 Thanks= From owner-freebsd-arm@freebsd.org Tue Nov 17 08:57:25 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 33A64A2EDB0 for ; Tue, 17 Nov 2015 08:57:25 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (unknown [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AD007156A; Tue, 17 Nov 2015 08:57:24 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (pc233031.norma.com [IPv6:fd00::7fa] (may be forged)) by elf.hq.norma.perm.ru (8.14.9/8.14.9) with ESMTP id tAH8vFIu056169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 17 Nov 2015 13:57:17 +0500 (YEKT) (envelope-from emz@norma.perm.ru) Subject: Re: misc/raspberrypi-userland port and xorg-server To: Oleksandr Tymoshenko , Adrian Chadd References: <564A446D.1020703@norma.perm.ru> <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> Cc: "freebsd-arm@freebsd.org" From: "Eugene M. Zheganin" X-Enigmail-Draft-Status: N1110 Message-ID: <564AEBEB.5040400@norma.perm.ru> Date: Tue, 17 Nov 2015 13:57:15 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (elf.hq.norma.perm.ru [IPv6:fd00::30a]); Tue, 17 Nov 2015 13:57:17 +0500 (YEKT) X-Spam-Status: No hits=-100.4 bayes=0.0000 testhits AWL=0.038,BAYES_00=-1.9, RDNS_NONE=0.793,SPF_SOFTFAIL=0.665,USER_IN_WHITELIST=-100 autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on elf.hq.norma.perm.ru 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: Tue, 17 Nov 2015 08:57:25 -0000 Hi, On 17.11.2015 06:46, Oleksandr Tymoshenko wrote: > I've just checked - these files are in /usr/local/include/interface/vcos/pthreads > directory in latest raspberrypi-userland port (20151105). I have never tried > to build xorg libs/apps against this port though. Could you describe > what you're doing and how build fails? > I decided to try to build the x11-server/xorg-server port and it's dependencies (like graphics/libexpoxy) against misc/raspberrypi-userland libraries. >From your questions though I understand I'm doing something wicked. Are you saying there's more support to Raspberry Pi in 11-CURRENT and I should use it, not the 10.2-STABLE ? All I need is the ability to play video on a Raspberry Pi, thus I need a support for GPU. Still I don't understand how can I get it if the ports tree is linking against general ports versions of graphics/libEGL and graphics/libglesv2, not the misc/raspberrypi-userland libraries. Could you please clarify this for me ? I'm hoping to use the still not commited multimedia/omxplayer or multimedia/kodi with the patch that Mikael Urankar gave me. As about my tries to build the xorg stack against misc/raspberry-pi libraries, I'm getting this on modified (I commented out the EGL and gl requirements) ports tree: # make ===> Building for libepoxy-1.2 /usr/bin/make all-recursive Making all in include/epoxy Making all in src /usr/bin/make all-am CC dispatch_common.lo In file included from dispatch_common.c:103: In file included from ./dispatch_common.h:48: In file included from ../include/epoxy/egl.h:46: In file included from ../include/epoxy/egl_generated.h:10: In file included from /usr/local/include/EGL/eglplatform.h:110: In file included from /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: In file included from /usr/local/include/interface/vcos/vcos.h:114: In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: 'vcos_platform_types.h' file not found #include "vcos_platform_types.h" ^ 1 error generated. CC dispatch_egl.lo In file included from dispatch_egl.c:28: In file included from ./dispatch_common.h:48: In file included from ../include/epoxy/egl.h:46: In file included from ../include/epoxy/egl_generated.h:10: In file included from /usr/local/include/EGL/eglplatform.h:110: In file included from /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: In file included from /usr/local/include/interface/vcos/vcos.h:114: In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: 'vcos_platform_types.h' file not found #include "vcos_platform_types.h" ^ 1 error generated. CC dispatch_glx.lo In file included from dispatch_glx.c:28: In file included from ./dispatch_common.h:48: In file included from ../include/epoxy/egl.h:46: In file included from ../include/epoxy/egl_generated.h:10: In file included from /usr/local/include/EGL/eglplatform.h:110: In file included from /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: In file included from /usr/local/include/interface/vcos/vcos.h:114: In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: 'vcos_platform_types.h' file not found #include "vcos_platform_types.h" ^ 1 error generated. CC gl_generated_dispatch.lo In file included from gl_generated_dispatch.c:31: In file included from ./dispatch_common.h:48: In file included from ../include/epoxy/egl.h:46: In file included from ../include/epoxy/egl_generated.h:10: In file included from /usr/local/include/EGL/eglplatform.h:110: In file included from /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: In file included from /usr/local/include/interface/vcos/vcos.h:114: In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: 'vcos_platform_types.h' file not found #include "vcos_platform_types.h" ^ 1 error generated. CC egl_generated_dispatch.lo In file included from egl_generated_dispatch.c:9: In file included from ./dispatch_common.h:48: In file included from ../include/epoxy/egl.h:46: In file included from ../include/epoxy/egl_generated.h:10: In file included from /usr/local/include/EGL/eglplatform.h:110: In file included from /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: In file included from /usr/local/include/interface/vcos/vcos.h:114: In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: 'vcos_platform_types.h' file not found #include "vcos_platform_types.h" ^ 1 error generated. CC glx_generated_dispatch.lo In file included from glx_generated_dispatch.c:9: In file included from ./dispatch_common.h:48: In file included from ../include/epoxy/egl.h:46: In file included from ../include/epoxy/egl_generated.h:10: In file included from /usr/local/include/EGL/eglplatform.h:110: In file included from /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: In file included from /usr/local/include/interface/vcos/vcos.h:114: In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: 'vcos_platform_types.h' file not found #include "vcos_platform_types.h" ^ 1 error generated. CCLD libepoxy.la libtool: error: 'dispatch_common.lo' is not a valid libtool object *** [libepoxy.la] Error code 1 make[4]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src 1 error make[4]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src *** [all] Error code 2 make[3]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src 1 error make[3]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2/src *** [all-recursive] Error code 1 make[2]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2 1 error make[2]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2 *** [all] Error code 2 make[1]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2 1 error make[1]: stopped in /usr/ports/graphics/libepoxy/work/libepoxy-1.2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libepoxy # Thanks. Eugene. From owner-freebsd-arm@freebsd.org Tue Nov 17 09:08:26 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 44EB2A3030A for ; Tue, 17 Nov 2015 09:08:26 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x235.google.com (mail-yk0-x235.google.com [IPv6:2607:f8b0:4002:c07::235]) (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 072451CB2 for ; Tue, 17 Nov 2015 09:08:26 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdv3 with SMTP id v3so2469763ykd.0 for ; Tue, 17 Nov 2015 01:08:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=yOzqN1WiE7rmO8UtiSjA1LmvOR4LLNbj2VZVStDLTaI=; b=BMyk9g+h+5WWverpKcxDAHJR5mCH5SBSZ5KRm24tuGq7zIGjGUBOevUvXb95i4WXp7 1/dtmOAR+y/SwVkyJdJBuG8e3ypVImo5eodqF960cjM2A8PJKjk/zf5x8jxQHiCz8Ilb Wzy/eEVALYrJrP7iJaKYgv5MSlE/Sylyej6orW5NbW7Cej/SZA1+cMQtVhPZzWTwMU1w 7kqyyGTyTXyLzYhVEGYvEYXxbCmYrUNV7wA0L3XPZF9qLbJeHFsA0tBzrHCmMtgVLnBy WNtwrXR3vMoJfoxQl5nYQjrQK3Jv2jHsf0lxZiTdfUlLfRfujCauHE7cp2S9hIC6fxG6 hkXQ== X-Received: by 10.129.55.197 with SMTP id e188mr20467133ywa.332.1447751305311; Tue, 17 Nov 2015 01:08:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.217.17 with HTTP; Tue, 17 Nov 2015 01:07:45 -0800 (PST) In-Reply-To: <56499558.9020100@norma.perm.ru> References: <56474100.2050505@norma.perm.ru> <56499558.9020100@norma.perm.ru> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Tue, 17 Nov 2015 10:07:45 +0100 Message-ID: Subject: Re: poudriere and java/openjdk8 To: "Eugene M. Zheganin" Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Tue, 17 Nov 2015 09:08:26 -0000 2015-11-16 9:35 GMT+01:00 Eugene M. Zheganin : > Hi. > > On 14.11.2015 19:41, Mika=C3=ABl Urankar wrote: >> Hi, >> If you build java with poudriere/qemu you need to put USE_PROCFS=3Dno in >> /usr/local/etc/poudriere.conf. >> You also need to lower down the memory requirement to build java with qe= mu [1] >> If you use poudriere with native-xtools you'll need this upstream >> patch [2] or the one that sbruno@ submitted [3] >> >> I've started to work on kodi, you can find my work in progress (and >> hackish) patch at [4] >> You'll need to recompile multimedia/libass without harfbuzz option >> (otherwise it will deinstall misc/raspberrypi-userland) >> >> If you need a prebuilt package for openjdk8 -> [5] >> > First of all, thanks a log for your help ! I really appreciate that. > Second, I cannot figure out the relationship of > misc/raspberrypi-userland with other ports: it's evident that it > contains some RPi-optimized libraries, and thus conflicts with generic > ports. But I'm able to launch xorg using generic ones, but with > raspberrypi-userland I'm missing the X binary itself and its driver for > xorg (they are deinstyalled when I install raspberrypi-userland). Can > you clarify this a bit ? > And finally, although java/openjdk8 is now able to pass the configure > phase, it fails with signal 11 after 24 hours of cross-compiling. I'm > using poudriere/qemu for this. How did you manage to build it ? I was > under the impression that I can build multimedia/kodi with your package, > but it seems that just downloading it and putting into the poudriere > package directory doesn't do the trick. Can you share the log file for java? I forgot that openjdk8 binary crashes qemu and the post-build target uses a openjdk8 binary... You will need this patch: http://mikael.urankar.free.fr/FreeBSD/arm/patches/java_openjdk8_qemu_2.patc= h From owner-freebsd-arm@freebsd.org Tue Nov 17 10:00:10 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 CF346A2F0F8 for ; Tue, 17 Nov 2015 10:00:10 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yk0-x231.google.com (mail-yk0-x231.google.com [IPv6:2607:f8b0:4002:c07::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 90D2A14AC; Tue, 17 Nov 2015 10:00:10 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by ykdr82 with SMTP id r82so3469535ykd.3; Tue, 17 Nov 2015 02:00:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FNqP56R9zxw6JV/hyuPfXBtsAU5zQyq7I25+fJLkrpg=; b=S6qE7Yok38Rjw2t7+A8/3Pvkhu7diLe6g62ut1vBy36MH07Dxj6XbqIFcBWYV1fDtv WwbuxAgdYuW6kNyPaHpQ67xiDrefMTsdItQQBPu1DdluqMJvyst2K8oZ4O98CkRJoS7S sF2cW8fruaLFyBZGf9QmCnQ/x3m38au0YfV5C/WJHSOPcDC/fJAJFuDTmWkanozfrRJp GoE0AiQ2sxei89SnHZFLJyVS3Bs+qhTRcCy3ijMgUrUhrHUsJjM1ORe/HkbXhAmw3p4+ ELM7iHJW4QEpUCJDwBxSDx2+bX9bxm92n5e5Hrh3pf9/XWviniY6rJ2mQ7oPHK3+Cp1/ OhHw== X-Received: by 10.13.221.208 with SMTP id g199mr44390188ywe.225.1447754409612; Tue, 17 Nov 2015 02:00:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.217.17 with HTTP; Tue, 17 Nov 2015 01:59:30 -0800 (PST) In-Reply-To: <564AEBEB.5040400@norma.perm.ru> References: <564A446D.1020703@norma.perm.ru> <2E64C6DD-6F86-48C1-9ABF-0E55B03E2955@freebsd.org> <564AEBEB.5040400@norma.perm.ru> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Tue, 17 Nov 2015 10:59:30 +0100 Message-ID: Subject: Re: misc/raspberrypi-userland port and xorg-server To: "Eugene M. Zheganin" Cc: Oleksandr Tymoshenko , Adrian Chadd , "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: Tue, 17 Nov 2015 10:00:11 -0000 2015-11-17 9:57 GMT+01:00 Eugene M. Zheganin : > I decided to try to build the x11-server/xorg-server port and it's > dependencies (like graphics/libexpoxy) against misc/raspberrypi-userland > libraries. > From your questions though I understand I'm doing something wicked. Are > you saying there's more support to Raspberry Pi in 11-CURRENT and I > should use it, not the 10.2-STABLE ? All I need is the ability to play > video on a Raspberry Pi, thus I need a support for GPU. Still I don't > understand how can I get it if the ports tree is linking against general > ports versions of graphics/libEGL and graphics/libglesv2, not the > misc/raspberrypi-userland libraries. Could you please clarify this for > me ? I'm hoping to use the still not commited multimedia/omxplayer or > multimedia/kodi with the patch that Mikael Urankar gave me. > > As about my tries to build the xorg stack against misc/raspberry-pi > libraries, I'm getting this on modified (I commented out the EGL and gl > requirements) ports tree: > > # make > ===> Building for libepoxy-1.2 > /usr/bin/make all-recursive > Making all in include/epoxy > Making all in src > /usr/bin/make all-am > CC dispatch_common.lo > In file included from dispatch_common.c:103: > In file included from ./dispatch_common.h:48: > In file included from ../include/epoxy/egl.h:46: > In file included from ../include/epoxy/egl_generated.h:10: > In file included from /usr/local/include/EGL/eglplatform.h:110: > In file included from > /usr/local/include/interface/vmcs_host/vc_dispmanx.h:33: > In file included from /usr/local/include/interface/vcos/vcos.h:114: > In file included from /usr/local/include/interface/vcos/vcos_assert.h:149: > /usr/local/include/interface/vcos/vcos_types.h:38:10: fatal error: > 'vcos_platform_types.h' file not found > #include "vcos_platform_types.h" You can put this line in the Makefile: CFLAGS+=-I/usr/local/include/interface/vcos/pthreads/ -I/usr/local/include/interface/vcos -I/usr/local/include/interface/ -I/usr/local/include/interface/vmcs_host/linux From owner-freebsd-arm@freebsd.org Tue Nov 17 19:11:38 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 D9259A31BFA for ; Tue, 17 Nov 2015 19:11:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4BE31BE4 for ; Tue, 17 Nov 2015 19:11:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tAHJBcrw019857 for ; Tue, 17 Nov 2015 19:11:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 204636] make buildworld failed on Raspberry Pi 2 - "instruction requires: armv6t2" Date: Tue, 17 Nov 2015 19:11:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: aikchar@codeghar.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 17 Nov 2015 19:11:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204636 Bug ID: 204636 Summary: make buildworld failed on Raspberry Pi 2 - "instruction requires: armv6t2" Product: Base System Version: 11.0-CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: aikchar@codeghar.com On revision 290996, `make buildworld` failed with the following output. crt1.s:66:2: error: instruction requires: armv6t2 movw r0, :lower16:environ ^ crt1.s:69:2: error: instruction requires: armv6t2 movt r0, :upper16:environ ^ crt1.s:80:2: error: instruction requires: armv6t2 movw r1, :lower16:__progname ^ crt1.s:81:2: error: instruction requires: armv6t2 movt r1, :upper16:__progname ^ crt1.s:106:2: error: instruction requires: armv6t2 movw r4, :lower16:_DYNAMIC ^ crt1.s:107:2: error: instruction requires: armv6t2 movwne r0, :lower16:__ps_strings ^ crt1.s:108:2: error: instruction requires: armv6t2 movt r4, :upper16:_DYNAMIC ^ crt1.s:109:2: error: instruction requires: armv6t2 movtne r0, :upper16:__ps_strings ^ crt1.s:123:2: error: instruction requires: armv6t2 movw r0, :lower16:finalizer ^ crt1.s:124:2: error: instruction requires: armv6t2 movt r0, :upper16:finalizer ^ crt1.s:126:2: error: instruction requires: armv6t2 movw r9, :lower16:__preinit_array_start ^ crt1.s:127:2: error: instruction requires: armv6t2 movw r0, :lower16:__preinit_array_end ^ crt1.s:129:2: error: instruction requires: armv6t2 movt r9, :upper16:__preinit_array_start ^ crt1.s:130:2: error: instruction requires: armv6t2 movt r0, :upper16:__preinit_array_end ^ crt1.s:153:2: error: instruction requires: armv6t2 movw r7, :lower16:__init_array_start ^ crt1.s:154:2: error: instruction requires: armv6t2 movw r0, :lower16:__init_array_end ^ crt1.s:155:2: error: instruction requires: armv6t2 movt r7, :upper16:__init_array_start ^ crt1.s:156:2: error: instruction requires: armv6t2 movt r0, :upper16:__init_array_end ^ crt1.s:200:2: error: instruction requires: armv6t2 movw r4, :lower16:__fini_array_start ^ crt1.s:201:2: error: instruction requires: armv6t2 movw r0, :lower16:__fini_array_end ^ crt1.s:202:2: error: instruction requires: armv6t2 movt r4, :upper16:__fini_array_start ^ crt1.s:203:2: error: instruction requires: armv6t2 movt r0, :upper16:__fini_array_end ^ *** Error code 1 Stop. make[5]: stopped in /usr/src/lib/csu/arm *** Error code 1 Stop. make[4]: stopped in /usr/src/lib/csu *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src This may be related to LLVM bug https://llvm.org/bugs/show_bug.cgi?id=12926 # which -a clang /usr/bin/clang # clang --version FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525 Target: armv6--freebsd11.0-gnueabi Thread model: posix -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-arm@freebsd.org Tue Nov 17 22:00:19 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 39CA0A315CB for ; Tue, 17 Nov 2015 22:00:19 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-yk0-x236.google.com (mail-yk0-x236.google.com [IPv6:2607:f8b0:4002:c07::236]) (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 EA1F91F97 for ; Tue, 17 Nov 2015 22:00:18 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by ykba77 with SMTP id a77so31666215ykb.2 for ; Tue, 17 Nov 2015 14:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kTYflo9vRz5wPXjoFaAjhYt94VzOczGMFAMhS6Y8luc=; b=Ba3EsPwT+8Ir/5MdU8jXxdRWJLu58faPDgZfi/k5UATpW08aSjR1I/oySp86mhmQo4 mM9xYUkbYd0qF27kHMj00wMX5W00CSMDC1GGoHLh1AyQY7NH/kkd7UY93Y0e1SnWDnIu eUZn3ySn1Ks4A1p4e/zA6T1qyCAfm1ctUV4atMK6zxtfDxAG+tldWsOMpuZSS7kCNSHN QBb8lhu41f2n+rZfqn0pvUrmC2acgUB5lJAaQluf3rTvoU8tR/ZiPa/pc7jAgv/jk1dt QiKhpyzPOOBeQjqeoVsDu4FjUvLePUqosIPEO2ALyB250yRVXMzzG/mPONG/QEQCo/Io VPew== MIME-Version: 1.0 X-Received: by 10.13.237.198 with SMTP id w189mr47822130ywe.211.1447797618092; Tue, 17 Nov 2015 14:00:18 -0800 (PST) Received: by 10.31.47.137 with HTTP; Tue, 17 Nov 2015 14:00:18 -0800 (PST) Date: Tue, 17 Nov 2015 14:00:18 -0800 Message-ID: Subject: RocksDB Build failing on ARMv6Head From: Russell Haley To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Tue, 17 Nov 2015 22:00:19 -0000 Hey Guys, Currently the port for RocksDB 4 is failing to build for Armv6: http://portsmon.freebsd.org/portoverview.py?category=databases&portname=rocksdb I get a different build error but that is un-important (and not suprising!). I contacted sunpoet@ five days ago but have not had any response as of yet. I looked up sunpoet and he was deemed the "portmgr lurker" back in Dec 2014 ( https://forums.freebsd.org/threads/getting-to-know-your-portmgr-lurker-sunpoet.49306/ ) so I question if he is even still a valid contact for this port? Any input would be helpful. Thanks, Russ From owner-freebsd-arm@freebsd.org Wed Nov 18 01:14:13 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 6BFE5A32FF6 for ; Wed, 18 Nov 2015 01:14:13 +0000 (UTC) (envelope-from serge0x76@gmail.com) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (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 2E010144F for ; Wed, 18 Nov 2015 01:14:13 +0000 (UTC) (envelope-from serge0x76@gmail.com) Received: by qgea14 with SMTP id a14so18465436qge.0 for ; Tue, 17 Nov 2015 17:14:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3c8RHE6+VsyVczDbWPeMvMFF8QmAypDHf6nmnlY6JLY=; b=LOV1Ms9RVUdD813E9SDHWlw45JXlPX760oYTG8MrTOQtGEtCDCNfsvGt2jYx7YQ23S ioGRJRf55ozW1YvAEGWepq45OV+0xBIT3aBVKWUTRPtXljlmastgB/jg9QOjP0Y6+mnk LDza3Q4gZnL4zexBg9/AjdByuIxr7D/l3qk057QCOd+o+cqImd7ogY7q/3wndwlH/GKk wV1fwOrJRrlVqDdozAJaltzTYFOkuSZdAN4yHk1NEihsbhFxD66nhLjBVQqLb8qjadMz gfq0HXo4iO+Lb4zuAEV5FO4CrcZFkpkTIg6HbuNbXbP+Zu/fkACNxyBGFPlslGm58S/0 5GHg== MIME-Version: 1.0 X-Received: by 10.140.181.135 with SMTP id c129mr29018374qha.4.1447809252369; Tue, 17 Nov 2015 17:14:12 -0800 (PST) Received: by 10.55.179.2 with HTTP; Tue, 17 Nov 2015 17:14:12 -0800 (PST) Date: Tue, 17 Nov 2015 20:14:12 -0500 Message-ID: Subject: Re: Raspberry Pi Camera? From: Serge Voilokov To: 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: Wed, 18 Nov 2015 01:14:13 -0000 Hello, Motion, a software motion detector (http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome) is working with Raspberry PI (A) camera module. Port: https://github.com/serge-v/motion/tree/rpi-freebsd Some features are disabled in this port like mysql, pq, mmpeg buf jpeg capture works. Dependencies: https://github.com/gonzoua/userland/tree/freebsd Regards, --serge On Fri, Nov 13, 2015 at 9:05 AM, Serge Voilokov wrote: > I was able to use raspistill to take pictures on RPI-A and r290273.img. > > However after installing the image > I was needed to copy additional firmware (start_x.elf and fixup_x.dat) manually > to /boot/msdos since it is absent on the image. > > So this set works: > > instructions: > https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi%20Camera > > image: > ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-arm-armv6-RPI-B-20151102-r290273.img.xz > > firmware: > https://github.com/raspberrypi/firmware/tree/193f600ff3df626a25887134daf8b5841cbfe0e5 > > userland (freebsd branch): > https://github.com/gonzoua/userland/tree/fcbf8a3e028e830174ed1cbedf956464a8d26a68 From owner-freebsd-arm@freebsd.org Wed Nov 18 02:51:03 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 5D59DA305CE for ; Wed, 18 Nov 2015 02:51:03 +0000 (UTC) (envelope-from john@thehowies.com) Received: from remote.thehowies.com (50-197-91-217-static.hfc.comcastbusiness.net [50.197.91.217]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "remote.thehowies.com", Issuer "RapidSSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35A221D7C for ; Wed, 18 Nov 2015 02:51:02 +0000 (UTC) (envelope-from john@thehowies.com) Received: from PRIMARY.thehowies.local ([fe80::497b:de8e:1045:4c2a]) by PRIMARY.thehowies.local ([fe80::497b:de8e:1045:4c2a%24]) with mapi id 14.03.0266.001; Tue, 17 Nov 2015 18:49:53 -0800 From: John Howie To: "freebsd-arm@freebsd.org" Subject: PiFace Real Time Clock utility available Thread-Topic: PiFace Real Time Clock utility available Thread-Index: AQHRIavMgPqRJVqSuUeQpspl5D3GSQ== Date: Wed, 18 Nov 2015 02:49:51 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/0.0.0.151105 x-originating-ip: [69.123.71.15] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Wed, 18 Nov 2015 02:51:03 -0000 SGkgZXZlcnlvbmUsDQoNCkkganVzdCByZWxlYXNlZCBvbiBHaXRIdWIgc291cmNlIGZvciBhIHV0 aWxpdHkgdGhhdCBtYW5pcHVsYXRlcyB0aGUgUGlGYWNlIFJlYWwgVGltZSBDbG9jaywgYXZhaWxh YmxlIGZvciB0aGUgUmFzcGJlcnJ5IFBpLiBJIGhhdmUgdGVzdGVkIGl0IG9uIEZyZWVCU0QgMTEu MC1DVVJSRU5ULCBydW5uaW5nIG9uIGEgUmFzcGJlcnJ5IFBpIE1vZGVsIEIgMi4gSXQgc2hvdWxk IHdvcmsgb24gYSBSYXNwYmVycnkgUGkgQiAob3JpZ2luYWwpLCBhbmQgaXQgbWlnaHQgZXZlbiB3 b3JrIG9uIDEwLjItUkVMRUFTRSAoaXQgcmVxdWlyZXMgSTJDIGJ1cyBzdXBwb3J0KS4NCg0KSSB3 aWxsIGJlIGRvaW5nIHNvbWUgbW9yZSB0ZXN0aW5nIGFuZCByZWZpbmluZyBpdCBpbiB0aGUgY29t aW5nIGRheXMsIGJ1dCBJIGludml0ZSBhbnlvbmUgd2hvIHdhbnRzIHRvIHBsYXkgYXJvdW5kIHdp dGggaXQgdG8gZG8gc28uIFRoZSByZXBvc2l0b3J5IGlzIGh0dHBzOi8vZ2l0aHViLmNvbS9qaG93 aWUvRnJlZUJTRFBpRmFjZVJUQy4NCg0KRXZlbiBpZiB5b3UgZG8gbm90IGhhdmUgYSBQaUZhY2Ug UlRDIHlvdSBtaWdodCB3YW50IHRvIHB1bGwgdGhlIGNvZGUsIGFuZCBpbiBwYXJ0aWN1bGFyIHRo ZSBJMkNSb3V0aW5lcy5bY2hdIGZpbGVzLCBhcyB0aGV5IGNvbnRhaW4gYSBzaW1wbGlmaWVkIG1l YW5zIG9mIGludGVyYWN0aW5nIHdpdGggSTJDIGRldmljZXMuIFRoZSBjb2RlIGN1cnJlbnRseSBz dXBwb3J0cyBkZXZpY2VzIHdpdGggb25seSAyNTYgYnl0ZXMgb2YgYWRkcmVzc2FibGUgbWVtb3J5 LiBJIHdpbGwgY29ycmVjdCB0aGF0IGluIGEgZnV0dXJlIHJlbGVhc2UuDQoNCkkgd2lsbCBhbHNv IGJlIGRldmVsb3BpbmcgYSBSZWFsIFRpbWUgQ2xvY2sgRGV2aWNlIERyaXZlciBmb3IgRnJlZUJT RC4gSSB3aWxsIHJlbGVhc2UgdGhhdCBsYXRlciB0aGlzIHllYXIuDQoNClJlZ2FyZHMsDQoNCkpv aG4NCg0K From owner-freebsd-arm@freebsd.org Wed Nov 18 03:13:44 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 F2AB1A30E88 for ; Wed, 18 Nov 2015 03:13:44 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C77D91FD8 for ; Wed, 18 Nov 2015 03:13:44 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from zeppelin.tachypleus.net (75-101-50-44.static.sonic.net [75.101.50.44]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id tAI3DZF4029008 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Tue, 17 Nov 2015 19:13:36 -0800 To: freebsd-arm@freebsd.org From: Nathan Whitehorn Subject: Patch for testing for ELF ARM image activator Message-ID: <564BECDF.2020504@freebsd.org> Date: Tue, 17 Nov 2015 19:13:35 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVaeMVUr/NUMlxbhARry8/g7lF3FmG9I8zM1BZxxqU0NXa1jYd3B6t6/iA/0rIXvYgj9xqPsFDYmGwE3fvZJ8ZfTSh+jbewasyA= X-Sonic-ID: C;ntIwW6KN5RGphr0U9jFv0A== M;LGubW6KN5RGphr0U9jFv0A== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd 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: Wed, 18 Nov 2015 03:13:45 -0000 Could someone please give the patch at http://people.freebsd.org/~nwhitehorn/imgact_header_supported.diff a shot for me? It fixes a bug in the way the header_supported() routine for the ARM ELF brand is called. The patch should be a no-op. -Nathan From owner-freebsd-arm@freebsd.org Wed Nov 18 05:08:50 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 D3965A3134B for ; Wed, 18 Nov 2015 05:08:50 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id BCE1E151E; Wed, 18 Nov 2015 05:08:50 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id B9520BFD; Wed, 18 Nov 2015 05:08:50 +0000 (UTC) Date: Wed, 18 Nov 2015 05:08:43 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: jhibbits@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1569437910.53.1447823330595.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1033713592.51.1447815354580.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1033713592.51.1447815354580.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1703 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2015 05:08:50 -0000 FreeBSD_HEAD_arm64 - Build #1703 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1703/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1703/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1703/console Change summaries: 291009 by jhibbits: Physical addresses for e500mc/e5500 are 36-bits, e6500 is 40-bits. Increase BUS_SPACE_MAXADDR to allow for this. Sponsored by: Alex Perez/Inertial Computing From owner-freebsd-arm@freebsd.org Wed Nov 18 15:00:52 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 3A5D5A31914 for ; Wed, 18 Nov 2015 15:00:52 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC6B13BB for ; Wed, 18 Nov 2015 15:00:52 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: by mailman.ysv.freebsd.org (Postfix) id 1BA56A31913; Wed, 18 Nov 2015 15:00:52 +0000 (UTC) Delivered-To: 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 1B3A7A31912 for ; Wed, 18 Nov 2015 15:00:52 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D1BCF13B9 for ; Wed, 18 Nov 2015 15:00:51 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 56B6E6DF91B for ; Wed, 18 Nov 2015 16:00:48 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id tAIF0lHM084329 for ; Wed, 18 Nov 2015 16:00:47 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id tAIF0lg6084213 for arm@freebsd.org; Wed, 18 Nov 2015 16:00:47 +0100 (CET) (envelope-from lars) Date: Wed, 18 Nov 2015 16:00:47 +0100 From: Lars Engels To: arm@freebsd.org Subject: Graphics support for Banana Pi Message-ID: <20151118150047.GC27296@e-new.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6bKodGeYF53agbop" Content-Disposition: inline X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) 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: Wed, 18 Nov 2015 15:00:52 -0000 --6bKodGeYF53agbop Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Is anyone working on graphics support for the Banana Pi? When the BPi is connected via HDMI it only show some red stripes on the display. --6bKodGeYF53agbop Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWTJKfXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t1XgIAMgphTFbKaPbYh563Q6wuzue 5gTgW9KV9LhQTY2XM6G8V+82JKu0KHs3sB82cdHWej+Q5irJwNd+apnUtjcSDSaO IxW3PkZSp5Gc1cuoNk3A+2mJJ6r4K4aimRq6gd+ZlGT/GG1kmyZC/fVsNCWSdqmg HtcRdmPphKKMX3j7lYxw2kXejeE+1WWtIanW4qRAj40KPUJ0/faAU55qDVlZSbQS AO/5dcxy/g2dakA348TqltHAKQ5B3YSExyY5A4T5XXDONCSdlYDvPkNa8hK2/i2F PkMh+mTCb1JzqFUILVzQ6x4ln1XSXPn3qP5IkhOzOUaorOGYWgaKMUSdah7Sg58= =bzz+ -----END PGP SIGNATURE----- --6bKodGeYF53agbop-- From owner-freebsd-arm@freebsd.org Wed Nov 18 22:50:13 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 4F5DAA32443 for ; Wed, 18 Nov 2015 22:50:13 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (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 1C5711AE9 for ; Wed, 18 Nov 2015 22:50:12 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: by pacdm15 with SMTP id dm15so58607456pac.3 for ; Wed, 18 Nov 2015 14:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=6uHxrZrauHu7OM91xS3O/68vfS6KE1jWZ3O4sGd3vTI=; b=YYvO14tpjCueujW9ghT6a8rWz4AD1llB61TDEC5lET4xLveCppYuGZKrFPbX4S44Yw Fj9yB8WebhBrXY3hBI19CLE0AngH0sqgm6y3a486gYmP2VyUF8Wrxgbz00mrfdeaTEhA h9dHf877cL+0iNvFurASuITD59hBo0gNs+Nby86OwdIQlQdAfU6PIonrejQCxMoO1MhK th+wf1rPDAPhJ2DfqAdZZVV7cDOAGzEMx/RrHoE0Otcz9NU4qA1234WWHIzNAZTz2a+F GplYi2Zq5up6R2kc6Eh7xFxEScizcaV5KwibWz329TiA+mLvj4prr00qNfVPro8cDuMj 4eCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=6uHxrZrauHu7OM91xS3O/68vfS6KE1jWZ3O4sGd3vTI=; b=iQnPerCmHmfW6gmFSCsNINgBIMfIDxuFupxYiEZpbNaHTboJAwVJzO2LBi8AnOnoF6 ERFPMJLIMjqv+XrAXs0SvRZXKXq7DAcjdMdVXta+1Bro7fDzEj7su90SkbZA8I2kOFX2 9pWGW8yYH2eeJ+aKUWQKV+di23c67gkYDiyJp+Wqa+CJDgnMTkPCTwYjAhpkytJJ3y5t CW7CTJuYvM8wCgczzF/6Uhd2S0A/rIRsX7zrQubATCBWhJ5Kb0vuqT5YBQZMF7De0xdN 5d9yOjF593ACiQqdaFhTfP/twhP82I2f51tKRWO1RDm3PN+bfolqckzZYRy6Guk2Hql9 xKpQ== X-Gm-Message-State: ALoCoQkngsnWB0S5Qf7dFxcHFccXWpw1BQyRIwTyTT+V+zTjN0cdLGhrOomq1fNCFk4PSTFao0ob X-Received: by 10.68.204.226 with SMTP id lb2mr5647609pbc.151.1447887011849; Wed, 18 Nov 2015 14:50:11 -0800 (PST) Received: from [100.127.144.114] ([69.53.245.31]) by smtp.gmail.com with ESMTPSA id hy1sm6193189pbb.63.2015.11.18.14.50.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Nov 2015 14:50:10 -0800 (PST) Sender: Warner Losh Subject: Re: Hummingboard SATA Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_8E1AD222-552C-488D-92B8-87FB637F0ED7"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.2 From: Warner Losh In-Reply-To: Date: Wed, 18 Nov 2015 15:50:07 -0700 Cc: freebsd-arm Message-Id: <59E5D040-0DE5-469F-A913-5514C534C690@bsdimp.com> References: To: Russell Haley X-Mailer: Apple Mail (2.2104) 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: Wed, 18 Nov 2015 22:50:13 -0000 --Apple-Mail=_8E1AD222-552C-488D-92B8-87FB637F0ED7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Nov 14, 2015, at 11:16 PM, Russell Haley = wrote: >=20 > Hi Warner, >=20 > I am looking over the CAM code and it's relationship with ahci. There = are also bits of information about CAM around: a chapter in the Kong = book, a chapter in the developers handbook. >=20 > The file ahci.c, line 660 - ahci_ch_attach() - this seems to be where = the magic happens to attach the ahci driver to the CAM system. = Specifically line 754 "cam_sim_alloc()=E2=80=9D. Yes. That creates the SIM. SIM used to mean SCSI Interface Module in the = original CAM spec. Any more, it just means any device that can chat with = devices attached via the appropriate transport. The SIM has a number of busess connected to it. Each bus is a transport. = A transport (xpt in the code) shuffles protocol messages from the periph = devices using the SIM to send / receive them over the XPT. When the SIM is instantiated, CAM automatically resets the bus and = enumerates it, with the help of the SIM. For SCSI-like things, this is = where ID scans are done, LUN scans, etc. For ATA, this is where ports = are scanned, port expanders recognized, etc. So as part of this scan, it is discovered that a SATA device exists on a = given port, and an ada device is created. > What I am not seeing is the relationship to the ata_da.c code. I = noticed that my drive wasn't listed in the ata_da.c, ada_quirk_table. I = don't know anything about quirks but imagine that this is an optional = item? Yes. The Quirk table is for those devices that lie to the system in some = way and that lie needs to be sorted out through work arounds in the = code. > I think I am done reviewing the code for now and will move back to ddb = and figure out how to examine the kernel checking for devices (read: no = idea what I am doing). If anyone has any pointers on how to hook into = the probe or attach methods using the debugger, or even any good = scripts, I'd be grateful. I usually just set breakpoints for the specific device I=E2=80=99m = interested in, though device_probe_and_attach is also good. Warner > Thanks, >=20 > Russ >=20 >=20 >=20 > On Wed, Nov 11, 2015 at 9:39 PM, Warner Losh wrote: >=20 >=20 > On Wed, Nov 11, 2015 at 10:22 PM, Russell Haley = wrote: > Hello again, >=20 > I have started looking at SATA support in FreeBSD by first reading the = man > pages and then examining the code. The Joseph Kong book is helping > considerably to understand the structures. >=20 > I see that there are three drivers in play: ahci, ada and ata. Man > indicates that ahci takes precedence in driver selection. *Is that the > driver for Arm and the Hummingboard?* >=20 > ata is out of the picture now. It never really was used on arm. >=20 > ahci is likely the driver you want, though I'm not sure what a = Hummingboard > is. A quick google search suggests it is a imx6 board. That's good = news > because FreeBSD has an attachment. >=20 > ahci is what's call a CAM SIM. This means that it will create the ata = xpt (handled > in sys/cam/ata/ata_xpt.c). The XPT then enumerates the transport and = finds the > sata drives, which wind up getting assigned the ada PERIPH driver = (handled by > sys/cam/ata/ata_da.c). >=20 > Chances are very good you have a problem with the ahci driver and/or > how that driver is connected / sets up the iMX6 SoC sata hardware. >=20 > What I can't seem to find is any direction on getting a debugger = hooked up > to driver code. Do I use gdb somehow, or do I use the kernel debugger? = I'm > going back over the Developers handbook again. >=20 > I'd start with ddb. >=20 > I also don't understand how to boot with the -d option. When is this > entered? I have used the sysctl to enter the debugger and poked around > but it doesn't mean much yet. >=20 > sysctl debug.kdb.enter=3D1 >=20 > I don't think that the -d option is implemented on arm. Most of the = ARM > kernel config files have ALT_BREAK_TO_DEBUGGER defined, which means > you'll need to send ~ ^B (that's hit return, hit the tilde key, = hit control B). > That will get you to the ddb prompt (db>). man 8 ddb for instructions = on > how to use it. >=20 > Warner >=20 --Apple-Mail=_8E1AD222-552C-488D-92B8-87FB637F0ED7 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWTQCgAAoJEGwc0Sh9sBEAYRgQAKszJtJrwTQf0C4YlP/3zf3R oHbOlnsn6vrNyjBVV1T0zIVaAfSZMinMbTPUGtnEcWpPXK7w3R/xinaYcZM55jqd yJEsLr10WwHvpIhc1PNJNQsbK+85gEhRtg2IJ1CHBnAsD5DXwCpRNi6CyYT0R3ls VQUYf7Gb47x40kBQ0VrXnj4WJq2R7qZJUkaaPkBO2ogIz7KGDTTVzlWuCfQrm4Oo xWsMXhmBcfOhTPNZ8tY0SZ4ST/7MjouwMujcdzcKZWwQUSiMEulSQXuYjR2dX0mu gAmsY2pBnDCXKEZjmt67oNwaD3DvbtoKQv1kxItlmQwhmy5AvMvYeWZFMmB3vHju BPP49ix6iMHhN2gjiBGI+sgVWtHNNh65mFzktqiqvmXpO0Azpvjedh396mmbp+dE JOxrTnc6u0ta5uUoFws1mDO+KsFIKlAWpTs7WWqCmNZY/Wg1b8gssa0jqHg09h8M AAK9dYbxV+2B6VVFwcVBTsdZHA0xvlZdQ9r5VcSVZ4ysan7fV9HavoApEFqfV1mt FG6oqhnqhH+3FE2sq1YcOO0bqDij3pVhMnDNfIen3hw5u9jhaGvgMNBqSe00rdis KBJXIYJg+QsfWm7qmCwC9mrPKreeDa1GYShzpdd4x7DZMB+Jw1GWNA4vFrXGXY3K tOfuCstIwO3o/TSN/5X+ =D8Vs -----END PGP SIGNATURE----- --Apple-Mail=_8E1AD222-552C-488D-92B8-87FB637F0ED7-- From owner-freebsd-arm@freebsd.org Wed Nov 18 23:27:47 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 6DF81A32A63 for ; Wed, 18 Nov 2015 23:27:47 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [69.239.235.194]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E04B51ADE for ; Wed, 18 Nov 2015 23:27:46 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.14.9/8.14.5) with ESMTP id tAINRboC003609; Wed, 18 Nov 2015 15:27:37 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.14.9/8.14.5/Submit) id tAINRaup003608; Wed, 18 Nov 2015 15:27:36 -0800 (PST) (envelope-from fbsd) Date: Wed, 18 Nov 2015 15:27:36 -0800 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Installworld failure, missing locale file? Message-ID: <20151118232736.GC70166@www.zefox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i 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: Wed, 18 Nov 2015 23:27:47 -0000 Hi all, The latest OS build failed at installworld, with install: /usr/share/locale/en_US.ISO8859-15/LC_CTYPE: No such file or directory *** [_FILESINS_en_US.ISO8859-15.LC_CTYPE] Error code 71 Buildworld reported successful completion, so I'm stumped. Re-running svnlite update reporting nothing that looked relevant. The building system is at r290972M, the built system is a day or two later. Any advice appreciated! Thanks for reading, bob prohaska From owner-freebsd-arm@freebsd.org Thu Nov 19 03:56:41 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 C5827A31363 for ; Thu, 19 Nov 2015 03:56:41 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id B74FA1DA3; Thu, 19 Nov 2015 03:56:41 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id A30681113; Thu, 19 Nov 2015 03:56:41 +0000 (UTC) Date: Thu, 19 Nov 2015 03:56:38 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: emaste@FreeBSD.org, nwhitehorn@FreeBSD.org, imp@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1427805809.67.1447905401155.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1714 - Failure MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: FAILURE Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 03:56:41 -0000 FreeBSD_HEAD_arm64 - Build #1714 - Failure: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1714/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1714/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1714/console Change summaries: 291053 by imp: Fix mips CPUTYPE so that we can pass it through to gcc. Keep old CPUTYPEs around for compatibility. Also include a list of typical values for FreeBSD. # Split out from other changes in D4155 Differential Revision: https://reviews.freebsd.org/D4155 291052 by emaste: Remove clauses 3 and 4 from makefs newfs_extern.h Obtained from: NetBSD 291049 by imp: Mark the mostly redundant kernels that just pull in something from _BASE as NO_UNIVERSE Differential Revision: https://reviews.freebsd.org/D4200 291048 by nwhitehorn: The Linux kexec boot loader doesn't need a font built in to it. This got copied-and-pasted from the PS3 loader. The end of the build log: Started by an SCM change Building remotely on kyua4.nyi.freebsd.org (jailer) in workspace /jenkins/workspace/FreeBSD_HEAD_arm64 Updating svn://svnmir.freebsd.org/base/head at revision '2015-11-19T03:54:56.089 +0000' U share/mk/bsd.cpu.mk U usr.sbin/makefs/ffs/newfs_extern.h U sys/mips/conf/ALFA_HORNET_UB U sys/mips/conf/AP121 U sys/mips/conf/AP135 U sys/mips/conf/AP143 U sys/mips/conf/AP91 U sys/mips/conf/AP93 U sys/mips/conf/AP94 U sys/mips/conf/AP96 U sys/mips/conf/BERI_DE4_MDROOT U sys/mips/conf/BERI_DE4_SDROOT U sys/mips/conf/BERI_SIM_MDROOT U sys/mips/conf/BERI_SIM_SDROOT U sys/mips/conf/BERI_SIM_VIRTIO U sys/mips/conf/CARAMBOLA2 U sys/mips/conf/DB120 U sys/mips/conf/DIR-655A1 U sys/mips/conf/DIR-825B1 U sys/mips/conf/DIR-825C1 U sys/mips/conf/ENH200 U sys/mips/conf/ONIONOMEGA U sys/mips/conf/PB47 U sys/mips/conf/PICOSTATION_M2HP U sys/mips/conf/ROUTERSTATION U sys/mips/conf/ROUTERSTATION_MFS U sys/mips/conf/RSPRO U sys/mips/conf/RSPRO_MFS U sys/mips/conf/TL-ARCHERC7V2 U sys/mips/conf/TL-WDR4300 U sys/mips/conf/TL-WR1043NDv2 U sys/mips/conf/TL-WR740Nv4 U sys/mips/conf/TP-MR3020 U sys/mips/conf/TP-WN1043ND U sys/mips/conf/WZR-300HP U sys/mips/conf/WZR-HPAG300H U sys/boot/powerpc/kboot/Makefile At revision 291054 No emails were triggered. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson7766417510294109041.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 jail: "FreeBSD_HEAD_arm64" not found + true + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias ifconfig: ioctl (SIOCDIFADDR): Can't assign requested address + true + sudo umount FreeBSD_HEAD_arm64/usr/src umount: FreeBSD_HEAD_arm64/usr/src: statfs: No such file or directory umount: FreeBSD_HEAD_arm64/usr/src: unknown file system + true + sudo umount FreeBSD_HEAD_arm64/dev umount: FreeBSD_HEAD_arm64/dev: statfs: No such file or directory umount: FreeBSD_HEAD_arm64/dev: unknown file system + true + sudo rm -fr FreeBSD_HEAD_arm64 + sudo chflags -R noschg FreeBSD_HEAD_arm64 chflags: FreeBSD_HEAD_arm64: No such file or directory + true + sudo rm -fr FreeBSD_HEAD_arm64 [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson7779937741446210254.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo env: env: + /usr/bin/env BUILD_NUMBER=1714 HUDSON_SERVER_COOKIE=0657dbe3541f1b1a JOB_NAME=FreeBSD_HEAD_arm64 LOGNAME=jenkins JAVA_HOME=/usr/local/openjdk8 SVN_URL=svn://svnmir.freebsd.org/base/head BUILDER_JAIL_IP=2610:1c1:1:607c::104:1 jname=FreeBSD_HEAD_arm64 JENKINS_URL=https://jenkins.FreeBSD.org/ JENKINS_HOME=/usr/local/jenkins PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin HUDSON_HOME=/usr/local/jenkins OLDPWD=/ BUILD_ID=1714 BUILDER_NETIF=igb0 JENKINS_SERVER_COOKIE=0657dbe3541f1b1a PWD=/jenkins/workspace/FreeBSD_HEAD_arm64 BUILD_TAG=jenkins-FreeBSD_HEAD_arm64-1714 NODE_LABELS=jailer kyua4.nyi.freebsd.org BUILD_DISPLAY_NAME=#1714 HOME=/jenkins USER=jenkins BUILD_URL=https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1714/ SVN_URL_1=svn://svnmir.freebsd.org/base/head SVN_REVISION=291053 SVN_REVISION_1=291053 BUILDER_JAIL_IP6=2610:1c1:1:607c::104:1 JOB_URL=https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/ SHELL=/bin/sh HUDSON_URL=https://jenkins.FreeBSD.org/ HUDSON_COOKIE=2b7fede1-069d-49b0-a190-1c1538d2520d BUILDER_RESOLV_CONF=nameserver 2610:1c1:1:6002::100\nnameserver 2610:1c1:1:6002::200\n WORKSPACE=/jenkins/workspace/FreeBSD_HEAD_arm64 NODE_NAME=kyua4.nyi.freebsd.org EXECUTOR_NUMBER=0 + echo 'setup jail FreeBSD_HEAD_arm64' setup jail FreeBSD_HEAD_arm64 + fetch -m http://ftp.freebsd.org:/pub/FreeBSD/snapshots/amd64/amd64/11.0-CURRENT/base.txz + fetch -m http://ftp.freebsd.org:/pub/FreeBSD/snapshots/amd64/amd64/11.0-CURRENT/lib32.txz + mkdir FreeBSD_HEAD_arm64 + cd FreeBSD_HEAD_arm64 + sudo tar Jxf ../base.txz + sudo tar Jxf ../lib32.txz + cd - + sudo mount -t devfs devfs FreeBSD_HEAD_arm64/dev + sudo devfs -m FreeBSD_HEAD_arm64/dev rule -s 4 applyset + sudo mount -t nullfs src FreeBSD_HEAD_arm64/usr/src + printf 'nameserver 2610:1c1:1:6002::100\nnameserver 2610:1c1:1:6002::200\n' + sudo tee FreeBSD_HEAD_arm64/etc/resolv.conf nameserver 2610:1c1:1:6002::100 nameserver 2610:1c1:1:6002::200 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 alias + sudo jail -c persist 'name=FreeBSD_HEAD_arm64' 'path=FreeBSD_HEAD_arm64' 'host.hostname=FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org' 'ip6.addr=2610:1c1:1:607c::104:1' 'ip4=disable' allow.chflags + echo 'setup build environment' setup build environment + sudo pkg -j FreeBSD_HEAD_arm64 install -y aarch64-binutils Updating FreeBSD repository catalogue... [FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org] Fetching meta.txz: . done [FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org] Fetching packagesite.txz: .......... done Processing entries: .......... done FreeBSD repository update completed. 24399 packages processed. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: aarch64-binutils: 2.25.1 The process will require 13 MiB more space. 1 MiB to be downloaded. [FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org] Fetching aarch64-binutils-2.25.1.txz: .......... done Checking integrity... done (0 conflicting) [FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org] [1/1] Installing aarch64-binutils-2.25.1... [FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org] [1/1] Extracting aarch64-binutils-2.25.1: .......... done + echo 'build environment:' build environment: + sudo jexec FreeBSD_HEAD_arm64 sh -c 'uname -a' FreeBSD FreeBSD_HEAD_arm64.jail.ci.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r288681: Mon Oct 5 01:40:11 UTC 2015 peter@build-11.freebsd.org:/usr/obj/usr/src/sys/CLUSTER11 amd64 + sudo pkg -j FreeBSD_HEAD_arm64 info -q aarch64-binutils-2.25.1 [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson7258215070242302428.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'start build in FreeBSD_HEAD_arm64' start build in FreeBSD_HEAD_arm64 + sudo jexec FreeBSD_HEAD_arm64 sh -c 'cd /usr/src && make -DNO_CLEAN -j 4 buildworld TARGET=arm64' make: "/usr/src/share/mk/bsd.cpu.mk" line 137: warning: extra elif make: "/usr/src/share/mk/bsd.cpu.mk" line 0: 1 open conditional make: Fatal errors encountered -- cannot continue make: stopped in /usr/src Build step 'Execute shell' marked build as failure [PostBuildScript] - Execution post build scripts. [FreeBSD_HEAD_arm64] $ /bin/sh -xe /tmp/hudson8690030452556303797.sh + export 'PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin' + export 'jname=FreeBSD_HEAD_arm64' + echo 'clean up jail FreeBSD_HEAD_arm64' clean up jail FreeBSD_HEAD_arm64 + sudo jail -r FreeBSD_HEAD_arm64 + sudo ifconfig igb0 inet6 2610:1c1:1:607c::104:1 -alias + sudo umount FreeBSD_HEAD_arm64/usr/src + sudo umount FreeBSD_HEAD_arm64/dev + sudo rm -fr FreeBSD_HEAD_arm64 rm: FreeBSD_HEAD_arm64/libexec/ld-elf.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec/ld-elf32.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/libexec: Directory not empty rm: FreeBSD_HEAD_arm64/sbin/init: Operation not permitted rm: FreeBSD_HEAD_arm64/sbin: Directory not empty rm: FreeBSD_HEAD_arm64/lib/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/lib/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/lib: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib: Directory not empty rm: FreeBSD_HEAD_arm64/usr/bin/login: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/crontab: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchpass: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/su: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opiepasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/ypchsh: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/yppasswd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/chfn: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/opieinfo: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin/passwd: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/bin: Directory not empty rm: FreeBSD_HEAD_arm64/usr/lib32/libc.so.7: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libcrypt.so.5: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/libthr.so.3: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32/librt.so.1: Operation not permitted rm: FreeBSD_HEAD_arm64/usr/lib32: Directory not empty rm: FreeBSD_HEAD_arm64/usr: Directory not empty rm: FreeBSD_HEAD_arm64: Directory not empty + true + sudo chflags -R noschg FreeBSD_HEAD_arm64 + sudo rm -fr FreeBSD_HEAD_arm64 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any From owner-freebsd-arm@freebsd.org Thu Nov 19 07:06:46 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 95E1BA32A10 for ; Thu, 19 Nov 2015 07:06:46 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 85C0415CC; Thu, 19 Nov 2015 07:06:46 +0000 (UTC) (envelope-from jenkins-admin@FreeBSD.org) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id A144F1198; Thu, 19 Nov 2015 07:06:46 +0000 (UTC) Date: Thu, 19 Nov 2015 07:06:44 +0000 (GMT) From: jenkins-admin@FreeBSD.org To: jhibbits@FreeBSD.org, markj@FreeBSD.org, imp@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-arm@FreeBSD.org Message-ID: <1681814918.71.1447916806630.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <1427805809.67.1447905401155.JavaMail.jenkins@jenkins-9.freebsd.org> References: <1427805809.67.1447905401155.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: FreeBSD_HEAD_arm64 - Build #1715 - Fixed MIME-Version: 1.0 X-Jenkins-Job: FreeBSD_HEAD_arm64 X-Jenkins-Result: SUCCESS Precedence: bulk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2015 07:06:46 -0000 FreeBSD_HEAD_arm64 - Build #1715 - Fixed: Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1715/ Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1715/changes Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_arm64/1715/console Change summaries: 291058 by markj: Add vlog(9). Reviewed by: cem, jhb MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4183 291057 by markj: Fix a bug in the amd64 dtrace_getarg() implementation: when unwinding the stack, take into account the copy of rsi pushed between the breakpoint trapframe and the dtrace_invop frame. Prior to r287644, this was covered by the fact that sizeof(struct amd64_frame) was 24 rather than 16. Reported by: smh 291056 by jhibbits: Revert r291009 until rman changes go in. Pointy-hat to: jhibbits 291055 by imp: Fix missing endif. From owner-freebsd-arm@freebsd.org Thu Nov 19 10:21:37 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 262EBA33696 for ; Thu, 19 Nov 2015 10:21:37 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (oslo.ath.cx [144.76.166.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E535A152B for ; Thu, 19 Nov 2015 10:21:36 +0000 (UTC) (envelope-from herbert@oslo.ath.cx) Received: from oslo.ath.cx (localhost [IPv6:::1]) by oslo.ath.cx (Postfix) with SMTP id 617E11B97 for ; Thu, 19 Nov 2015 11:21:29 +0100 (CET) Date: Thu, 19 Nov 2015 11:21:29 +0100 From: "Herbert J. Skuhra" To: freebsd-arm@freebsd.org Subject: Re: Installworld failure, missing locale file? Message-ID: <20151119102129.GA89895@oslo.ath.cx> References: <20151118232736.GC70166@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151118232736.GC70166@www.zefox.net> User-Agent: Mutt/1.5.24+27 (c799162691b2) (2015-08-30) 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: Thu, 19 Nov 2015 10:21:37 -0000 On Wed, Nov 18, 2015 at 03:27:36PM -0800, bob prohaska wrote: > Hi all, > > The latest OS build failed at installworld, with > install: /usr/share/locale/en_US.ISO8859-15/LC_CTYPE: No such file or directory > *** [_FILESINS_en_US.ISO8859-15.LC_CTYPE] Error code 71 > > Buildworld reported successful completion, so I'm stumped. Re-running svnlite > update reporting nothing that looked relevant. The building system is at > r290972M, the built system is a day or two later. Check /usr/src/UPDATATING (Entry from 20151108). The entry has been corrected in r291019, so run 'svnlite up' first. -- Herbert From owner-freebsd-arm@freebsd.org Fri Nov 20 16:54:53 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 F0662A33034; Fri, 20 Nov 2015 16:54:53 +0000 (UTC) (envelope-from mmoll@darkthrone.kvedulv.de) Received: from darkthrone.kvedulv.de (darkthrone.kvedulv.de [IPv6:2001:1578:400:101::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "darkthrone.kvedulv.de", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C5011576; Fri, 20 Nov 2015 16:54:50 +0000 (UTC) (envelope-from mmoll@darkthrone.kvedulv.de) Received: by darkthrone.kvedulv.de (Postfix, from userid 666) id 9228ADB5; Fri, 20 Nov 2015 17:54:46 +0100 (CET) Date: Fri, 20 Nov 2015 17:54:46 +0100 From: Michael Moll To: freebsd-arm@FreeBSD.org, freebsd-toolchain@FreeBSD.org Subject: lang/ruby2* build failure on arm Message-ID: <20151120165446.GB48644@darkthrone.kvedulv.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) 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: Fri, 20 Nov 2015 16:54:54 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, first, sorry for cross-posting this to arm and toolchain, but I'm unsure in which direction this will go... please CC me, as I'm not subscribed to any of the both lists. In r384323 (ports) swills@ fixed the build of the lang/ruby2* ports, however, on a recent CURRENT on armv6hf I'm getting: checking for setjmp type... configure: error: _setjmp is not available Reverting that change leads to a working Ruby, so the question here is: Which OSVERSION did bring in that change? I'm suspecting the LLVM 3.7 import, but have no further data to back this claim. Any hints? --=20 Michael Moll --zhXaljGHf11kAtnf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWT1BVAAoJEHSbfGivsRbHM8IQAIPkoKtIyW7FOH9CAyNsSGL8 dhWQxgtXDeAaKEj+MXeS8fP9vngVGvsKaPpVnfly7EcoZLxAYssJAWDw0DHeZaq8 9AbAeDXdueB317XctlugidOL5hsF8b08imKsiR0dFMuX/i0+XY646sdVwLMKkMMh REPtoB2YWcbXoc/wyg1+igNa9bbK2JJ3qun4DUKqOepAZ5oG9ToJX/X6idZBW1TV AfBdPnPncewLXeXtWI2IPVR2KcFd3mINRTAbGg0ugLejQwoDIoi/8r2LGBzNsw7n yn2AoytgB7LKDR2KFpFrvEhP55+N7u8ddJCMWZnIzDv9fUukdWgKJQu2l201z3xH JkCFAF2NfXa1LKNT3dFh6fPvtF4OQb0LRlhxQVsqVtNZM7b/HcUbGiuztwPnh6SV HkKiv2hl1SdrAYYyomSUCq2LO89rvKzBrdSZNHNqORKS+DdvZQxG5psRycU6GbBJ Xazly71rS3OjykBJHkauG6clUsjmLXNWYEj9ulCCqPgeFRHxoC69qH2iNxhBKFs+ aowyBHuhDJ/N2FhZqnnTb0m3EnxEBeaDQJcemjYoy6QVBe40TmjoQ7mfShEHBHY9 Qmx74kk/m9b+Lb+zosK+xPIPxVY9D0UJx+CfPp2Isz+8hqGjg1xdqkjsOGajCjVK Q38KTsr7JZJAy/dtXdk3 =bBdv -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-arm@freebsd.org Fri Nov 20 17:05:06 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 E8315A33298; Fri, 20 Nov 2015 17:05:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8B5B1A17; Fri, 20 Nov 2015 17:05:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::454a:18fd:5b4d:d49] (unknown [IPv6:2001:7b8:3a7:0:454a:18fd:5b4d:d49]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 19A331CBF0; Fri, 20 Nov 2015 18:04:58 +0100 (CET) Subject: Re: lang/ruby2* build failure on arm Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: multipart/signed; boundary="Apple-Mail=_CEC89FE4-DAFF-45B8-8024-9F0723F4C4F7"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Dimitry Andric In-Reply-To: <20151120165446.GB48644@darkthrone.kvedulv.de> Date: Fri, 20 Nov 2015 18:04:53 +0100 Cc: freebsd-arm@FreeBSD.org, freebsd-toolchain@FreeBSD.org Message-Id: <963F064D-2B30-40E4-9F09-31C9121CE80A@FreeBSD.org> References: <20151120165446.GB48644@darkthrone.kvedulv.de> To: Michael Moll X-Mailer: Apple Mail (2.3096.5) 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: Fri, 20 Nov 2015 17:05:07 -0000 --Apple-Mail=_CEC89FE4-DAFF-45B8-8024-9F0723F4C4F7 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 20 Nov 2015, at 17:54, Michael Moll wrote: > > first, sorry for cross-posting this to arm and toolchain, but I'm unsure > in which direction this will go... please CC me, as I'm not subscribed > to any of the both lists. > > In r384323 (ports) swills@ fixed the build of the lang/ruby2* ports, > however, on a recent CURRENT on armv6hf I'm getting: > checking for setjmp type... configure: error: _setjmp is not available Check the config.log file for further details. Why does the configure script conclude that _setjmp is not available? -Dimitry --Apple-Mail=_CEC89FE4-DAFF-45B8-8024-9F0723F4C4F7 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 iEYEARECAAYFAlZPUrkACgkQsF6jCi4glqMIbgCdG5Y9JUZVGBGm5y52f3uVcqRm hecAn15pujR9IixSqStcILwWpnp2seMf =auXx -----END PGP SIGNATURE----- --Apple-Mail=_CEC89FE4-DAFF-45B8-8024-9F0723F4C4F7-- From owner-freebsd-arm@freebsd.org Fri Nov 20 19:35:06 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 37964A32610; Fri, 20 Nov 2015 19:35:06 +0000 (UTC) (envelope-from freebsd-lists@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 13BA61C97; Fri, 20 Nov 2015 19:35:05 +0000 (UTC) (envelope-from freebsd-lists@gromit.dlib.vt.edu) Received: from pmather.lib.vt.edu (pmather.lib.vt.edu [128.173.126.193]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id B24D0459; Fri, 20 Nov 2015 14:29:29 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: lang/ruby2* build failure on arm From: Paul Mather In-Reply-To: <20151120165446.GB48644@darkthrone.kvedulv.de> Date: Fri, 20 Nov 2015 14:29:24 -0500 Cc: freebsd-arm@FreeBSD.org, freebsd-toolchain@FreeBSD.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20151120165446.GB48644@darkthrone.kvedulv.de> To: Michael Moll X-Mailer: Apple Mail (2.2104) 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: Fri, 20 Nov 2015 19:35:06 -0000 On Nov 20, 2015, at 11:54 AM, Michael Moll wrote: > Hello, >=20 > first, sorry for cross-posting this to arm and toolchain, but I'm = unsure > in which direction this will go... please CC me, as I'm not subscribed > to any of the both lists. >=20 > In r384323 (ports) swills@ fixed the build of the lang/ruby2* ports, > however, on a recent CURRENT on armv6hf I'm getting: > checking for setjmp type... configure: error: _setjmp is not available >=20 > Reverting that change leads to a working Ruby, so the question here = is: > Which OSVERSION did bring in that change? I'm suspecting the LLVM 3.7 > import, but have no further data to back this claim. >=20 > Any hints? According to my Poudriere build logs, the last successful build I was = able to do of ruby21 for FreeBSD/arm 11-CURRENT was on 2015-08-07 = (ruby21-2.1.6,1). That was using FreeBSD clang version 3.6.1 = (tags/RELEASE_361/final 237755) 20150525. I have no successful builds since the update to FreeBSD clang version = 3.7.0 (tags/RELEASE_370/final 246257) 20150906. It fails with the same = error you report above. Cheers, Paul. From owner-freebsd-arm@freebsd.org Fri Nov 20 22:02:14 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 F22E5A34523; Fri, 20 Nov 2015 22:02:14 +0000 (UTC) (envelope-from mmoll@darkthrone.kvedulv.de) Received: from darkthrone.kvedulv.de (darkthrone.kvedulv.de [IPv6:2001:1578:400:101::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "darkthrone.kvedulv.de", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B49E11B0A; Fri, 20 Nov 2015 22:02:14 +0000 (UTC) (envelope-from mmoll@darkthrone.kvedulv.de) Received: by darkthrone.kvedulv.de (Postfix, from userid 666) id B03BBEDA; Fri, 20 Nov 2015 23:02:10 +0100 (CET) Date: Fri, 20 Nov 2015 23:02:10 +0100 From: Michael Moll To: Dimitry Andric Cc: freebsd-arm@FreeBSD.org, freebsd-toolchain@FreeBSD.org Subject: Re: lang/ruby2* build failure on arm Message-ID: <20151120220210.GC48644@darkthrone.kvedulv.de> References: <20151120165446.GB48644@darkthrone.kvedulv.de> <963F064D-2B30-40E4-9F09-31C9121CE80A@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <963F064D-2B30-40E4-9F09-31C9121CE80A@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Fri, 20 Nov 2015 22:02:15 -0000 --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Nov 20, 2015 at 06:04:53PM +0100, Dimitry Andric wrote: > > In r384323 (ports) swills@ fixed the build of the lang/ruby2* ports, > > however, on a recent CURRENT on armv6hf I'm getting: > > checking for setjmp type... configure: error: _setjmp is not available >=20 > Check the config.log file for further details. Why does the configure > script conclude that _setjmp is not available? The whole file is available as http://space.kvedulv.de/ruby_arm_config.log,= the output =66rom the specific test is: conftest.c:340:20: error: __builtin_longjmp is not supported for the curren= t target void t(void) {__builtin_longjmp((void **) jb, 1);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c:341:29: error: __builtin_setjmp is not supported for the current= target int jump(void) {(void)(__builtin_setjmp((void **) jb) ? 1 : 0);= return 0;} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Regards --=20 Michael Moll --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWT5hhAAoJEHSbfGivsRbHUUYP/A6Mt+oeHSEamnj6qVAGB3hD 0+i4P8z13h6UZAL1Sk6OSri7PsV92V2XOq2zY3z5xRTQaeBnqfxkHlUhlwGcAiT2 k7hu/lllf9TzKn8UxwXvXLkGMnutKw4tIK926OpMr/WEHiYHjBZkkuMPM0dGe/yT zGB7Bzoyz5c3SZSfrmM7afBgWUzQJcaQBJllTwWDlgqwByNLb58azgohdA7GlPMA ZMU5mdbvjzvEpqee1zp3qntlir8uHe6Od+GIee8XuaQyxmJFR2Hjhkul8mAM8aHi yuILqur4kfQCBovQX5O7t+pMLutpziAGLqsZFM5E7EOlVoH0mase9K+Iosldwp1w cKOv7yX1lUCdK+2QT0/qTn/DSq02jiXfTqf7mJSsPnqMVplNsUxFJWDw7DwlTnR7 AFd3mT5QL9dcE1oBv8uBEMe+S0WIsEYtZgdaHtGubfNK67hGBwdcAEP4F5ErY5cL lFxDfFWVUMZFZd4evYR1QJrUnbgIMptpsRg/M/q73gffTA+MPEl8mNz++NY4wlt6 qVDAgQTZTkEKE8tzFFpv9g4CzVmYpvQOq8gPTNT2z1qlt4ziIwm5Qup1CSZR1+i0 8Eah8AFDwDK7aLU0DiPPBGgGqvdZL1vtaEOivT7inVXEjiYe3c1+eWzIl3wLGIzC lGyhiqFaSRl20vlJQ1hy =6lJ0 -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX-- From owner-freebsd-arm@freebsd.org Fri Nov 20 22:18:12 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 335F7A347CE; Fri, 20 Nov 2015 22:18:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D97D815C8; Fri, 20 Nov 2015 22:18:11 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::454a:18fd:5b4d:d49] (unknown [IPv6:2001:7b8:3a7:0:454a:18fd:5b4d:d49]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AB2271CC27; Fri, 20 Nov 2015 23:18:09 +0100 (CET) Subject: Re: lang/ruby2* build failure on arm Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Content-Type: multipart/signed; boundary="Apple-Mail=_708D8047-CBEA-48C1-BAB2-B34E0AD72A98"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Dimitry Andric In-Reply-To: <20151120220210.GC48644@darkthrone.kvedulv.de> Date: Fri, 20 Nov 2015 23:18:09 +0100 Cc: freebsd-arm@FreeBSD.org, freebsd-toolchain@FreeBSD.org Message-Id: <903D1E22-D3E4-4DDA-BBF3-F8DDFAE91B56@FreeBSD.org> References: <20151120165446.GB48644@darkthrone.kvedulv.de> <963F064D-2B30-40E4-9F09-31C9121CE80A@FreeBSD.org> <20151120220210.GC48644@darkthrone.kvedulv.de> To: Michael Moll X-Mailer: Apple Mail (2.3096.5) 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: Fri, 20 Nov 2015 22:18:12 -0000 --Apple-Mail=_708D8047-CBEA-48C1-BAB2-B34E0AD72A98 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 20 Nov 2015, at 23:02, Michael Moll wrote: >=20 > On Fri, Nov 20, 2015 at 06:04:53PM +0100, Dimitry Andric wrote: >>> In r384323 (ports) swills@ fixed the build of the lang/ruby2* ports, >>> however, on a recent CURRENT on armv6hf I'm getting: >>> checking for setjmp type... configure: error: _setjmp is not = available >>=20 >> Check the config.log file for further details. Why does the = configure >> script conclude that _setjmp is not available? >=20 > The whole file is available as = http://space.kvedulv.de/ruby_arm_config.log, the output > from the specific test is: >=20 > conftest.c:340:20: error: __builtin_longjmp is not supported for the = current target > void t(void) {__builtin_longjmp((void **) jb, 1);} > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > conftest.c:341:29: error: __builtin_setjmp is not supported for the = current target > int jump(void) {(void)(__builtin_setjmp((void **) jb) ? 1 : = 0); return 0;} > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Right, but that is not the real problem. Earlier on, the configure script is checking for the regular _setjmp(): configure:16921: checking for _setjmp configure:16921: cc -o conftest -O -pipe -fno-strict-aliasing = -I/usr/local/include -fstack-protector conftest.c -lcrypt -lm = -lpthread -L/usr/local/lib >&5 conftest.c:228:6: warning: declaration of built-in function '_setjmp' = requires inclusion of the header [-Wbuiltin-requires-header] char _setjmp (); ^ conftest.c:239:17: error: too few arguments to function call, expected = 1, have 0 return _setjmp (); ~~~~~~~~~^ 1 warning and 1 error generated. configure:16921: $? =3D 1 configure: failed program was: As to why GNU configure tries to call this without arguments, is beyond me. To work around its brokenness, I would set ac_cv_func__setjmp to yes before calling configure. Or attempt to unbreak autoconf, but that is a truly Herculean task. :-) -Dimitry --Apple-Mail=_708D8047-CBEA-48C1-BAB2-B34E0AD72A98 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 iEYEARECAAYFAlZPnCEACgkQsF6jCi4glqOOpwCeLdlgHZmDgIi9XZtNgnUIsQ20 LwYAoPqY3kVpscCXS1HDJ8JQcSDEXDmS =pAtY -----END PGP SIGNATURE----- --Apple-Mail=_708D8047-CBEA-48C1-BAB2-B34E0AD72A98-- From owner-freebsd-arm@freebsd.org Fri Nov 20 22:56:18 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 8602FA330BF; Fri, 20 Nov 2015 22:56:18 +0000 (UTC) (envelope-from mmoll@darkthrone.kvedulv.de) Received: from darkthrone.kvedulv.de (darkthrone.kvedulv.de [IPv6:2001:1578:400:101::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "darkthrone.kvedulv.de", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 481891066; Fri, 20 Nov 2015 22:56:18 +0000 (UTC) (envelope-from mmoll@darkthrone.kvedulv.de) Received: by darkthrone.kvedulv.de (Postfix, from userid 666) id E7356F23; Fri, 20 Nov 2015 23:56:15 +0100 (CET) Date: Fri, 20 Nov 2015 23:56:15 +0100 From: Michael Moll To: Dimitry Andric Cc: freebsd-arm@FreeBSD.org, freebsd-toolchain@FreeBSD.org Subject: Re: lang/ruby2* build failure on arm Message-ID: <20151120225615.GD48644@darkthrone.kvedulv.de> References: <20151120165446.GB48644@darkthrone.kvedulv.de> <963F064D-2B30-40E4-9F09-31C9121CE80A@FreeBSD.org> <20151120220210.GC48644@darkthrone.kvedulv.de> <903D1E22-D3E4-4DDA-BBF3-F8DDFAE91B56@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline In-Reply-To: <903D1E22-D3E4-4DDA-BBF3-F8DDFAE91B56@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) 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: Fri, 20 Nov 2015 22:56:18 -0000 --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 20, 2015 at 11:18:09PM +0100, Dimitry Andric wrote: > As to why GNU configure tries to call this without arguments, is beyond > me. To work around its brokenness, I would set ac_cv_func__setjmp to > yes before calling configure. Or attempt to unbreak autoconf, but that > is a truly Herculean task. :-) Tested and committed as r402110, thank you very much! --=20 Michael Moll --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWT6UOAAoJEHSbfGivsRbHrGwP/36e6Yif0q47ImOWfWsrJxSD sWrtKfbQiAMRZgTg/nPQFjbOuUPTygx6VCIfJeOhu6Sk9GD+Vc95EwfmmcZa3efn Ye/9/0BwUnoOwOiKsAPaXxwCICV5OZZZOrgiikGjfis8Kf9OizAjL67UoNzmQHmi /iIqWvTedVugXIe9d/RWlvj0nr3ivUqs9oPYhwAaRUnkZ4lUWDyrq8YTTSGgJkSG j6C2IEvQDEJ35dUzW0Dx5LEUpuFxJNQAF9jy0zvgUl/x/2LEhKiC6oT/n5aZ6BRB s97LhnazycPZfIHftQ03uVqPS4mnj4hAJCRVzXuEPrqQ0NxTxvw0qGZqf1iCp4BI Kk0VXuQnYPMUfpmzUHc/Zrwn3pXwcjcHEUncI1UjAJVBtVs7HIFAuw5B+Z+Z/mEt saePETpbE1ebVgN7196FNSRKaQTiM9XrwjuRpO12j2sWHBvp/gx00PZZOoPix4NI YWRprMeC0Zc9XLFk5aB3t220tDpmf9ShxBDgOCX9Nbk2TOUhfPdFxX/vL3Ui4LuZ p6zvbLnR1xb48A1ujEKnj5nF7P5RPJ92pqpvMxhJ9G7SCx9ku0r1nyVsofrU/DH/ AzPT3uT67Hq6kgstD+SKiOZLZD4PcSfgH9rQu0EBpvfXtOwWk4smgPzA8bTP/lwe onzxdNmPw1XpQ27DI7Hv =J0bT -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz--