From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.web11.9062.1655558504476615054 for ; Sat, 18 Jun 2022 06:21:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XoW/gQY8; spf=pass (domain: gmail.com, ip: 209.85.221.51, mailfrom: theojehl76@gmail.com) Received: by mail-wr1-f51.google.com with SMTP id o8so8913734wro.3 for ; Sat, 18 Jun 2022 06:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7wKRxccVjyWU/KW7I0dcIZhFhr9fP71aZJWiviRKu0=; b=XoW/gQY8Pt4+mevWSXDhXCN0kZtSIgZcmAkVezKu0Lec0qbVYYgt7W6y+3dWYuC0ii 2/0gVySXv8It6uo7aur2OLolRsktDHtYHcyXopTv1Z01Ib9rYdpcCed1te57E9DWnT8t /x4mcbydtmXu4wCpA0ZYlryJ9R4fAHDR167R2UTA4bFGFic3bxOh8ZBNrI7uKg0i7zhI 50eGsetsNcdMLwHy7tcNkKpyuK/chpaR9qu3JMKNMB/JGb8R51IxienAib/NW3Vvpxxn BP2RZw6sjijSupo781vfMYYuG7AbcbXjoOYra6lTxAqxQD1yhbkS4aSv1fk/W+3is8vz 43rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=E7wKRxccVjyWU/KW7I0dcIZhFhr9fP71aZJWiviRKu0=; b=m3VYznv9MhNmu1dKSfHjOwC8qE46xBP+lhbH6dRyrCY2VBCL82AL1Rxu+CX6LxFkZn AugI0PgrYEZgP6ErR7rvp/Zeeg6DFGf25YddU4QecBQT2GsWWosSzTJjy/fdrXa/Nboa UZVRHlAAtgdv5F3w2WFI3PFERL/zenIg3z8asbeJ0KHcpBIzTn5s7pNwqf1NXYAvnZkr uYaJMdOVxcpmBa+BfqyA8rGKtX94u5MkaNVkR8BxpX5CESgPhhmxhP2fuVUDAdt8tW97 ZyApuWmyfe8g59Q59/LUQ5Pa/z8Q6j1/BaYZFBkl98kqsP5/YpWI3UB6jIr86iB2fy8o qyiQ== X-Gm-Message-State: AJIora/yrKRazqAb1pLKn2ool3xYj/qAxrKHCkU6AFNNDk6J9EP/Ud0D DUb/BOt5UZJgCN0hzI0ZEsYLwav5tXD9D9C9 X-Google-Smtp-Source: AGRyM1sB+VHlmqiWtvwxUp4AYeY5QGaF+zXAI7SZVCrvMfsK5WFlfpzWRHjPvglWl7bzY6fLV5jWOw== X-Received: by 2002:a5d:4251:0:b0:21b:885b:2fcc with SMTP id s17-20020a5d4251000000b0021b885b2fccmr1605586wrr.52.1655558502408; Sat, 18 Jun 2022 06:21:42 -0700 (PDT) Return-Path: Received: from localhost.localdomain (48.132.129.77.rev.sfr.net. [77.129.132.48]) by smtp.gmail.com with ESMTPSA id r15-20020adff70f000000b002185d79dc7fsm7333665wrp.75.2022.06.18.06.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Jun 2022 06:21:41 -0700 (PDT) From: =?UTF-8?B?VGjDqW8gSmVobA==?= To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Yuwei Chen , =?UTF-8?q?Marvin=20H=C3=A4user?= , Vitaly Cheptsov Subject: [PATCH v1 1/1] BaseTools: Suppress read only relocs errors on XCODE5 X64 toolchain Date: Sat, 18 Jun 2022 15:21:40 +0200 Message-Id: <20220618132140.10037-1-theojehl76@gmail.com> X-Mailer: git-send-email 2.32.1 (Apple Git-133) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Theo Jehl Added -read_only_relocs suppress for XCODE5 X64 toolchain This remove the needs for XCODE5 specific source with relocation fixes Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Cc: Marvin Häuser Cc: Vitaly Cheptsov Signed-off-by: Theo Jehl --- BaseTools/Conf/tools_def.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template index 5ed19810b727..be35094cecc3 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -2977,9 +2977,9 @@ RELEASE_XCODE5_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -Werror -inclu ################## # X64 definitions ################## - DEBUG_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map - NOOPT_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map -RELEASE_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map + DEBUG_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map + NOOPT_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map +RELEASE_XCODE5_X64_DLINK_FLAGS = -arch x86_64 -u _$(IMAGE_ENTRY_POINT) -e _$(IMAGE_ENTRY_POINT) -preload -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map *_XCODE5_X64_SLINK_FLAGS = -static -o DEBUG_XCODE5_X64_ASM_FLAGS = -arch x86_64 -g -- 2.32.1 (Apple Git-133)