Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216414/?format=api
{ "id": 2216414, "url": "http://patchwork.ozlabs.org/api/patches/2216414/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260326113620.2433228-1-chakrabortyshubham66@gmail.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260326113620.2433228-1-chakrabortyshubham66@gmail.com>", "list_archive_url": null, "date": "2026-03-26T11:36:19", "name": "[v3] package/icu: fix static linking with icu-uc", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "373d9e49842b93856fb286fd859540c2bd7eebd2", "submitter": { "id": 92564, "url": "http://patchwork.ozlabs.org/api/people/92564/?format=api", "name": "Shubham Chakraborty", "email": "chakrabortyshubham66@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260326113620.2433228-1-chakrabortyshubham66@gmail.com/mbox/", "series": [ { "id": 497575, "url": "http://patchwork.ozlabs.org/api/series/497575/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497575", "date": "2026-03-26T11:36:19", "name": "[v3] package/icu: fix static linking with icu-uc", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/497575/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216414/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216414/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@buildroot.org>", "X-Original-To": [ "incoming-buildroot@patchwork.ozlabs.org", "buildroot@buildroot.org" ], "Delivered-To": [ "patchwork-incoming-buildroot@legolas.ozlabs.org", "buildroot@buildroot.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=GpvvkuJ6;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fhMDw5TYJz1y1x\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Thu, 26 Mar 2026 22:36:48 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 661C5606F0;\n\tThu, 26 Mar 2026 11:36:46 +0000 (UTC)", "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id tuiQMS4wuUGS; Thu, 26 Mar 2026 11:36:45 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id 5ED3060034;\n\tThu, 26 Mar 2026 11:36:45 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id A0D32353\n for <buildroot@buildroot.org>; Thu, 26 Mar 2026 11:36:43 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 9251680D17\n for <buildroot@buildroot.org>; Thu, 26 Mar 2026 11:36:43 +0000 (UTC)", "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id XHpF8eFYsmg7 for <buildroot@buildroot.org>;\n Thu, 26 Mar 2026 11:36:42 +0000 (UTC)", "from mail-pf1-x434.google.com (mail-pf1-x434.google.com\n [IPv6:2607:f8b0:4864:20::434])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 7AFE480C6A\n for <buildroot@buildroot.org>; Thu, 26 Mar 2026 11:36:42 +0000 (UTC)", "by mail-pf1-x434.google.com with SMTP id\n d2e1a72fcca58-824c9da9928so797311b3a.3\n for <buildroot@buildroot.org>; Thu, 26 Mar 2026 04:36:42 -0700 (PDT)", "from fedora ([2409:40e5:11a6:4157:6782:ab8c:40e4:4b38])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82c7d20fc0fsm3041549b3a.19.2026.03.26.04.36.35\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 26 Mar 2026 04:36:40 -0700 (PDT)" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5ED3060034", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 7AFE480C6A" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774525005;\n\tbh=78c4o4GF8g2/X55pHMFjaVdAWU6whz9OL6BXpdrGaM4=;\n\th=From:To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From;\n\tb=GpvvkuJ6lNOG2L1/6q8ZolvfMg0QnxBnSveE/1NVnNM+OkZ3OWHYZl7Sw5llTwc9h\n\t IaaQUhEvz1evTwGro/EV50SN5d9cVESbbVaYvDR61NsLv2Ehn3iz7hejqYEYv4TF9m\n\t KJrtpb4C7gW0q7J/D4UYjNMEXLhGTcVW4XbXwHV5NT34knsl+QzGSD9MkqolkyCc7F\n\t kwcz87xL8pK4P21xCJBg/6DoVktyCstjW7QdkEuYo/lLysO8MT3cOXFWr4k/WOYfUL\n\t gP7B6cpengI0cTooJcClOVU5nb7Lnm3bL2kNnkaum61S5zIZszkbTg0mKrCS6VPZoc\n\t i7bbCBOYyLMwQ==", "Received-SPF": "Pass (mailfrom) identity=mailfrom;\n client-ip=2607:f8b0:4864:20::434; helo=mail-pf1-x434.google.com;\n envelope-from=chakrabortyshubham66@gmail.com; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 7AFE480C6A", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774525001; x=1775129801;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=dbG7Jw2hXEoiloiKHys6QzcPWv7MtqVelpTMibhAIRM=;\n b=MnWe5WLkh4PGOVEalAZfJt39l+vmBreDA3c2duUwdxw6EdrijdAA5dTUkETumFsfLm\n bMPJAnfPAzt+qUnk2P6bzNB6bCH8RCR4hGO7AhuJWqg/zqcG0DjzLCpSMTanx2hHNR3L\n 1FTeETVkD6ufm89fzgi4/3OH5FOKUPXNT+qgJIbTmokMuCbcpUVX2EyXJQXMWqZn79dZ\n lILUzCxVBCT9fa4YwBWSTI/ElDqLa34C90RXqEWKgEhqt8GRrwhTZxqNEY0oBzR9xky3\n ykKJZ7VZ9pSb4ivjMxBYvdybKYBXNjL7LcUfYoEEsFxu1+RRG14VW+3yVFVQSM/WYNXG\n 99uA==", "X-Gm-Message-State": "AOJu0Yw8VVM+GOZXyiT7S28Kmhl7LdN1+ob5AXu0UGM1cCchnRArpXWM\n TiWyZzXtKom6fsn56xiIyu4KI1DCIcHuWTddE1zQQZB6AkQDFTf6oH5t3kaHH0Xb", "X-Gm-Gg": "ATEYQzwTbSb7g/AQhsw1a2Cr7gCmClaPmZhZFgVPQvE+LMOYjSIlFUC5hUymZAv58kg\n Sdnv9GZUk4+V1BXZrkMst0Y9iXRTys0DjCq92bIaLV64MHklCl8NbGoCmlBF0IDcicGPFU6YaBJ\n 4tr9R4apUTdNXufwAaD2cZfbzM6TwVI5FXsWtvXC5XKg6bz981Z23jys73QqBlzi6xp+FfXy/yz\n kzE1J+MBHy5IUub5jQsQT3P57G58+W9an0vvAjxuA+O4ut7ogp2N9doB9qVHsRxfGOWNs85gkpD\n fE2fjl62jc6uDZvk+aJraySG33VcZABX8IfHbEASGGpRdiMMlCtqiJWSz1klRvCtopbn1HJxUFi\n QrXjUgaAOzHZfU86h2Cl7/o8ZtuudnIVp+BgrgghyHcHFMaF9Q+u0cQUFJqg2NHYnsvgfb+NH3W\n 8bWiRVBNp5HXf7YEcm3mRoqwrIQRuouWeE9d/jqPKA2XrOZQ==", "X-Received": "by 2002:a05:6a00:3989:b0:829:7d1c:29ff with SMTP id\n d2e1a72fcca58-82c6e1211c7mr7266320b3a.57.1774525001103;\n Thu, 26 Mar 2026 04:36:41 -0700 (PDT)", "From": "Shubham Chakraborty <chakrabortyshubham66@gmail.com>", "To": "buildroot@buildroot.org", "Cc": "thomas.petazzoni@bootlin.com, romain.naour@gmail.com, br025@umbiko.net,\n Shubham Chakraborty <chakrabortyshubham66@gmail.com>", "Date": "Thu, 26 Mar 2026 17:06:19 +0530", "Message-ID": "<20260326113620.2433228-1-chakrabortyshubham66@gmail.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260303182128.1242999-1-chakrabortyshubham66@gmail.com>", "References": "<20260303182128.1242999-1-chakrabortyshubham66@gmail.com>", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1774525001; x=1775129801; darn=buildroot.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=dbG7Jw2hXEoiloiKHys6QzcPWv7MtqVelpTMibhAIRM=;\n b=R3ompXQlDYzAWrddvbt2FpqNNKKXk2GIgAZYnWr0bnI5CL4LxCyyylXG/faHzjqqvk\n i77qqalP1fzrZXsAtQVEa6XX8f0MWiaMX9iWa8r9SIHAfZ3XtbI8ibFBbnztHJsXlqw5\n 6T0a6QIjH1Xv5nSrTnSa6G1N4euJQb60oU9ecCzlvwUy/4xcT2AaW0uhwBqIaIsDH1BX\n EfhApcp9hOqom6v9EMdVswgiteXEQkpF3HJPGuv2XVZ+rwrP7ASR+2fGHwDtM37FQT6/\n zZEtin9fBHWle3SUsxRLq7Wcp+yrMxZkSm+n+QJvbSihhuAKtE9AUesA5Q4UvvfiLz7C\n ARTw==", "X-Mailman-Original-Authentication-Results": [ "smtp1.osuosl.org;\n dmarc=pass (p=none dis=none)\n header.from=gmail.com", "smtp1.osuosl.org;\n dkim=pass (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=R3ompXQl" ], "Subject": "[Buildroot] [PATCH v3] package/icu: fix static linking with icu-uc", "X-BeenThere": "buildroot@buildroot.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>", "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>", "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@buildroot.org>", "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>", "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "Extend the existing patch to also add -lstdc++ to the Libs\nfield, fixing static linking issues with libicuuc.a.\n\nThis combines the previous 0003 and 0004 changes into a\nsingle patch, following review feedback from Andreas.\n\nSigned-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n---\nChanges v2 -> v3:\n - Merge previous 0003 and 0004 into a single patch\n - Extend existing fix to also add -lstdc++ to Libs (static linking case)\n - Keep original authorship and add my Signed-off-by below Romain's\n - Update commit message and description based on review feedback\n---\n .../0003-fix-static-linking-with-icu-uc.patch | 29 ++++++++++++-------\n ...atic-linking-with-icu-uc-static-musl.patch | 26 -----------------\n 2 files changed, 19 insertions(+), 36 deletions(-)\n delete mode 100644 package/icu/0004-fix-static-linking-with-icu-uc-static-musl.patch", "diff": "diff --git a/package/icu/0003-fix-static-linking-with-icu-uc.patch b/package/icu/0003-fix-static-linking-with-icu-uc.patch\nindex 36a3d1f696..ec393254e8 100644\n--- a/package/icu/0003-fix-static-linking-with-icu-uc.patch\n+++ b/package/icu/0003-fix-static-linking-with-icu-uc.patch\n@@ -3,9 +3,6 @@ From: Romain Naour <romain.naour@openwide.fr>\n Date: Wed, 22 Jul 2015 22:43:25 +0200\n Subject: [PATCH] fix static linking with icu-uc\n \n-During static linking with a C application and libicuuc.a,\n--lstdc++ is required.\n-\n Add -lstdc++ in Libs.private of icu-uc.pc.\n \n Fixes:\n@@ -13,14 +10,26 @@ http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef52\n \n Signed-off-by: Romain Naour <romain.naour@openwide.fr>\n ---\n- source/Makefile.in | 2 +-\n- 1 file changed, 1 insertion(+), 1 deletion(-)\n+This patch currently addresses linking against stdc++ for shared-library\n+builds. Add -lstdc++ to the static build flags also, to fix 'undefined\n+reference' errors when linking programs like xmlcatalog (libxml2)\n+with musl static toolchains.\n+\n+Upstream: Inactive-Upstream [Buildroot specific]\n+Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n+---\n+ source/Makefile.in | 4 ++--\n+ 1 file changed, 2 insertions(+), 2 deletions(-)\n \n-diff -git icu.orig/source/Makefile.in icu/source/Makefile.in\n---- icu.orig/source/Makefile.in\t2025-03-13 19:31:23.000000000 +0100\n-+++ icu/source/Makefile.in\t2025-09-22 08:56:36.791792784 +0200\n-@@ -279,7 +279,7 @@\n- \t@echo \"Libs:\" '-L$${libdir}' \"${ICULIBS_UC}\" \"${ICULIBS_DT}\" '$${baselibs}' >> $@\n+diff --git icu.orig/source/Makefile.in icu/source/Makefile.in\n+--- icu.orig/source/Makefile.in\n++++ icu/source/Makefile.in\n+@@ -279,10 +279,10 @@ config/icu-uc.pc: config/icu.pc Makefile icudefs.mk\n+ \t@echo \"Description: $(PACKAGE_ICU_DESCRIPTION): Common and Data libraries\" >> $@\n+ \t@echo \"Name: $(PACKAGE)-uc\" >> $@\n+ ifeq ($(ENABLE_SHARED),)\n+-\t@echo \"Libs:\" '-L$${libdir}' \"${ICULIBS_UC}\" \"${ICULIBS_DT}\" '$${baselibs}' >> $@\n++\t@echo \"Libs:\" '-L$${libdir}' \"${ICULIBS_UC}\" \"${ICULIBS_DT}\" '$${baselibs}' -lstdc++ >> $@\n else\n \t@echo \"Libs:\" '-L$${libdir}' \"${ICULIBS_UC}\" >> $@\n -\t@echo \"Libs.private:\" \"${ICULIBS_DT}\" '$${baselibs}' >> $@\ndiff --git a/package/icu/0004-fix-static-linking-with-icu-uc-static-musl.patch b/package/icu/0004-fix-static-linking-with-icu-uc-static-musl.patch\ndeleted file mode 100644\nindex e17f6ac775..0000000000\n--- a/package/icu/0004-fix-static-linking-with-icu-uc-static-musl.patch\n+++ /dev/null\n@@ -1,26 +0,0 @@\n-From 2107f9dfb39eeb6559fb4271c7af8b39aef521ca Mon Sep 17 00:00:00 2001\n-From: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n-Date: Tue, 3 Mar 2026 10:00:00 +0000\n-Subject: [PATCH] fix static linking with icu-uc (static case)\n-\n-During static linking with a C application and libicuuc.a,\n--lstdc++ is required. The previous patch (0003) only addressed the\n-shared library case (Libs.private). This patch adds -lstdc++ to the\n-main Libs line for the static case to fix undefined reference\n-errors when linking programs like xmlcatalog (libxml2) with\n-musl toolchains.\n-\n-Upstream: Inactive-Upstream [Buildroot specific]\n-Signed-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n----\n- source/Makefile.in | 2 +-\n- 1 file changed, 1 insertion(+), 1 deletion(-)\n-\n-diff -git icu.orig/source/Makefile.in icu/source/Makefile.in\n---- icu.orig/source/Makefile.in\n-+++ icu/source/Makefile.in\n-@@ -281,3 +281,3 @@\n- ifeq ($(ENABLE_SHARED),)\n--\t@echo \"Libs:\" '-L$${libdir}' \"${ICULIBS_UC}\" \"${ICULIBS_DT}\" '$${baselibs}' >> $@\n-+\t@echo \"Libs:\" '-L$${libdir}' \"${ICULIBS_UC}\" \"${ICULIBS_DT}\" '$${baselibs}' -lstdc++ >> $@\n- else\n", "prefixes": [ "v3" ] }