Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217378/?format=api
{ "id": 2217378, "url": "http://patchwork.ozlabs.org/api/patches/2217378/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260328074708.98982-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": "<20260328074708.98982-1-chakrabortyshubham66@gmail.com>", "list_archive_url": null, "date": "2026-03-28T07:47:07", "name": "[v5] icu: fix static linking by adding -lstdc++ to pkg-config", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "09dc6bc7820d6578390f562ba23f5be437b465e0", "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/20260328074708.98982-1-chakrabortyshubham66@gmail.com/mbox/", "series": [ { "id": 497857, "url": "http://patchwork.ozlabs.org/api/series/497857/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=497857", "date": "2026-03-28T07:47:07", "name": "[v5] icu: fix static linking by adding -lstdc++ to pkg-config", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/497857/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217378/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217378/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=a4/B/dT3;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=140.211.166.138; helo=smtp1.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\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 4fjV3R0z7Gz1y1j\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Sat, 28 Mar 2026 18:47:29 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 1C6A583F97;\n\tSat, 28 Mar 2026 07:47:27 +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 2RWOppnXWGos; Sat, 28 Mar 2026 07:47:26 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp1.osuosl.org (Postfix) with ESMTP id 1838383F98;\n\tSat, 28 Mar 2026 07:47:26 +0000 (UTC)", "from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n by lists1.osuosl.org (Postfix) with ESMTP id EFDD71D3\n for <buildroot@buildroot.org>; Sat, 28 Mar 2026 07:47:23 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id D5BCB83F98\n for <buildroot@buildroot.org>; Sat, 28 Mar 2026 07:47:23 +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 B-hf4Cg-1SeP for <buildroot@buildroot.org>;\n Sat, 28 Mar 2026 07:47:23 +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 0E79083F97\n for <buildroot@buildroot.org>; Sat, 28 Mar 2026 07:47:22 +0000 (UTC)", "by mail-pf1-x434.google.com with SMTP id\n d2e1a72fcca58-827270d50d4so2610564b3a.3\n for <buildroot@buildroot.org>; Sat, 28 Mar 2026 00:47:22 -0700 (PDT)", "from fedora ([2409:4064:4d81:53cb:f362:7305:74ef:5b70])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82ca85d4d90sm1529247b3a.36.2026.03.28.00.47.18\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 28 Mar 2026 00:47:20 -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 smtp1.osuosl.org 1838383F98", "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0E79083F97" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1774684046;\n\tbh=myNYc26asjQqA9VpF8yMG4/28HGh73eLQlQXUTXlfG0=;\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=a4/B/dT3L9ukIADTWSI/TdDF2Kjr5c8LTE4m9n5pThdauhmxKNKjRmKrk76CmsVVe\n\t qFmqGCnlhIBqzIhuMfuIfD6XJL7GPwyZK7LEbch0eMWbgfp9k+0t2+IT2g/mmn+8Dk\n\t mZzZzlpxkbCecMGc6PFBnMs9yH44hP+Wj32GFjTcHZvkdc7i3RQZK1VKMkKCk4VP9j\n\t 5uiEwvAftBtAmxTFzyhFF5F7ysmldkSbjO0hJAoEGZZKFFA1POarX2eKKFViva+/Ei\n\t IxtYoufoO+KV6Jyqtac9GkIzHuijRuGGOnAbYZzbzrQwxGIp2WfcQJVbRXwsAE9q4F\n\t sGoFGUPJfwDqg==", "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 0E79083F97", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774684041; x=1775288841;\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=J+MXU1PjKE4xadIOYw6iYCyOPxZccQQMHK9coQyJo4A=;\n b=S1rb/A2KG75yOtmGdqiNbbcZoO6fCr/C5AYXvhdy6F2TGwoClz+i5PuE53maYt4tfm\n iADmFZdcCDUPVowAY9XaxeFur/Y4yw5i0UkhJN7EyZsQfb5kYt+FJLpU4r9oh2FYdsFA\n /jsB2/zOiB67lV4ZH6pt+j7mB4wBUdzrYqFsQeeBusVje0E4p8EaP1EmcRy/uPepksib\n TYRSRV/4K5sCM4L/+7opytKFJ9gyLFd0Zv9U4ElzTJe4O47O2dJDsUFYDx5pp5Gf5DLy\n KnOATpImXGEqaOfBM4io9IMxtwoXWNOOcc4fbxixCT0SNAuniAWIy/UD3Ly59z4KY8c/\n SQ9g==", "X-Gm-Message-State": "AOJu0Yyv1Y3SXhnfE8f0J6ghGN+LW/l97cxTPlceC7/MPSDpObQJ6ZBC\n 7sYa/WMG/5tgo6BGWLJ/SbV16zrB+UH3BKVEO7UTAcoTkjr9PITvuG3JkRTVptKT", "X-Gm-Gg": "ATEYQzzsx35ZSP/5rOWWPeoi8jxzYgfs8m+n1+z1WwLvE3OhLBShMTbGjeMsASS4Miy\n hxrTjgbfhBGdih3sRf+seEcZUaLNTOtwN4WZ0ghmVpBj13XNDiNn/jqU6/4rXr45Zb0VumB1I97\n dKgeP36/nwAoJAKWEqPbCsePO1ZWVIadodiq2amj7hiIKIMLB+0eBLoy/UaNDcQuhvJx1LZAKYq\n 825ZFq5jKq4DwMaEbL6QAf+TBxVZ2Lb2+ZWDu52xp5BW5lNy9YKFRTUaM5BYayQfZ5TrSmzEzUv\n gAd6XBImgYpN6PzRJ2G+f/l4KADi3cA1j012HetkzID8U9QBWDWcseDzhnCS6g2bbbnpHL4+xND\n xaTgr7ruRJz4LGR8tUPR8gTJGgKStKdkFJoPYnsTLavU4GyzOnqaA8Q8yCNEy99HS5BYJ/DrgaY\n wfnodFUeeBvzrqZAnV7S5uZzx8BllQZD9GAnkKElbMDLcNs34=", "X-Received": "by 2002:a05:6a00:3685:b0:823:9c6:1985 with SMTP id\n d2e1a72fcca58-82c95afd63bmr5471297b3a.16.1774684041478;\n Sat, 28 Mar 2026 00:47:21 -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": "Sat, 28 Mar 2026 13:17:07 +0530", "Message-ID": "<20260328074708.98982-1-chakrabortyshubham66@gmail.com>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260327094348.193822-1-chakrabortyshubham66@gmail.com>", "References": "<20260327094348.193822-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=1774684041; x=1775288841; 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=J+MXU1PjKE4xadIOYw6iYCyOPxZccQQMHK9coQyJo4A=;\n b=jIq+2k+haLuaG/TzhXgjfwlN6NCuxQLAXxrvsTttMhjSUwjrPYrGppyRfhrH8xp6ya\n VJV3O03KtOv/AJIv21aHxzlIg+KlWv1XnLPLvSJkcqEcpnSyDsN0bLmaSOiJEKe9NgMl\n g1fsHXQsk07dCVK73fxuRY1W6DeKeLtdMq1uD8MsztV6z0pqM9fP3YCy90QBtuhYgCyf\n fkjXBW0r71zUu8rQA7yX792RPDQeZc4RznQ0HGwYp6FgaoQPjWvRa1JZrLAJOdLzEvYy\n QkiAHNfbwCd5SksEVPFcPiUr/HHIe+eIrUjXtTST0B5Kb2/GG6oyLIKVPoOiX8DvX930\n JM0A==", "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) header.d=gmail.com header.i=@gmail.com\n header.a=rsa-sha256 header.s=20251104 header.b=jIq+2k+h" ], "Subject": "[Buildroot] [PATCH v5] icu: fix static linking by adding -lstdc++\n to pkg-config", "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": "The ICU library requires C++ standard library when linking statically.\nWithout this, applications using pkg-config --libs --static icu-uc\nwill fail to link with undefined reference errors to C++ symbols.\n\nThis patch extends the existing fix for static linking to also add\n-lstdc++ to the Libs field in the pkg-config file when building\nin static-only mode (ENABLE_SHARED is not set).\n\nSigned-off-by: Shubham Chakraborty <chakrabortyshubham66@gmail.com>\n---\n .../0003-fix-static-linking-with-icu-uc.patch | 20 +++++++++++++++----\n 1 file changed, 16 insertions(+), 4 deletions(-)", "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..d74aca8088 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@@ -13,14 +13,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+@@ -276,10 +276,10 @@\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}' >> $@\n", "prefixes": [ "v5" ] }