[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] linker: fix build with LLVM LD


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Fri, 29 Apr 2022 11:36:42 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=L930wC+Zn/2IbXAp8S80W4g1JAnY9tSi/j7OYIXn7tA=; b=RRyIBPAglkhFs2vWbF+TemvKWRFaYY1z6a4s+y/cxaTeOLFqXK1mWyp8J00octoh5LUguUUOJV/+7m1Ji1UTaOZvTtARn3j3qQpBMIpFGZudsKusQb7GzAbFkhN0NiBuixMb7TDvz4YbOknig1+CA1knebEOJkTBUPhu1CA/qOam54LIh0aNxho8Xt4avFlUesGH2XUmnIwBf6jAYFbszQfLz/l7YsYFUfgpjcwnQQajQ+bBNB29JjcfY1Sp92/PYWGM72SYRn1ort0GjT5x+MqGSqoLK62qiEe+UcGescA5E0oG5OBabhxkJaaj6nmRO1qP5USuHIqNQ9j4MvIEkQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ITQXWxpe0ImC3GChbfaXl7/lB2XfWAOQ3N40ArVPEPrnlrzw0H5puQOj1nbmYZIPaeTVwO+LotZ9WborQq4BHUDmpP2kHuE09u5vdF2xebBsL9iV5iWJ7/XVgcS2iRQ48V9kRT26cdSa1zsFugNI4Nbv1ctCkzlpscXrEfKBOOQPrTqVLnzSv956IqQUgNlADXQd6MfYgv2lqkDH5OoUgELBNzuwvcUYa68AIg+NhgzfMrnF9/y+exhRZtHmnO9rm6nRSdwsfF8cYniNFqBgB1cS0GJQQtn3hBFsZiMrvhGP0FE2+i8+xM7E8VxjzE/5EIgPCTSsntYkK1ZAKIV1wA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Fri, 29 Apr 2022 09:37:12 +0000
  • Ironport-data: A9a23:H4ItIatledGlUf7Lbhf3+Aq66+fnVEpfMUV32f8akzHdYApBsoF/q tZmKTrTbKuCYWD2L9pya4nn/BkD6JTVmtRhHlQ/+Hg3FHsU+JbJXdiXEBz9bniYRiHhoOOLz Cm8hv3odp1coqr0/0/1WlTZhSAgk/nOHNIQMcacUsxLbVYMpBwJ1FQywobVvqYy2YLjW1/X6 IuryyHiEATNNwBcYzp8B52r8HuDjNyq0N/PlgVjDRzjlAa2e0g9VPrzF4noR5fLatA88tqBb /TC1NmEElbxpH/BPD8HfoHTKSXmSpaKVeSHZ+E/t6KK2nCurQRquko32WZ1he66RFxlkvgoo Oihu6BcRi8QfY6Xw/tHQyBmKH93J/IcwI39ISmw5Jn7I03uKxMAwt1IJWRuZ8gj3L8yBmtDs /sFNDoKcxaPwfqsx662QfVtgcJlK9T3OIQYuTdryjSx4fQOGMifBfmVo4IHmmtv7ixNNa+2i 84xcz1gYQ6GexRSElwWFIg/jKGjgXyXnzhw9wrP/vprvzG7IApZybK2KsP3XMCwfcBvgn2Ar WTEpkTkHURPXDCY4X/fmp62vcffkCW+VI8MGbmQ8v9xnEbV1mEVEAcRV1awvb++kEHWc9BVJ lEQ+yEuhbMv70HtRd74NzW6vXqFsxg0S9dWVeog52ml0bHI6gyUAmwFSD9pa9E8ssIyAzsw2 TehgNfBFTFp9rqPRhqgGqy8qDqzPW0OKzYLYyYBFVEB+4O7/N51iQ/TRNF+FqLzlsfyBTz73 zGNqm45mqkXiskIka68+Dgrng6Rm3QAdSZtji2/Y45vxloRiFKND2Bw1WXm0A==
  • Ironport-hdrordr: A9a23:qAkMnqD5WOrc4THlHegxsceALOsnbusQ8zAXPh9KJCC9I/bzqy nxpp8mPH/P5wr5lktQ++xoX5PwOU80lKQFmLX5WI3PYOCIghrNEGgP1+vfKl7balDDH5BmpM BdmsFFYbWfbGSS5fyKmjVQeOxQpeVvnprY5ts3mBxWPHpXguxbnnFEIzfeNnczaBhNBJI/Gp bZzs1bpwC4cXBSSsigHHEKU8XKutWOzfvdEFY7Li9izDPLoSKj6bb8HRTd9hACUwlXybNn1W TeiQT26oiqrvn+4B7B0G346YhQhbLau5J+Lf3JrvJQBiTniw6uaogkc7qevAotqOXq01oumM mkmWZUAyzeg0mhD12dkF/I4U3NwTwu43jtxRuzmn34u/H0Qzo8Fo5omZ9ZWgGx0TttgPhMlI Zwm06JvZteCh3N2A7n4cLTah1snk2o5VI/jO8oiWBFW4d2Us4dkWUmxjIaLH48JlO61Gh+e9 MeTP00pcwmO29yVkqp8VWGm7eXLzcO9hTveDlxhiXa6UkVoJlD9Tpm+CUupAZ9yHsDceg72w 29CNUPqFhvdL5jUUsvPpZ3fSOIYla9MS7kASa1HWnNMp0hFjbkl6PXiY9Fl91CPqZ4h6cPpA ==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

LLVM LD doesn't remove quotes from sections names, and thus the
resulting binary cannot be parsed by some tools due to the quoted
sections names.

First patch has already been posted independently and got not enough
Acks/RB, second patch depends on the first one and is the actual fix for
the issue.

Thanks, Roger.

Roger Pau Monne (2):
  kconfig: detect LD implementation
  linker/lld: do not generate quoted section names

 xen/Kconfig               | 6 ++++++
 xen/arch/x86/xen.lds.S    | 6 +++++-
 xen/include/xen/xen.lds.h | 8 ++++----
 3 files changed, 15 insertions(+), 5 deletions(-)

-- 
2.35.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.