Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/14399/?format=api
https://patches.dpdk.org/api/patches/14399/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1466959325-9426-3-git-send-email-thomas.monjalon@6wind.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": "<1466959325-9426-3-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1466959325-9426-3-git-send-email-thomas.monjalon@6wind.com", "date": "2016-06-26T16:42:00", "name": "[dpdk-dev,v2,2/7] mk: fix external library link", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "edaef457c3bacc6f0b307aa6d7643673c21093a2", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1466959325-9426-3-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/14399/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/14399/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 0F21968FC;\n\tSun, 26 Jun 2016 18:42:17 +0200 (CEST)", "from mail-wm0-f42.google.com (mail-wm0-f42.google.com\n\t[74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 788DC68E8\n\tfor <dev@dpdk.org>; Sun, 26 Jun 2016 18:42:12 +0200 (CEST)", "by mail-wm0-f42.google.com with SMTP id a66so84952901wme.0\n\tfor <dev@dpdk.org>; Sun, 26 Jun 2016 09:42:12 -0700 (PDT)", "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tbh7sm7390424wjb.22.2016.06.26.09.42.11\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 26 Jun 2016 09:42:11 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=H7N1SSJmTGXjDaZl7KdrzfA/j7D5fAdvjcfQDgyh17U=;\n\tb=JvQLSEN9BzUSa1z72y/wHq0UOV176FWcgiRKH819HzGydn45JIKQnG/g4djTlokWOv\n\tIY+oHAQeOCSUcZqXYy+OHiUpVpqHEEQUP9Xa8PXjBCOqpxuuHin9q9XPkdhSGriqpbj0\n\tcKvS83tXYCWgyTiHB1XAC6dsINZVM0m27Bi+F8courB0OS9HD+h0WUfmCKqSFaxdzXn7\n\t3wV3a/c/amh0BrSJ690BLcZhkwR6uoHJbdgcltfvDdLBXm/z24PsaaLu2SFEem3UgWwi\n\tzkGh2HyjJcf/ubdVuajHIGoJR7UFuobNXRDZK28aq6vI0jZgFNRYo8gNjLk3YiVprIwU\n\tACXw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=H7N1SSJmTGXjDaZl7KdrzfA/j7D5fAdvjcfQDgyh17U=;\n\tb=Zf1dJxEwQE0B5ogdnsV61J3QW9jTgHuI7XI0O6n3iPMVoA5sRK5qjdvVTvDDMeBs4i\n\tyf/nBc9lKDVxEClADCabiQAGYxpPw0z3nyRasPi0151WnE3xHZv1mHWU8huAAL5Tn19w\n\tjefjoelyG1vn0LwKZ2/wrK44a76GYZFEoQ0c80syQ/Bdl7oGmhoiZ/497MVnHEHQ48rS\n\tqClmiGQqVdiTTaVQms4IBDBOwhVANIZRuFT6kv0J2ifhkjTrTwie/B1zGxJy7KTbQI16\n\tnNytF3zNtINmh5Li/OGi2CnivGnwyJOxLZKCcbAhgm8YZQqqlKiwPxstcpIomHYuIHuE\n\tHi+g==", "X-Gm-Message-State": "ALyK8tJXCZy9c0OFFuj3IHK0bcL280Ng+FxUiUGmy7QqOLrR4RjlcQJjesPRfK4edQCwgc03", "X-Received": "by 10.194.167.39 with SMTP id zl7mr12782242wjb.98.1466959332053; \n\tSun, 26 Jun 2016 09:42:12 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "Panu Matilainen <pmatilai@redhat.com>", "Cc": "dev@dpdk.org", "Date": "Sun, 26 Jun 2016 18:42:00 +0200", "Message-Id": "<1466959325-9426-3-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "In-Reply-To": "<1466959325-9426-1-git-send-email-thomas.monjalon@6wind.com>", "References": "<cc770c89679f94622e340cb2bbe7b159d8bcf4d2.1466496709.git.pmatilai@redhat.com>\n\t<1466959325-9426-1-git-send-email-thomas.monjalon@6wind.com>", "Subject": "[dpdk-dev] [PATCH v2 2/7] mk: fix external library link", "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": "When building an external library with rte.extlib.mk, the internal\nlibraries were not found because the linker search path was the\nexternal library install directory (RTE_OUTPUT/lib).\nIt is fixed by searching in the internal library install directory\n(RTE_SDK_BIN/lib).\nWhen building an internal library, RTE_SDK_BIN = RTE_OUTPUT.\n\nFixes: c6417ce61f83 (\"mk: add build-time library directory to linker path\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n mk/rte.lib.mk | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/mk/rte.lib.mk b/mk/rte.lib.mk\nindex d2523ee..924dfb5 100644\n--- a/mk/rte.lib.mk\n+++ b/mk/rte.lib.mk\n@@ -93,7 +93,7 @@ O_TO_A_DO = @set -e; \\\n \t$(O_TO_A) && \\\n \techo $(O_TO_A_CMD) > $(call exe2cmd,$(@))\n \n-O_TO_S = $(LD) -L$(RTE_OUTPUT)/lib $(_CPU_LDFLAGS) $(EXTRA_LDFLAGS) \\\n+O_TO_S = $(LD) -L$(RTE_SDK_BIN)/lib $(_CPU_LDFLAGS) $(EXTRA_LDFLAGS) \\\n \t -shared $(OBJS-y) $(LDLIBS) -Wl,-soname,$(LIB) -o $(LIB)\n O_TO_S_STR = $(subst ','\\'',$(O_TO_S)) #'# fix syntax highlight\n O_TO_S_DISP = $(if $(V),\"$(O_TO_S_STR)\",\" LD $(@)\")\n", "prefixes": [ "dpdk-dev", "v2", "2/7" ] }{ "id": 14399, "url": "