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

Re: [PATCH 1/2] xen: move CONFIG_DEBUG_INFO out of EXPERT section


  • To: Juergen Gross <jgross@xxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 7 Mar 2023 12:42:24 +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=3IY4T1oa816d9IcwP86x/Vkig01OAVMZZePzJeiLgqI=; b=jCOlSWMDdcAxehBcC/Tv5zhSEcssfmBMn9VO1ia2sReQ4uusHyECuxHlnKQmhmIBQmJPJpgtJyrKWuN9roTo6ulqEYvW9WqI2ZYPwHYu5Uk4a6UgTGhOLhoqJO2+1E3ZOT/7SNZoEJoMjC5hPk0mbxAgQyq/TOAv1r1sZnQFfqGxVpWJDTVlEirShGL+D41T7AU9E48pKXsu5RUi69eSpJZXW1hwIhAgTx4j5lVDp62ZhTRCO2OTfgxoUvTETE10dd4O+34jdaYgcbwjBQgSezcXbn8qiyKAn1ARHA5O2hIx/63xMWtRtItuSfYwutfZW6MVs68tW4wtv0pMBzsDlQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j4MxEEzWTBh0+0gc3Sw2BincNv4LBYx5FWjVQtpUjCutpmsaOE9qDC6ijieGJFsyrfaCzFBbLOT0VZQSqAyCm54GzIMolXerp2iAURMDu1plzHWHIY/DKu2LqblQU9tfqJOI9YShpGlyPuvGp7IA/xizpw07sXn52j9WQXtNduVlNTnWhcVHqkJTSH70nLDSHudxSLkSE7LBsZ+N8al6eDbzerONO1Y9W44sCiGltavSiQsrYKj3Sla1ESsu/qDHIjYVWZ5BApr+x0Ao5eSaZUwsfciUPiqhd7FteZEgndGHZW7KU12khdZCqfgvJf+26kMLeKCqnFaGI2LvXIWgnQ==
  • 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>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 07 Mar 2023 11:43:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 07.03.2023 12:33, Juergen Gross wrote:
> On 07.03.23 11:31, Jan Beulich wrote:
>> On 07.03.2023 07:32, Juergen Gross wrote:
>>> Using a rather oldish gcc (7.5) it was verified that code generation
>>> doesn't really differ between CONFIG_DEBUG_INFO on or off without
>>> CONFIG_DEBUG being set (only observed differences were slightly
>>> different symbol addresses, verified via "objdump -d"). The old gcc
>>> version selection was based on the assumption, that newer gcc won't
>>> regress in this regard.
>>
>> This is good to know, but I'm still curious about the mentioned
>> differences in symbol addresses: If code generation didn't change, what
>> caused addresses to differ? Is that merely because individual functions
>> or objects are emitted in different order by the compiler? (If so I'd
>> be inclined to infer that comparing generated code must have been
>> quite a bit of effort, as first of all you would have had to undo that
>> re-ordering.)
> 
> I did a simple diff of the two disassembly outputs and got only small
> differences for %rip relative addresses (the differences were in the
> range of +/- 32 bytes).

That's still odd and hence imo wants understanding. Do you still have
both binaries around?

Jan



 


Rackspace

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