From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=63.128.21.162; helo=us-smtp-delivery-162.mimecast.com; envelope-from=eugene@hp.com; receiver=edk2-devel@lists.01.org Received: from us-smtp-delivery-162.mimecast.com (us-smtp-delivery-162.mimecast.com [63.128.21.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C570421959CB2 for ; Thu, 21 Mar 2019 03:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hp.com; s=mimecast20180716; t=1553163330; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=701ufFMH+e+NwKUB0dW/iCosf6MhgDb863ihCCG55HM=; b=UVjrruaIY7YW4FYGMbKzUzIngKjjfEx7lcHjwa/6NW8Zk6sigNBG4SZtITDo7q+kI/IvZt4KgVcadagE1L7SEpMmCKA2eC+2rxyK4DLxlcrqYHWIKBxErZZAS3+EYDfYQoL0g4EihpIoEEeKfuQ/8nFbHAf1OAFHhmV8h4mrXPs= Received: from NAM05-DM3-obe.outbound.protection.outlook.com (mail-dm3nam05lp2059.outbound.protection.outlook.com [104.47.49.59]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-198-obkTzvYCOfa1fnXpvuRT9g-1; Thu, 21 Mar 2019 06:15:28 -0400 Received: from CS1PR8401MB1189.NAMPRD84.PROD.OUTLOOK.COM (10.169.97.20) by CS1PR8401MB0677.NAMPRD84.PROD.OUTLOOK.COM (10.169.15.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.13; Thu, 21 Mar 2019 10:15:27 +0000 Received: from CS1PR8401MB1189.NAMPRD84.PROD.OUTLOOK.COM ([fe80::54db:23c0:d6a8:589b]) by CS1PR8401MB1189.NAMPRD84.PROD.OUTLOOK.COM ([fe80::54db:23c0:d6a8:589b%3]) with mapi id 15.20.1709.017; Thu, 21 Mar 2019 10:15:26 +0000 From: "Cohen, Eugene" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: Debugging why Build Rebuilds Something Thread-Index: AdTfyl12AWpLEHd6RKm3MDB6Fhh7RwAAgmXwAACjt7A= Date: Thu, 21 Mar 2019 10:15:26 +0000 Message-ID: References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4089FC@SHSMSX104.ccr.corp.intel.com> In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4089FC@SHSMSX104.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [75.174.144.62] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d75c78a8-541c-45ad-567c-08d6ade6238a x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020); SRVR:CS1PR8401MB0677; x-ms-traffictypediagnostic: CS1PR8401MB0677: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(136003)(39860400002)(366004)(346002)(376002)(199004)(189003)(6602003)(13464003)(71200400001)(99286004)(790700001)(486006)(186003)(106356001)(53546011)(14454004)(102836004)(6506007)(7736002)(76176011)(7696005)(3846002)(25786009)(71190400001)(105586002)(74316002)(229853002)(478600001)(52536014)(86362001)(5660300002)(110136005)(2501003)(6306002)(316002)(54896002)(66066001)(33656002)(26005)(68736007)(236005)(8676002)(55016002)(53936002)(6436002)(81166006)(6116002)(606006)(476003)(11346002)(81156014)(256004)(14444005)(9686003)(446003)(8936002)(6246003)(97736004)(2906002); DIR:OUT; SFP:1102; SCL:1; SRVR:CS1PR8401MB0677; H:CS1PR8401MB1189.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8SSnOd1izylO0HLjzmjasEztw86zwu8kvvgTcSudkP6cmSEWaVkSgoM8xWOkn36XSlQ15YAm21w0p5NmwZ/19NJZ1oflMYdbDkmCVExE0l4+tcngxqL5uvm9YRgku76AwC9KW1MGGhG2Bn2+YsKr0ClgM+xTcpsfEZ9SDG6wtMrYgEWYqttYcZVenf2uKFAqY273+BkaHnlS1eQEnVUrVE6tdz1Dcr9X/W8u8V2QwDfub2bSFJvjgNQxcLhVAK/3IRiccA3759uI15KYRa79RL3kcIC59Id0JGkW/SiGmoZf3GaqvUp2btIls7lSNmVuwqzllj97DFrCnR6/RNks5lHTPEJ4iViPJPGPIPAzN4x1qSxC0vltpiWB8/9SXu2n6+5rnE7+MVuAMJyNgxMiQCcPeCQH1Q4LB01atFG0Wb8= MIME-Version: 1.0 X-OriginatorOrg: hp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d75c78a8-541c-45ad-567c-08d6ade6238a X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 10:15:26.7744 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ca7981a2-785a-463d-b82a-3db87dfc3ce6 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0677 X-MC-Unique: obkTzvYCOfa1fnXpvuRT9g-1 X-Mimecast-Spam-Score: 0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: Debugging why Build Rebuilds Something X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Mar 2019 10:15:32 -0000 Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Great - I will try this now, thanks Liming! From: Gao, Liming Sent: Thursday, March 21, 2019 4:02 AM To: Cohen, Eugene ; edk2-devel@lists.01.org Subject: RE: Debugging why Build Rebuilds Something Could you help check the timestamp of AutoGen files in OpenSslLib output di= rectory? After the first build, copy OpenSslLib output directory to another director= y After the second build, compare the output directory between two builds, pl= ease check whether there is the difference for AutoGen.h and Makefile. If n= o difference, please directly trig Makefile to see whether rebuild happen. = If rebuild happen, it may be the issue in Makefile. Then, further check Mak= efile. Thanks Liming >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Cohen, Eugene >Sent: Thursday, March 21, 2019 5:50 PM >To: edk2-devel@lists.01.org >Subject: [edk2] Debugging why Build Rebuilds Something > >I'm experiencing an annoying problem where OpenSslLib is constantly being >rebuilt. I don't think I've done anything unusual or different to it but >nevertheless it gets built almost every time I rebuild the same platform. > >I don't believe any source file timestamps are changing so I think this ma= y be >the build.py tool deciding to re-generate stuff. (As a side note: does the >Autogen process only run when changes are detected on dependencies? I >assume this must be the case otherwise everything would get rebuilt, right= ?) > >Is there a debug flag that can be turned on to see why build might choose = to >rebuild something? The normal build report and debug flags don't see to >provide the information for "why" something is being rebuilt. > >Thanks, > >Eugene > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel