[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH v8 11/47] build: fix enforce unique symbols for recent clang version
- To: Anthony PERARD <anthony.perard@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 7 Dec 2021 11:23:26 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=wmD5CAN7a+Q87nXx5QfYdUxt+z4CIBIAmgn2KW1KldU=; b=f3hpwDUOpOLkyMhjxWmUJ+MGar8VcHuj6XzPqzgi7sTcELf7AM3+RCGWAd8HK8/vUsQxDIOW5XKJrWGNZcp/rC0zcMzofV7mTTc97I7kfcAaTI3JfWjyhpj5B9VA0EY+DfuKNIqRnl3IrZbFFP9whiE97N/UyluDASCSILMgnRFZ00TVH5h48xJpAmrv8S2KKwpbUywtiRCOVIYBWJ6aavaYYeAb96YRqP+Ky+YqbXBB4Dchv3lrWViOK34b8ZJ0i7rIiQHkaK/UEFXv/2+yHjrqxFnB/QiTMEWBqTRS630EO7eA07mSwmfdmtJsAvADRNwBm6rRC9XYbfpqX+8xcA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i44CaEwpVr29YfyIcD5iJfXlYTsGU4KMIRzVlZMECu7VIZLifNXn8fw/KCdKwtGGhphHmiFrdz0gG3neCr6BF1D3Z3/CirezpoPIwjlHDwNSZsaNzIIwzesoHayGd0cAJF8HLyanKaI1HWYSIFHc8kSA3gy3Zew6vnzuTxmwHKNTm9u3lraq7jKGGbdzUfClPv30QOL+6XQwdx/amz0/I3T1mp+kS05Wh4+xfPx9UWRjqDQPD1Fo1vrZlypngcYE+7KpHO0fcTIULwyVfKENysca3fEycFN4ZB3ERxLYxWm+HsLOuIWMvcg7BtEKHTrDnNMIgvJQvx+8zt2xFkZHmA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 07 Dec 2021 10:23:39 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 25.11.2021 14:39, Anthony PERARD wrote:
> clang 6.0 and newer behave like gcc in regards for the FILE symbol, so
> only the filename rather than the full path to the source file.
>
> clang 3.8.1-24 (in our debian:stretch container) and 3.5.0-10
> (in our debian:jessie container) do store the full path to the source
> file in the FILE symbol.
>
> This means that we also need to check clang version to figure out
> which command we need to use to redefine symbol.
>
> I don't know which version of clang change behavior, we will guess
> 4.0.
When I did this earlier work, it was clang5 that I used. Which would seem
to mean the change in behavior was in version 6.
Jan
|