[{"id":12297,"web_url":"https://patchwork.libcamera.org/comment/12297/","msgid":"<7162b8ae-d23e-803d-a884-92783a960978@ideasonboard.com>","date":"2020-09-04T12:52:35","subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","submitter":{"id":4,"url":"https://patchwork.libcamera.org/api/people/4/","name":"Kieran Bingham","email":"kieran.bingham@ideasonboard.com"},"content":"Hi Thomas,\n\nOn 04/09/2020 13:50, Thomas Petazzoni wrote:\n> On Fri,  4 Sep 2020 10:51:45 +0100\n> Kieran Bingham <kieran.bingham@ideasonboard.com> wrote:\n> \n>> The ControlValue structure is currently defined with a 16-bit hole\n>> (causing unaligned access to the numElements_ field, though that's a\n>> separate topic).\n>>\n>> This structure has a static assertion to ensure that its size does not\n>> change without due care, as it forms part of our ABI and is used in\n>> Serialisation between the pipeline handlers and IPA componenents.\n>>\n>> The m68k architecture is the only target which fails this assertion,\n>> which is likely because it can pack the structure more efficiently,\n>> producing a different binary size.\n>>\n>> This is likely an area we will tackle before stabilising our ABI, but\n>> until then, disable m68k builds as libcamera is not expected to be\n>> supported on this target.\n>>\n>> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> \n> We normally ask to have an autobuilder failure reference here. No need\n> to resend just for that, we can add it when applying.\n\nSorry, I didn't realise. But don't worry -there are plenty ;-)\n\nHere's the latest:\n\n\n> Results for the '2020.08.x' branch\n> ----------------------------------\n> \n> Build failures related to your packages:\n> \n>     arch     |             reason             |                                       url                                      \n> -------------+--------------------------------+---------------------------------------------------------------------------------\n>     m68k     | libcamera-96fab38e02792a109... | http://autobuild.buildroot.net/results/9dce26e94299a2c61bba60cbc7803926e2f85e29","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 8EB84BF019\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  4 Sep 2020 12:52:44 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 136CC62B5B;\n\tFri,  4 Sep 2020 14:52:44 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E5B3362B2F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Sep 2020 14:52:42 +0200 (CEST)","from [192.168.0.20]\n\t(cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1F8BB540;\n\tFri,  4 Sep 2020 14:52:38 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"mbyWgDmg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1599223962;\n\tbh=D5msSvXtSrWsivQk6oL0G0KwKZe2YP28Y2FoOaj3gcE=;\n\th=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From;\n\tb=mbyWgDmgTDI0dU/UPMG+8hf67x7J5piCmn8yA9nnQHwtZKxeTwW0gKwnaQIfUHUsX\n\tgR8rxnkIgGzDXIVValjffxGmb78YIm21iZSa1esQJUvE9xEY/bdRmSHbSby/Sp9usY\n\thhNRsLFWzLp9meDSz2v/nGDwgvfA7oclaVXutSgQ=","To":"Thomas Petazzoni <thomas.petazzoni@bootlin.com>","References":"<20200904095148.844292-1-kieran.bingham@ideasonboard.com>\n\t<20200904095148.844292-2-kieran.bingham@ideasonboard.com>\n\t<20200904145046.46cbb14c@windsurf.home>","From":"Kieran Bing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MzuKeRm2LVpmq4\n\tWZw01QYHU/GUV/zHJSFk","Organization":"Ideas on Board","Message-ID":"<7162b8ae-d23e-803d-a884-92783a960978@ideasonboard.com>","Date":"Fri, 4 Sep 2020 13:52:35 +0100","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101\n\tThunderbird/68.10.0","MIME-Version":"1.0","In-Reply-To":"<20200904145046.46cbb14c@windsurf.home>","Content-Language":"en-GB","Subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Reply-To":"kieran.bingham@ideasonboard.com","Cc":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tbuildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":12298,"web_url":"https://patchwork.libcamera.org/comment/12298/","msgid":"<20200904145046.46cbb14c@windsurf.home>","date":"2020-09-04T12:50:46","subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","submitter":{"id":13,"url":"https://patchwork.libcamera.org/api/people/13/","name":"Thomas Petazzoni","email":"thomas.petazzoni@bootlin.com"},"content":"On Fri,  4 Sep 2020 10:51:45 +0100\nKieran Bingham <kieran.bingham@ideasonboard.com> wrote:\n\n> The ControlValue structure is currently defined with a 16-bit hole\n> (causing unaligned access to the numElements_ field, though that's a\n> separate topic).\n> \n> This structure has a static assertion to ensure that its size does not\n> change without due care, as it forms part of our ABI and is used in\n> Serialisation between the pipeline handlers and IPA componenents.\n> \n> The m68k architecture is the only target which fails this assertion,\n> which is likely because it can pack the structure more efficiently,\n> producing a different binary size.\n> \n> This is likely an area we will tackle before stabilising our ABI, but\n> until then, disable m68k builds as libcamera is not expected to be\n> supported on this target.\n> \n> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\nWe normally ask to have an autobuilder failure reference here. No need\nto resend just for that, we can add it when applying.\n\nThanks!\n\nThomas","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id A8D45BF019\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  4 Sep 2020 12:53:34 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7FDB9629CF;\n\tFri,  4 Sep 2020 14:53:34 +0200 (CEST)","from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net\n\t[217.70.183.199])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2767C6037B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Sep 2020 14:50:48 +0200 (CEST)","from windsurf.home (lfbn-tou-1-420-199.w86-206.abo.wanadoo.fr\n\t[86.206.245.199])\n\t(Authenticated sender: thomas.petazzoni@bootlin.com)\n\tby relay9-d.mail.gandi.net (Postfix) with ESMTPSA id AD1ECFF809;\n\tFri,  4 Sep 2020 12:50:47 +0000 (UTC)"],"X-Originating-IP":"86.206.245.199","Date":"Fri, 4 Sep 2020 14:50:46 +0200","From":"Thomas Petazzoni <thomas.petazzoni@bootlin.com>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Message-ID":"<20200904145046.46cbb14c@windsurf.home>","In-Reply-To":"<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","References":"<20200904095148.844292-1-kieran.bingham@ideasonboard.com>\n\t<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","Organization":"Bootlin","X-Mailer":"Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","X-Mailman-Approved-At":"Fri, 04 Sep 2020 14:53:32 +0200","Subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tbuildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":12300,"web_url":"https://patchwork.libcamera.org/comment/12300/","msgid":"<20200904145237.0b1acf0d@windsurf.home>","date":"2020-09-04T12:52:37","subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","submitter":{"id":13,"url":"https://patchwork.libcamera.org/api/people/13/","name":"Thomas Petazzoni","email":"thomas.petazzoni@bootlin.com"},"content":"On Fri,  4 Sep 2020 10:51:45 +0100\nKieran Bingham <kieran.bingham@ideasonboard.com> wrote:\n\n> diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in\n> index 960d78b82e95..1ea747d1c57e 100644\n> --- a/package/libcamera/Config.in\n> +++ b/package/libcamera/Config.in\n> @@ -5,6 +5,8 @@ menuconfig BR2_PACKAGE_LIBCAMERA\n>  \tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14\n>  \tdepends on !BR2_STATIC_LIBS # gnutls\n>  \tdepends on BR2_USE_WCHAR # gnutls\n> +\t# Invalid packing size of ControlValue struct on m68k\n> +\tdepends on !BR2_m68k\n\nAnother comment: this dependency should be replicated in the Config.in\ncomment for libcamera, so that the comment that says \"libcamera needs a\ntoolchain w/ ...\" doesn't appear on m68k... which would be meaningless\nas libcamera is not available at all for this architecture.\n\nIn general, we like to have:\n\nconfig BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS\n\tconfig\n\tdefault y\n\tdepends on !BR2_m68k\n\nand then use that in BR2_PACKAGE_LIBCAMERA and the Config.in comment.\nThis way, if other packages select libcamera, they can also re-use this\n\"depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS\".\n\nThomas","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id B5E3CBF019\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  4 Sep 2020 12:53:35 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id EE79E62B69;\n\tFri,  4 Sep 2020 14:53:34 +0200 (CEST)","from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net\n\t[217.70.183.197])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1091C629CF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Sep 2020 14:52:39 +0200 (CEST)","from windsurf.home (lfbn-tou-1-420-199.w86-206.abo.wanadoo.fr\n\t[86.206.245.199])\n\t(Authenticated sender: thomas.petazzoni@bootlin.com)\n\tby relay5-d.mail.gandi.net (Postfix) with ESMTPSA id BA9B51C0002;\n\tFri,  4 Sep 2020 12:52:38 +0000 (UTC)"],"X-Originating-IP":"86.206.245.199","Date":"Fri, 4 Sep 2020 14:52:37 +0200","From":"Thomas Petazzoni <thomas.petazzoni@bootlin.com>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Message-ID":"<20200904145237.0b1acf0d@windsurf.home>","In-Reply-To":"<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","References":"<20200904095148.844292-1-kieran.bingham@ideasonboard.com>\n\t<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","Organization":"Bootlin","X-Mailer":"Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-redhat-linux-gnu)","MIME-Version":"1.0","X-Mailman-Approved-At":"Fri, 04 Sep 2020 14:53:32 +0200","Subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tbuildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":12308,"web_url":"https://patchwork.libcamera.org/comment/12308/","msgid":"<20200904203358.GL14354@scaer>","date":"2020-09-04T20:33:58","subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","submitter":{"id":11,"url":"https://patchwork.libcamera.org/api/people/11/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Kieran, All,\n\nOn 2020-09-04 10:51 +0100, Kieran Bingham spake thusly:\n> The ControlValue structure is currently defined with a 16-bit hole\n> (causing unaligned access to the numElements_ field, though that's a\n> separate topic).\n> \n> This structure has a static assertion to ensure that its size does not\n> change without due care, as it forms part of our ABI and is used in\n> Serialisation between the pipeline handlers and IPA componenents.\n> \n> The m68k architecture is the only target which fails this assertion,\n> which is likely because it can pack the structure more efficiently,\n> producing a different binary size.\n> \n> This is likely an area we will tackle before stabilising our ABI, but\n> until then, disable m68k builds as libcamera is not expected to be\n> supported on this target.\n> \n> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\nApplied to master, after doing the slight adjustments suggested by\nThomas:\n\n  - introduce BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS\n  - propagate that to the comment\n  - add autobuilder reference\n\nThanks!\n\nRegards,\nYann E. MORIN.\n\n> ---\n>  package/libcamera/Config.in | 2 ++\n>  1 file changed, 2 insertions(+)\n> \n> diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in\n> index 960d78b82e95..1ea747d1c57e 100644\n> --- a/package/libcamera/Config.in\n> +++ b/package/libcamera/Config.in\n> @@ -5,6 +5,8 @@ menuconfig BR2_PACKAGE_LIBCAMERA\n>  \tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14\n>  \tdepends on !BR2_STATIC_LIBS # gnutls\n>  \tdepends on BR2_USE_WCHAR # gnutls\n> +\t# Invalid packing size of ControlValue struct on m68k\n> +\tdepends on !BR2_m68k\n>  \tselect BR2_PACKAGE_GNUTLS\n>  \tselect BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE\n>  \thelp\n> -- \n> 2.25.1\n> \n> _______________________________________________\n> buildroot mailing list\n> buildroot@busybox.net\n> http://lists.busybox.net/mailman/listinfo/buildroot","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 4E34EBE174\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  4 Sep 2020 20:34:07 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A256F62B5B;\n\tFri,  4 Sep 2020 22:34:06 +0200 (CEST)","from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 23ADC60599\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Sep 2020 22:34:05 +0200 (CEST)","from ymorin.is-a-geek.org (unknown\n\t[IPv6:2a01:cb19:8b51:cb00:5967:c4ae:80bb:c858])\n\t(Authenticated sender: yann.morin.1998)\n\tby smtp3-g21.free.fr (Postfix) with ESMTPSA id CDAEA13F7F0;\n\tFri,  4 Sep 2020 22:33:58 +0200 (CEST)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tFri, 04 Sep 2020 22:33:58 +0200"],"Date":"Fri, 4 Sep 2020 22:33:58 +0200","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Message-ID":"<20200904203358.GL14354@scaer>","References":"<20200904095148.844292-1-kieran.bingham@ideasonboard.com>\n\t<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tbuildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":12309,"web_url":"https://patchwork.libcamera.org/comment/12309/","msgid":"<20200904203613.GM14354@scaer>","date":"2020-09-04T20:36:13","subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","submitter":{"id":11,"url":"https://patchwork.libcamera.org/api/people/11/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Kieran, All,\n\nOn 2020-09-04 22:33 +0200, Yann E. MORIN spake thusly:\n> On 2020-09-04 10:51 +0100, Kieran Bingham spake thusly:\n> > The ControlValue structure is currently defined with a 16-bit hole\n> > (causing unaligned access to the numElements_ field, though that's a\n> > separate topic).\n> > \n> > This structure has a static assertion to ensure that its size does not\n> > change without due care, as it forms part of our ABI and is used in\n> > Serialisation between the pipeline handlers and IPA componenents.\n> > \n> > The m68k architecture is the only target which fails this assertion,\n> > which is likely because it can pack the structure more efficiently,\n> > producing a different binary size.\n> > \n> > This is likely an area we will tackle before stabilising our ABI, but\n> > until then, disable m68k builds as libcamera is not expected to be\n> > supported on this target.\n> > \n> > Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n> \n> Applied to master, after doing the slight adjustments suggested by\n> Thomas:\n> \n>   - introduce BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS\n>   - propagate that to the comment\n>   - add autobuilder reference\n\nAh, I forgot to note:\n  - move the arch dependency to the top (indeed we like to have those\n    dependencies first:\n        https://buildroot.org/downloads/manual/manual.html#_config_files\n\nCheers!\n\nRegards,\nYann E. MORIN.\n\n> Thanks!\n> \n> Regards,\n> Yann E. MORIN.\n> \n> > ---\n> >  package/libcamera/Config.in | 2 ++\n> >  1 file changed, 2 insertions(+)\n> > \n> > diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in\n> > index 960d78b82e95..1ea747d1c57e 100644\n> > --- a/package/libcamera/Config.in\n> > +++ b/package/libcamera/Config.in\n> > @@ -5,6 +5,8 @@ menuconfig BR2_PACKAGE_LIBCAMERA\n> >  \tdepends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14\n> >  \tdepends on !BR2_STATIC_LIBS # gnutls\n> >  \tdepends on BR2_USE_WCHAR # gnutls\n> > +\t# Invalid packing size of ControlValue struct on m68k\n> > +\tdepends on !BR2_m68k\n> >  \tselect BR2_PACKAGE_GNUTLS\n> >  \tselect BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE\n> >  \thelp\n> > -- \n> > 2.25.1\n> > \n> > _______________________________________________\n> > buildroot mailing list\n> > buildroot@busybox.net\n> > http://lists.busybox.net/mailman/listinfo/buildroot\n> \n> -- \n> .-----------------.--------------------.------------------.--------------------.\n> |  Yann E. MORIN  | Real-Time Embedded | /\"\\ ASCII RIBBON | Erics' conspiracy: |\n> | +33 662 376 056 | Software  Designer | \\ / CAMPAIGN     |  ___               |\n> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \\e/  There is no  |\n> | http://ymorin.is-a-geek.org/ | _/*\\_ | / \\ HTML MAIL    |   v   conspiracy.  |\n> '------------------------------^-------^------------------^--------------------'\n> _______________________________________________\n> buildroot mailing list\n> buildroot@busybox.net\n> http://lists.busybox.net/mailman/listinfo/buildroot","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 7D72FBF019\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri,  4 Sep 2020 20:36:22 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2670062B5B;\n\tFri,  4 Sep 2020 22:36:22 +0200 (CEST)","from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6DF6260599\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri,  4 Sep 2020 22:36:20 +0200 (CEST)","from ymorin.is-a-geek.org (unknown\n\t[IPv6:2a01:cb19:8b51:cb00:5967:c4ae:80bb:c858])\n\t(Authenticated sender: yann.morin.1998)\n\tby smtp3-g21.free.fr (Postfix) with ESMTPSA id 29E0713F879;\n\tFri,  4 Sep 2020 22:36:14 +0200 (CEST)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tFri, 04 Sep 2020 22:36:13 +0200"],"Date":"Fri, 4 Sep 2020 22:36:13 +0200","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","Message-ID":"<20200904203613.GM14354@scaer>","References":"<20200904095148.844292-1-kieran.bingham@ideasonboard.com>\n\t<20200904095148.844292-2-kieran.bingham@ideasonboard.com>\n\t<20200904203358.GL14354@scaer>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20200904203358.GL14354@scaer>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Subject":"Re: [libcamera-devel] [Buildroot] [PATCH 1/3] package/libcamera:\n\tPrevent builds on m68k","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tbuildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}},{"id":12312,"web_url":"https://patchwork.libcamera.org/comment/12312/","msgid":"<87ft7wjtg2.fsf@dell.be.48ers.dk>","date":"2020-09-05T12:31:41","subject":"Re: [libcamera-devel] [PATCH 1/3] package/libcamera: Prevent builds\n\ton m68k","submitter":{"id":68,"url":"https://patchwork.libcamera.org/api/people/68/","name":"Peter Korsgaard","email":"peter@korsgaard.com"},"content":">>>>> \"Kieran\" == Kieran Bingham <kieran.bingham@ideasonboard.com> writes:\n\n > The ControlValue structure is currently defined with a 16-bit hole\n > (causing unaligned access to the numElements_ field, though that's a\n > separate topic).\n\n > This structure has a static assertion to ensure that its size does not\n > change without due care, as it forms part of our ABI and is used in\n > Serialisation between the pipeline handlers and IPA componenents.\n\n > The m68k architecture is the only target which fails this assertion,\n > which is likely because it can pack the structure more efficiently,\n > producing a different binary size.\n\n > This is likely an area we will tackle before stabilising our ABI, but\n > until then, disable m68k builds as libcamera is not expected to be\n > supported on this target.\n\n > Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\nCommitted to 2020.08.x, thanks.","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id BBCE1BDB1D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat,  5 Sep 2020 15:31:55 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 410E5629B6;\n\tSat,  5 Sep 2020 17:31:55 +0200 (CEST)","from mail-ed1-x543.google.com (mail-ed1-x543.google.com\n\t[IPv6:2a00:1450:4864:20::543])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6855F62901\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat,  5 Sep 2020 14:31:43 +0200 (CEST)","by mail-ed1-x543.google.com with SMTP id c8so8501778edv.5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 05 Sep 2020 05:31:43 -0700 (PDT)","from dell.be.48ers.dk (d51a5bc31.access.telenet.be.\n\t[81.165.188.49]) by smtp.gmail.com with ESMTPSA id\n\tch29sm8893537edb.74.2020.09.05.05.31.42\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSat, 05 Sep 2020 05:31:42 -0700 (PDT)","from peko by dell.be.48ers.dk with local (Exim 4.92)\n\t(envelope-from <peter@korsgaard.com>)\n\tid 1kEXM5-0000tk-ML; Sat, 05 Sep 2020 14:31:41 +0200"],"Authentication-Results":"lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"FT17KZBX\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:references:date:in-reply-to:message-id\n\t:user-agent:mime-version;\n\tbh=J4/P9FgkbVbBLbSW67Bt0Y32nlWmoy+jypMO2NSWCh0=;\n\tb=FT17KZBX8ozATKSYjf9IRGwIZOmifVIdw5BpM/PWyfceHiQQzS1PY1Gb6/XwdbzQMo\n\tmhgijjdbuc6q0wNnc14nIIKJiY7cZLulB04nSPbxi5gceJoqDx9GZ/GE+QgCouR/yasL\n\t0BLYIxiosSKoCFI+Txoqw3WiV62pxEpLpiZZrAYmQ18Ntnp9Br9eGYcUDVdMeKnvf/yj\n\tuPYdsDo/cqPJd1qq87ui/vQqtXUTB+5v/58iiU4xwK6kgSOFuey719HYuDuc7rk9wwjt\n\tRMEN48h2iYehxZgkJPgkspJYbO5c3WJvNSJTYMLRrVBZdPcovRfDay7UBvX1XwzdnJTe\n\ti0dQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:references:date\n\t:in-reply-to:message-id:user-agent:mime-version;\n\tbh=J4/P9FgkbVbBLbSW67Bt0Y32nlWmoy+jypMO2NSWCh0=;\n\tb=LOhh87F2JCC4pITnWrCkCm1A3pYlNSkVQueLaG7Wul08R+f1N45A7OSYvhatSx4Zff\n\twOUvvSWmtofMO4EYSEFxwL5WsDOKwwjLVeX8u6Q5lnWlaNfVlMWVE/9IJ18dhQFtykGP\n\t8sg6GznQDSTDKm0w4eQ+uMq3Lf0kyw79KiOMXd7dIxxyY2kqVsJEkDPL8Pud96muCIAg\n\tvNsn6PYoUvIsGvoVRzMM/cSL1EgQKyUixNK29bqYocJf5bDZ+4c9e0dp3eSBbVNH3aym\n\tBq3CMjPuNieMj8H5/6Rw42Z4CUG7+jY89Rw9WqKREn8+nH8ZNhMV8A+IoK7sO5lwz56W\n\tETew==","X-Gm-Message-State":"AOAM532MEpdTEnezqUFj8KxOEnZ4KzL0LFaOOgpirNKUtfElnZJ2JFvn\n\tBXC1e/2dgY8AFwleBe3JVNE=","X-Google-Smtp-Source":"ABdhPJzJvodZ/KVTQnED+OpD68BgSFBfvZM5TDoLjb8dbcr76oEQtVCJkT2OJM1BmBj5X26CiO9Vsw==","X-Received":"by 2002:aa7:db47:: with SMTP id n7mr9142786edt.315.1599309103035;\n\tSat, 05 Sep 2020 05:31:43 -0700 (PDT)","From":"Peter Korsgaard <peter@korsgaard.com>","To":"Kieran Bingham <kieran.bingham@ideasonboard.com>","References":"<20200904095148.844292-1-kieran.bingham@ideasonboard.com>\n\t<20200904095148.844292-2-kieran.bingham@ideasonboard.com>","Date":"Sat, 05 Sep 2020 14:31:41 +0200","In-Reply-To":"<20200904095148.844292-2-kieran.bingham@ideasonboard.com>\n\t(Kieran Bingham's message of \"Fri, 4 Sep 2020 10:51:45 +0100\")","Message-ID":"<87ft7wjtg2.fsf@dell.be.48ers.dk>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)","MIME-Version":"1.0","X-Mailman-Approved-At":"Sat, 05 Sep 2020 17:31:54 +0200","Subject":"Re: [libcamera-devel] [PATCH 1/3] package/libcamera: Prevent builds\n\ton m68k","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Cc":"libcamera devel <libcamera-devel@lists.libcamera.org>,\n\tbuildroot@buildroot.org","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"}}]