From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) by mx.groups.io with SMTP id smtpd.web11.26782.1619997716899000485 for ; Sun, 02 May 2021 16:21:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@bsdio.com header.s=xmission header.b=f4c1S48C; spf=none, err=SPF record not found (domain: bsdio.com, ip: 166.70.13.232, mailfrom: rebecca@bsdio.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/simple; d=bsdio.com; s=xmission; h=Subject:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Sender:Reply-To:Cc:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=1vS5qh2BbLQ7T/6rJ/Ikh+cBE/xnTNPlZHrt1dazG0E=; b=f4c1S48CrjwwdUVxD879pXqVQl DsbTrcBFMSM4LukgTYs+fB/or6S+8bOyoijnCnx3Bi3NaDSaPMyXPSOVdrqe5z1hQfVtPtXW8j0pu voXecGvIuY5C7/EwKZLBsVO07zUF9F26YY+rlQUO9Y+6ZahDOXIOL/ezKviIGHvEO07g=; Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ldLPP-00FSuL-72; Sun, 02 May 2021 17:21:55 -0600 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1ldLPM-0005Vu-Vk; Sun, 02 May 2021 17:21:54 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id C02AE500D8B; Sun, 2 May 2021 17:21:52 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aWWF-VLUfmqV; Sun, 2 May 2021 17:21:52 -0600 (MDT) Received: from photon.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id 5FB11500C2D; Sun, 2 May 2021 17:21:51 -0600 (MDT) To: "Kinney, Michael D" , "devel@edk2.groups.io" , Andrew Fish , Laszlo Ersek References: From: "Rebecca Cran" Message-ID: Date: Sun, 2 May 2021 17:21:50 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: X-XM-SPF: eid=1ldLPM-0005Vu-Vk;;;mid=;;;hst=in01.mta.xmission.com;;;ip=166.70.13.68;;;frm=rebecca@bsdio.com;;;spf=none X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa02.xmission.com X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,NICE_REPLY_A,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01, TooManyTo_001,TooManyTo_002,TooManyTo_003,TooManyTo_004,XMSubLong, XM_B_Unsub autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 0.6 TooManyTo_003 Multiple "To" Header Recipients 4x (uncommon) * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.5 TooManyTo_002 Multiple "To" Header Recipients 3x (uncommon) * 0.5 TooManyTo_004 Multiple "To" Header Recipients 5x (uncommon) * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa02 1397; IP=ok Body=1 Fuz1=1] [Fuz2=1] * 0.5 XM_B_Unsub Unsubscribe in body of email but missing unsubscribe * header * 0.0 T_TooManySym_01 4+ unique symbols in subject * -0.0 NICE_REPLY_A Looks like a legit reply (A) X-Spam-DCC: XMission; sa02 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: **;"Kinney, Michael D" , "devel@edk2.groups.io" , Andrew Fish , Laszlo Ersek X-Spam-Relay-Country: X-Spam-Timing: total 917 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 4.4 (0.5%), b_tie_ro: 3.0 (0.3%), parse: 1.41 (0.2%), extract_message_metadata: 30 (3.3%), get_uri_detail_list: 3.9 (0.4%), tests_pri_-1000: 18 (2.0%), tests_pri_-950: 1.00 (0.1%), tests_pri_-900: 0.81 (0.1%), tests_pri_-90: 55 (6.0%), check_bayes: 53 (5.8%), b_tokenize: 10 (1.0%), b_tok_get_all: 10 (1.1%), b_comp_prob: 2.3 (0.3%), b_tok_touch_all: 29 (3.1%), b_finish: 0.74 (0.1%), tests_pri_0: 423 (46.1%), check_dkim_signature: 0.48 (0.1%), check_dkim_adsp: 45 (5.0%), poll_dns_idle: 393 (42.9%), tests_pri_10: 1.62 (0.2%), tests_pri_500: 378 (41.3%), rewrite_mail: 0.00 (0.0%) Subject: Re: [edk2-devel] Error building OVMF on x86 macOS with Xcode 12.5 X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Hi Mike, It turned out that adding --ignore-space-change --ignore-whitespace allowed the patch to be applied. I've verified the build now works on macOS with XCODE5 - thanks! -- Rebecca Cran On 5/2/21 4:20 PM, Kinney, Michael D wrote: > Hi Rebecca, > > Not sure why it will not apply. I sent that patch against master as of 5/1, and there at no commits to master since 4/30. > > A branch with the change is also posted here: > > https://github.com/mdkinney/edk2/tree/Bug_3359_BaseTools_Expand_Tool_Star > > Mike > >> -----Original Message----- >> From: Rebecca Cran >> Sent: Sunday, May 2, 2021 12:07 PM >> To: Kinney, Michael D ; devel@edk2.groups.io; Andrew Fish ; Laszlo Ersek >> >> Subject: Re: [edk2-devel] Error building OVMF on x86 macOS with Xcode 12.5 >> >> It doesn't seem to apply against >> 1e6b0394d6c001802dc454ecff19076aaa80f51c (master as of today): >> >> patching file BaseTools/Source/Python/AutoGen/ModuleAutoGenHelper.py >> Hunk #1 FAILED at 181. >> Hunk #2 FAILED at 632. >> 2 out of 2 hunks FAILED -- saving rejects to file >> BaseTools/Source/Python/AutoGen/ModuleAutoGenHelper.py.rej >> patching file BaseTools/Source/Python/AutoGen/PlatformAutoGen.py >> Hunk #1 FAILED at 1391. >> Hunk #2 FAILED at 1534. >> 2 out of 2 hunks FAILED -- saving rejects to file >> BaseTools/Source/Python/AutoGen/PlatformAutoGen.py.rej >> patching file BaseTools/Source/Python/build/build.py >> Hunk #1 FAILED at 897. >> Hunk #2 FAILED at 930. >> 2 out of 2 hunks FAILED -- saving rejects to file >> BaseTools/Source/Python/build/build.py.rej >> >> -- >> Rebecca Cran >> >> On 5/2/21 12:04 PM, Kinney, Michael D wrote: >>> Please try this patch: >>> >>> https://edk2.groups.io/g/devel/message/74684 >>> >>> If it works, can you please also do a review? Many community members are offline this week and I want to get these >> fixes in. >>> Mike >>> >>>> -----Original Message----- >>>> From: devel@edk2.groups.io On Behalf Of Rebecca Cran >>>> Sent: Saturday, May 1, 2021 9:05 PM >>>> To: devel@edk2.groups.io; Andrew Fish ; Laszlo Ersek >>>> Subject: [edk2-devel] Error building OVMF on x86 macOS with Xcode 12.5 >>>> >>>> I'm trying to build OVMF on an x86 Mac running Big Sur and Xcode 12.5. >>>> >>>> If I run "./OvmfPkg/build.sh -a X64 -t XCODE5 -b RELEASE" it seems to >>>> get quite far, but then tries to run ld with "-z common-page-size", >>>> causing the error: >>>> >>>> >>>> "ld" -arch x86_64 -u __ModuleEntryPoint -e __ModuleEntryPoint -preload >>>> -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map >>>> >> /Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterR >>>> untimeDxe/DEBUG/MonotonicCounterRuntimeDxe.map >>>> -z common-page-size=0x1000 -seg1addr 0x1000 -segalign 0x1000 -o >>>> >> /Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterR >>>> untimeDxe/DEBUG/MonotonicCounterRuntimeDxe.dll >>>> -filelist >>>> >> /Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterR >>>> untimeDxe/OUTPUT/static_library_files.lst >>>> Building ... /Users/bcran/src/edk2/UefiCpuPkg/CpuMpPei/CpuMpPei.inf [X64] >>>> make: Nothing to be done for `tbuild'. >>>> ld: unknown option: -z >>>> >>>> >>>> -- >>>> >>>> Rebecca Cran >>>> >>>> >>>> >>>> >>>> >>>>