{"id":809147,"url":"http://patchwork.ozlabs.org/api/1.0/patches/809147/?format=json","project":{"id":27,"url":"http://patchwork.ozlabs.org/api/1.0/projects/27/?format=json","name":"Buildroot development","link_name":"buildroot","list_id":"buildroot.buildroot.org","list_email":"buildroot@buildroot.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20170902205423.21288-8-romain.naour@gmail.com>","date":"2017-09-02T20:54:19","name":"[v2,07/11] package/flex: disable reallocarray","commit_ref":null,"pull_url":null,"state":"awaiting-upstream","archived":false,"hash":"9cc58d5ac70668142cc0a4fbf0d7799ecbec8530","submitter":{"id":67942,"url":"http://patchwork.ozlabs.org/api/1.0/people/67942/?format=json","name":"Romain Naour","email":"romain.naour@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/buildroot/patch/20170902205423.21288-8-romain.naour@gmail.com/mbox/","series":[{"id":1178,"url":"http://patchwork.ozlabs.org/api/1.0/series/1178/?format=json","date":"2017-09-02T20:54:12","name":"glibc: bump to 2.26","version":2,"mbox":"http://patchwork.ozlabs.org/series/1178/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/809147/checks/","tags":{},"headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.137; helo=fraxinus.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"qIL7bmtS\"; dkim-atps=neutral"],"Received":["from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xl7f415Ndz9sRW\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 06:54:52 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 7E9878376C;\n\tSat,  2 Sep 2017 20:54:46 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 4U_QN3F5X_74; Sat,  2 Sep 2017 20:54:45 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id E636C83511;\n\tSat,  2 Sep 2017 20:54:44 +0000 (UTC)","from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 98FF41BFF90\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:39 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 515F2833F0\n\tfor <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:39 +0000 (UTC)","from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 34Kx_Q-UDVxt for <buildroot@lists.busybox.net>;\n\tSat,  2 Sep 2017 20:54:38 +0000 (UTC)","from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby fraxinus.osuosl.org (Postfix) with ESMTPS id 6C92081E69\n\tfor <buildroot@buildroot.org>; Sat,  2 Sep 2017 20:54:36 +0000 (UTC)","by mail-wm0-f67.google.com with SMTP id l19so3102016wmi.1\n\tfor <buildroot@buildroot.org>; Sat, 02 Sep 2017 13:54:36 -0700 (PDT)","from localhost.localdomain\n\t([2a01:e35:1391:67d0:e6f9:2d2f:1a1e:79bf])\n\tby smtp.gmail.com with ESMTPSA id\n\t52sm2295647wru.59.2017.09.02.13.54.33\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 02 Sep 2017 13:54:34 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=cgPxhZECvt5+vfTp8MwvUmdG2PGOOQHe4yRK9LWoBPk=;\n\tb=qIL7bmtSgG9/cXeqFYSYoBXqVnXDFoSlCk0likQk8pyqMXKpkALX22ZYTCSWNYpIyU\n\tUrBwkENqcEYV7RFqYJOcwQMhiE4d2VduAIHWhSpzOTH/Vz0cuenPojp7MTTVEgJ+umq3\n\tDo880k2mS7zIKYxwnUtpRhoBkwOxatfEDVITlvNlseK9vPtbWQ0gk5psvsjbVhwIwTxL\n\td/xlDhVfeMkY+DJ1EqYsxI9bFy5daECZxn4pd1BvHHpJOXRIX6Q0wpYB3dxrrjrc1aTA\n\tpG9ZkZY1bdM1vC9l2I2366ceWkeYfEFnB14sRqsGPJvv/Ft2ArZwX5kXCn5LVGwU0UHU\n\tUlnw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=cgPxhZECvt5+vfTp8MwvUmdG2PGOOQHe4yRK9LWoBPk=;\n\tb=UYjffLc6cTxPNJ7g96IEODDWe8onHSNtBTqtaMKvCbMeps7Z2e+Z1oEHLqcfOwx8lI\n\t14ruv76EQ6gdmPl8oyleX56p2ASSW4bXRzG3oDQDpazMwY9+cmOufDZHuCqAG61qogIj\n\t4BqqxEguxD/H8Lq4EX68zXZ+ewSg3EmfLcA1HfxgYQRzinXO4F9uQ42CcYeEKhQ0r/Ai\n\tdFQUDF3XKKI/2tSnuFXrEnxeDMbqwMHUaI/71i90u5RRWod78cxZvHtxz3c75RjHw9zE\n\taLnxMFR4y34P589cDnxJjXEo/JyKLsSCprHLFTPzGhy1ToAcE6IVE4e07iUy9LXTidqC\n\t+i1Q==","X-Gm-Message-State":"AHPjjUhwnKmwsRP7VT0cyW81EMxC/rPisSFv6D4m5FtBhHHFPnn+dJvl\n\tdFWypmZ765qtC+1L/3c=","X-Google-Smtp-Source":"ADKCNb5ciSoO9cpF9ULnRE1IxX3ODZ+llv93mlFzOkalooXzb4R1LQGDTbR8dbEjEvyT3KRczhjL0w==","X-Received":"by 10.28.113.214 with SMTP id d83mr1428853wmi.192.1504385674736; \n\tSat, 02 Sep 2017 13:54:34 -0700 (PDT)","From":"Romain Naour <romain.naour@gmail.com>","To":"buildroot@buildroot.org","Date":"Sat,  2 Sep 2017 22:54:19 +0200","Message-Id":"<20170902205423.21288-8-romain.naour@gmail.com>","X-Mailer":"git-send-email 2.9.5","In-Reply-To":"<20170902205423.21288-1-romain.naour@gmail.com>","References":"<20170902205423.21288-1-romain.naour@gmail.com>","Cc":"Romain Naour <romain.naour@gmail.com>","Subject":"[Buildroot] [PATCH v2 07/11] package/flex: disable reallocarray","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"},"content":"This doesn't compile with glibc 2.26 where reallocarray() as been introduced.\n\nFixes:\nstage1flex-misc.o: In function `allocate_array':\nmisc.c:(.text+0x38f): undefined reference to `reallocarray'\nstage1flex-misc.o: In function `reallocate_array':\nmisc.c:(.text+0xc8a): undefined reference to `reallocarray'\ncollect2: error: ld returned 1 exit status\n\nSigned-off-by: Romain Naour <romain.naour@gmail.com>\n---\n package/flex/flex.mk | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)","diff":"diff --git a/package/flex/flex.mk b/package/flex/flex.mk\nindex b782699..0196624 100644\n--- a/package/flex/flex.mk\n+++ b/package/flex/flex.mk\n@@ -10,7 +10,8 @@ FLEX_INSTALL_STAGING = YES\n FLEX_LICENSE = FLEX\n FLEX_LICENSE_FILES = COPYING\n FLEX_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-m4\n-FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4\n+FLEX_CONF_ENV = ac_cv_path_M4=/usr/bin/m4 \\\n+\tac_cv_func_reallocarray=no\n HOST_FLEX_DEPENDENCIES = host-m4\n \n define FLEX_DISABLE_PROGRAM\n","prefixes":["v2","07/11"]}