From patchwork Sun Mar 22 17:12:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Santos X-Patchwork-Id: 1259697 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=gG4F0o5H; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48lkcH6XJNz9sPk for ; Mon, 23 Mar 2020 04:13:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0545786CC0; Sun, 22 Mar 2020 17:13:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RfZDqjGB+w0q; Sun, 22 Mar 2020 17:13:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DC14286DEA; Sun, 22 Mar 2020 17:13:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 509551BF41F for ; Sun, 22 Mar 2020 17:13:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 4D84086CC0 for ; Sun, 22 Mar 2020 17:13:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UcXitxKdqABu for ; Sun, 22 Mar 2020 17:13:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6980D86DEA for ; Sun, 22 Mar 2020 17:13:10 +0000 (UTC) Received: by mail-qk1-f176.google.com with SMTP id o10so7044906qki.10 for ; Sun, 22 Mar 2020 10:13:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=gyha3fJaJLNLpOXaesXkr1jr2ukd65JtLlT7OjBzV7Y=; b=gG4F0o5H/mG/yE8JnhOMDSVcEIQtGW+crtRmuRNn6bGbfEoVLFb/56+LSeU52w0BZi gjZR+b6710CC65YHUfFJ/EYwih85Z7C2R6/3a6gNClGl4rn0RdsKIxEbPxik7koeaNj9 bq27d90dJc289jVJWdNiseJP6M5MatLtA0Gifkh/d492jvhMDJj7rR0lQOCGJxs3Jh2A khJ8dIU8adUQckGW/OQQXBE4SOg4kMtFjT7IZeXAcRaFl2urU3tNwkvpgtrCwxdkkxnt Td1dj87eZ027Bn8gE+qJ2POI5NtLaE/Dm4o8K1MZoEIdwBqpFqDnvOG1YaRLwGpQavR8 loXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=gyha3fJaJLNLpOXaesXkr1jr2ukd65JtLlT7OjBzV7Y=; b=KTXVEDEtzL/oddRzyXMQ7Y398HL36IyF7D4VzIUn7psl1soZEl50SG78l+MX6MWJ0E lYU3F0/9NOlEtXQpZYaa7I4Lv+klBzbnKzSOmba66KeNg3R/kVrBOR2TJJm4QKaN+PCo FVUmb+qfUDmOMPTWKCbpyl64UNfCXyTWv80OeSAqx89JLfQhhNYPripi0yZpBXvL4092 pxYPddoPqafKheVLxzpZ144d5jFnpuM+17Hsx20KsG8G4qSJLHC1PiexR0CSVptVskwq lQ1Hfq6OxfK7ypvYF16RXvy4oBbZmX8SiLmFXUftrWTZBUSaCPdbJpPy/thAHKEqQi+J f/ww== X-Gm-Message-State: ANhLgQ0f9Ohlht7XYZAAvzjzY63ZXMoVHHhj2So44NeAhxLsWptw5f/P dmNpBwBsFZ5iI2M4EYoLfJbkw1VIans= X-Google-Smtp-Source: ADFU+vvYc+MeW2JOueZMIA1HXpm3m2zy5lpSaC6+j4OkvFbQTfdfm5P51/sExYGIU5Gp51nvAR+lVA== X-Received: by 2002:a37:7846:: with SMTP id t67mr2494212qkc.77.1584897189187; Sun, 22 Mar 2020 10:13:09 -0700 (PDT) Received: from casantos.remote.com (189.27.250.150.dynamic.adsl.gvt.net.br. [189.27.250.150]) by smtp.gmail.com with ESMTPSA id u13sm9512865qtg.64.2020.03.22.10.13.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Mar 2020 10:13:08 -0700 (PDT) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Sun, 22 Mar 2020 14:12:59 -0300 Message-Id: <20200322171301.15753-1-unixmania@gmail.com> X-Mailer: git-send-email 2.18.2 Subject: [Buildroot] [PATCH v6 0/2] package/busybox: fix build with glibc 2.31 and musl-1.2.0 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlos Santos , Romain Naour , "Yann E . MORIN ." , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Carlos Santos Current release of busybox 1_31_1 is failing to build with glibc-2.31 due to removal of stime() from glibc. It also fails to build with musl 1.2.0 due to the direct use of __NR_clock_gettime. Add five patches applied upstream to fix these problems. Signed-off-by: Evgeniy Didin Signed-off-by: Carlos Santos Cc: Romain Naour Cc: Thomas Petazzoni Cc: Yann E. MORIN. Carlos Santos (2): package/busybox: fix build with musl 1.2.0 package/busybox: fix build with glibc 2.31 ...-Use-64-prefix-syscall-if-we-have-to.patch | 61 ++++++++ ...-Use-64-prefix-syscall-if-we-have-to.patch | 50 +++++++ ...-Use-64-prefix-syscall-if-we-have-to.patch | 50 +++++++ ...rappers-around-clock_gettime-closes-.patch | 134 ++++++++++++++++++ .../0007-Remove-stime-function-calls.patch | 97 +++++++++++++ 5 files changed, 392 insertions(+) create mode 100644 package/busybox/0003-date-Use-64-prefix-syscall-if-we-have-to.patch create mode 100644 package/busybox/0004-time-Use-64-prefix-syscall-if-we-have-to.patch create mode 100644 package/busybox/0005-runsv-Use-64-prefix-syscall-if-we-have-to.patch create mode 100644 package/busybox/0006-Remove-syscall-wrappers-around-clock_gettime-closes-.patch create mode 100644 package/busybox/0007-Remove-stime-function-calls.patch