Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/4184/?format=api
https://patches.dpdk.org/api/patches/4184/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1427713576-31094-1-git-send-email-pablo.de.lara.guarch@intel.com/", "project": { "id": 1, "url": "https://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": "<1427713576-31094-1-git-send-email-pablo.de.lara.guarch@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1427713576-31094-1-git-send-email-pablo.de.lara.guarch@intel.com", "date": "2015-03-30T11:06:16", "name": "[dpdk-dev,v2] DPDK does not build on gcc 4.4, as it complains due to strict-aliasing rules in virtual_pmd and link_bonding_mode4 tests, with no errors in next gcc versions:", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": true, "hash": "6f8212a41e3fe01bfc21cf843b675841decf22ec", "submitter": { "id": 9, "url": "https://patches.dpdk.org/api/people/9/?format=api", "name": "De Lara Guarch, Pablo", "email": "pablo.de.lara.guarch@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1427713576-31094-1-git-send-email-pablo.de.lara.guarch@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/4184/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/4184/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id EC4C35AA1;\n\tMon, 30 Mar 2015 13:07:39 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 8F3F45A9D\n\tfor <dev@dpdk.org>; Mon, 30 Mar 2015 13:07:38 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga101.fm.intel.com with ESMTP; 30 Mar 2015 04:07:39 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga002.fm.intel.com with ESMTP; 30 Mar 2015 04:07:37 -0700", "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tt2UB6G6C011406 for <dev@dpdk.org>; Mon, 30 Mar 2015 12:06:16 +0100", "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id t2UB6Grl031131\n\tfor <dev@dpdk.org>; Mon, 30 Mar 2015 12:06:16 +0100", "(from pdelarax@localhost)\n\tby sivswdev02.ir.intel.com with id t2UB6GHX031127\n\tfor dev@dpdk.org; Mon, 30 Mar 2015 12:06:16 +0100" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.11,493,1422950400\"; d=\"scan'208\";a=\"700069894\"", "From": "Pablo de Lara <pablo.de.lara.guarch@intel.com>", "To": "dev@dpdk.org", "Date": "Mon, 30 Mar 2015 12:06:16 +0100", "Message-Id": "<1427713576-31094-1-git-send-email-pablo.de.lara.guarch@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1427397455-30368-1-git-send-email-pablo.de.lara.guarch@intel.com>", "References": "<1427397455-30368-1-git-send-email-pablo.de.lara.guarch@intel.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2] DPDK does not build on gcc 4.4,\n\tas it complains due to strict-aliasing rules in virtual_pmd and\n\tlink_bonding_mode4 tests, with no errors in next gcc versions:", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "CC virtual_pmd.o\nCC test_link_bonding_mode4.o\ncc1: warnings being treated as errors\n/root/dpdk/app/test/test_link_bonding_mode4.c: In function ‘test_mode4_expired’:\n/root/dpdk/x86_64-native-linuxapp-gcc/include/rte_ring.h:645: error: dereferencing pointer ‘pkt.409’ does break strict-aliasing rules\n/root/dpdk/x86_64-native-linuxapp-gcc/include/rte_ring.h:729: error: dereferencing pointer ‘pkt.409’ does break strict-aliasing rules\n...\ncc1: warnings being treated as errors\n/root/dpdk/app/test/virtual_pmd.c: In function ‘virtual_ethdev_stats_reset’:\n/root/dpdk/x86_64-native-linuxapp-gcc/include/rte_ring.h:645: error: dereferencing pointer ‘pkt.338’ does break strict-aliasing rules\n/root/dpdk/x86_64-native-linuxapp-gcc/include/rte_ring.h:729: error: dereferencing pointer ‘pkt.338’ does break strict-aliasing rules\n\nThis patch fixes the compilation by disabling\nthese warnings.\n\nChanges in v2:\n\nAdded missing gcc version check (checking if gcc 4.4 is present)\n\nSigned-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>\n---\n app/test/Makefile | 9 +++++++++\n 1 files changed, 9 insertions(+), 0 deletions(-)", "diff": "diff --git a/app/test/Makefile b/app/test/Makefile\nindex 4aca77c..9639a71 100644\n--- a/app/test/Makefile\n+++ b/app/test/Makefile\n@@ -158,6 +158,15 @@ CFLAGS_test_memcpy_perf.o += -fno-var-tracking-assignments\n endif\n endif\n \n+# Disable warnings of no-strict-aliasing in virtual_pmd\n+# and test_link_bonding_mode4 tests\n+ifeq ($(CC), gcc)\n+ifeq ($(shell test $(GCC_VERSION) -eq 44 && echo 1), 1)\n+CFLAGS_virtual_pmd.o += -Wno-strict-aliasing\n+CFLAGS_test_link_bonding_mode4.o += -Wno-strict-aliasing\n+endif\n+endif\n+\n # this application needs libraries first\n DEPDIRS-y += lib\n \n", "prefixes": [ "dpdk-dev", "v2" ] }{ "id": 4184, "url": "