Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/153488/?format=api
{ "id": 153488, "url": "http://patchwork.ozlabs.org/api/patches/153488/?format=api", "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20120418123542.GL2880@linaro.org/", "project": { "id": 17, "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api", "name": "GNU Compiler Collection", "link_name": "gcc", "list_id": "gcc-patches.gcc.gnu.org", "list_email": "gcc-patches@gcc.gnu.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20120418123542.GL2880@linaro.org>", "list_archive_url": null, "date": "2012-04-18T12:35:50", "name": "ARM hard-float linker path - consensus", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ce7c40c7bd978bb601586a66957917b3b2d952e2", "submitter": { "id": 13241, "url": "http://patchwork.ozlabs.org/api/people/13241/?format=api", "name": "Steve McIntyre", "email": "steve.mcintyre@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20120418123542.GL2880@linaro.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/153488/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/153488/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<gcc-patches-return-317022-incoming=patchwork.ozlabs.org@gcc.gnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "mailing list gcc-patches@gcc.gnu.org" ], "Received": [ "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\tby ozlabs.org (Postfix) with SMTP id 4E311B72E8\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 18 Apr 2012 22:38:11 +1000 (EST)", "(qmail 7182 invoked by alias); 18 Apr 2012 12:37:10 -0000", "(qmail 6977 invoked by uid 22791); 18 Apr 2012 12:37:05 -0000", "from cheddar.halon.org.uk (HELO cheddar.halon.org.uk)\n\t(217.10.144.130) by sourceware.org (qpsmtpd/0.43rc1) with\n\tESMTP; Wed, 18 Apr 2012 12:36:03 +0000", "from bsmtp by cheddar.halon.org.uk with local-bsmtp (Exim\n\t4.72)\t(envelope-from <steve.mcintyre@linaro.org>)\tid\n\t1SKU77-0005QY-EK; Wed, 18 Apr 2012 13:36:01 +0100", "from stemci01 by e102122-lin with local (Exim 4.76)\t(envelope-from\n\t<steve.mcintyre@linaro.org>)\tid 1SKU6w-0007Va-L0;\n\tWed, 18 Apr 2012 13:35:50 +0100" ], "Comment": [ "DKIM? See http://www.dkim.org", "DomainKeys? See http://antispam.yahoo.com/domainkeys" ], "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed/relaxed;\n\td=gcc.gnu.org; s=default; x=1335357493; h=Comment:\n\tDomainKey-Signature:Received:Received:Received:Received:Received:\n\tDate:From:To:Cc:Subject:Message-ID:References:MIME-Version:\n\tContent-Type:Content-Disposition:In-Reply-To:User-Agent:\n\tMailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:\n\tList-Post:List-Help:Sender:Delivered-To; bh=SqpxnqP4m+QuW/oJmapG\n\tfhSOj2o=; b=HBojIT1PXbC/c1CsP/I9ATDhkSz8bd/mUrqaiplPCRzKJlHlTMpO\n\tVaBoL00CijpeLvRm5TDTjS4A4+amfXZ2E3Q0jdliCheghzHXjTKmu6+7rRdC2G+b\n\tbAceoZcJVXgyvW9Ud9hKzvMqe60WLmYT44mDyKLrxfWUs8KkqMtgEzc=", "DomainKey-Signature": "a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;\n\th=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:X-attached:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To;\n\tb=vhl5z/P/b+/Sbb4J8QUNkjjRPFp9vcGIp6rBURJ1geVWGo74QJ7S0Rp+Va+sCK\n\tLWtcAqPrcxB8Iy+Ex7Dle3O8a841qdYdxvlnbnUYk4mWclFGL2q9YCNTfmC1PIdQ\n\tgHYaH5EIIFBCqUIsusNDexJf7HyiTd6z0E/m+roW8HL0Y=;", "X-SWARE-Spam-Status": "No, hits=-1.7 required=5.0\ttests=AWL,BAYES_00", "X-Spam-Check-By": "sourceware.org", "Date": "Wed, 18 Apr 2012 13:35:50 +0100", "From": "Steve McIntyre <steve.mcintyre@linaro.org>", "To": "cross-distro@lists.linaro.org", "Cc": "libc-ports@sourceware.org, gcc-patches@gcc.gnu.org", "Subject": "Re: ARM hard-float linker path - consensus", "Message-ID": "<20120418123542.GL2880@linaro.org>", "References": "<20120413173704.GG2880@linaro.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "In-Reply-To": "<20120413173704.GG2880@linaro.org>", "X-attached": "none", "User-Agent": "Mutt/1.5.21 (2010-09-15)", "Mailing-List": "contact gcc-patches-help@gcc.gnu.org; run by ezmlm", "Precedence": "bulk", "List-Id": "<gcc-patches.gcc.gnu.org>", "List-Unsubscribe": "<mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org>", "List-Archive": "<http://gcc.gnu.org/ml/gcc-patches/>", "List-Post": "<mailto:gcc-patches@gcc.gnu.org>", "List-Help": "<mailto:gcc-patches-help@gcc.gnu.org>", "Sender": "gcc-patches-owner@gcc.gnu.org" }, "content": "On Fri, Apr 13, 2012 at 06:37:11PM +0100, Steve McIntyre wrote:\n>Hi folks,\n>\n>As promised, here's minutes from the call we had this\n>afternoon. Spoiler: the result we've agreed is\n>\n> /lib/ld-linux-armhf.so.3\n>\n>And here's a transcription of the minutes from\n>\n> https://wiki.linaro.org/OfficeofCTO/HardFloat/LinkerPathCallApr2012\n\nAnd there's a slight wrinkle we've found (of course). The change of\nthe filename equates to a change of soname for the linker too. Adam\nfound this a couple of days back when doing rebuilds of the glibc and\ntoolchain packages in Ubuntu, and between us we've come up with a\n(hacky, ugly, *never* to be upstreamed) solution. It seems to work\nfine for us, to at least allow for supporting old binaries until\npackages are all rebuilt to use the new linker path/soname. Just\ntalking to Andreas, the openSUSE folks are running with this too.\n\n/me waits for the barrage of rotten fruit...\n\n\n\nCheers,", "diff": "============================\n\nFor backward compatibility with armhf binaries built with the\nold linker SONAME, we need to fake out the linker to believe\nthe new is the old, until such a point as everything is rebuilt\n\n--- eglibc-2.15.orig/elf/dl-load.c 2012-04-14 12:11:37.000000000 +0000\n+++ eglibc-2.15/elf/dl-load.c 2012-04-15 00:39:36.558765502 +0000\n@@ -2303,10 +2303,13 @@\n soname = ((const char *) D_PTR (l, l_info[DT_STRTAB])\n + l->l_info[DT_SONAME]->d_un.d_val);\n if (strcmp (name, soname) != 0)\n+#ifdef __arm__\n+ if (strcmp(name, \"ld-linux.so.3\") || strcmp(soname, \"ld-linux-armhf.so.3\"))\n+#endif\n continue;\n \n /* We have a match on a new name -- cache it. */\n- add_name_to_object (l, soname);\n+ add_name_to_object (l, name);\n l->l_soname_added = 1;\n }\n \n", "prefixes": [] }