Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/125313/?format=api
http://patches.dpdk.org/api/patches/125313/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230320102624.1258816-2-david.marchand@redhat.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20230320102624.1258816-2-david.marchand@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230320102624.1258816-2-david.marchand@redhat.com", "date": "2023-03-20T10:26:23", "name": "[2/2] ci: test compilation with debug", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "049ee2ee31758e769f7da5ec36c10f34c5c31ae5", "submitter": { "id": 1173, "url": "http://patches.dpdk.org/api/people/1173/?format=api", "name": "David Marchand", "email": "david.marchand@redhat.com" }, "delegate": { "id": 1, "url": "http://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230320102624.1258816-2-david.marchand@redhat.com/mbox/", "series": [ { "id": 27461, "url": "http://patches.dpdk.org/api/series/27461/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=27461", "date": "2023-03-20T10:26:22", "name": "[1/2] app/mldev: fix build with debug", "version": 1, "mbox": "http://patches.dpdk.org/series/27461/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/125313/comments/", "check": "warning", "checks": "http://patches.dpdk.org/api/patches/125313/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C65FA427E0;\n\tMon, 20 Mar 2023 11:26:44 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B8A95410F3;\n\tMon, 20 Mar 2023 11:26:44 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by mails.dpdk.org (Postfix) with ESMTP id 1E185406BC\n for <dev@dpdk.org>; Mon, 20 Mar 2023 11:26:44 +0100 (CET)", "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n us-mta-131-516XRPUkNcaTtiwKC0gfFA-1; Mon, 20 Mar 2023 06:26:37 -0400", "from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com\n [10.11.54.10])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 43A7588B7A1;\n Mon, 20 Mar 2023 10:26:37 +0000 (UTC)", "from dmarchan.redhat.com (unknown [10.45.224.63])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 89C064619F4;\n Mon, 20 Mar 2023 10:26:36 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1679308003;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=WxOs+ge8n2z1PpFhzksDtNZjWpeoofb1VfW6N/vlKLw=;\n b=IZ8Pa8k/ulyLsmpRpjkXBWDdZBUjwOYHgJxiZjJcjtQwAdtFt+ByH98wkn2yaRiepc3v+L\n sLTDJYxFtEDSpBi6Fkw5gSY7C0ZJ+n0PyTwOyCnJuD3DeQI8yAcgq1A0cLCVOkJL/PcIix\n ZIQmvovjZ9+d2PT7U11EHoQJqIZNhd0=", "X-MC-Unique": "516XRPUkNcaTtiwKC0gfFA-1", "From": "David Marchand <david.marchand@redhat.com>", "To": "dev@dpdk.org", "Cc": "Aaron Conole <aconole@redhat.com>,\n Michael Santana <maicolgabriel@hotmail.com>", "Subject": "[PATCH 2/2] ci: test compilation with debug", "Date": "Mon, 20 Mar 2023 11:26:23 +0100", "Message-Id": "<20230320102624.1258816-2-david.marchand@redhat.com>", "In-Reply-To": "<20230320102624.1258816-1-david.marchand@redhat.com>", "References": "<20230320102624.1258816-1-david.marchand@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 3.1 on 10.11.54.10", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "We often miss compilation issues with -O0 -g.\nAdd a test in GHA.\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\n .ci/linux-build.sh | 8 +++++++-\n .github/workflows/build.yml | 4 ++++\n 2 files changed, 11 insertions(+), 1 deletion(-)", "diff": "diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh\nindex ab0994388a..150b38bd7a 100755\n--- a/.ci/linux-build.sh\n+++ b/.ci/linux-build.sh\n@@ -65,6 +65,12 @@ if [ \"$RISCV64\" = \"true\" ]; then\n cross_file=config/riscv/riscv64_linux_gcc\n fi\n \n+buildtype=debugoptimized\n+\n+if [ \"$BUILD_DEBUG\" = \"true\" ]; then\n+ buildtype=debug\n+fi\n+\n if [ \"$BUILD_DOCS\" = \"true\" ]; then\n OPTS=\"$OPTS -Denable_docs=true\"\n fi\n@@ -85,7 +91,7 @@ fi\n \n OPTS=\"$OPTS -Dplatform=generic\"\n OPTS=\"$OPTS -Ddefault_library=$DEF_LIB\"\n-OPTS=\"$OPTS -Dbuildtype=debugoptimized\"\n+OPTS=\"$OPTS -Dbuildtype=$buildtype\"\n OPTS=\"$OPTS -Dcheck_includes=true\"\n if [ \"$MINI\" = \"true\" ]; then\n OPTS=\"$OPTS -Denable_drivers=net/null\"\ndiff --git a/.github/workflows/build.yml b/.github/workflows/build.yml\nindex 154be70cc1..d90ecfc6f0 100644\n--- a/.github/workflows/build.yml\n+++ b/.github/workflows/build.yml\n@@ -18,6 +18,7 @@ jobs:\n ABI_CHECKS: ${{ contains(matrix.config.checks, 'abi') }}\n ASAN: ${{ contains(matrix.config.checks, 'asan') }}\n BUILD_32BIT: ${{ matrix.config.cross == 'i386' }}\n+ BUILD_DEBUG: ${{ contains(matrix.config.checks, 'debug') }}\n BUILD_DOCS: ${{ contains(matrix.config.checks, 'doc') }}\n CC: ccache ${{ matrix.config.compiler }}\n DEF_LIB: ${{ matrix.config.library }}\n@@ -37,6 +38,9 @@ jobs:\n - os: ubuntu-20.04\n compiler: gcc\n mini: mini\n+ - os: ubuntu-20.04\n+ compiler: gcc\n+ checks: debug\n - os: ubuntu-20.04\n compiler: gcc\n checks: abi+doc+tests\n", "prefixes": [ "2/2" ] }{ "id": 125313, "url": "