<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi,</div><div dir="ltr"><br></div><div dir="ltr">Just incase any one else reads this, anything you add to your user profile will nit have any effect on port builds, as these do not run as your user. So don’t try this expecting it to fix port builds. </div><div dir="ltr"><br></div><div dir="ltr">Chris</div><div dir="ltr"><br><blockquote type="cite">On 2 Oct 2023, at 4:18 pm, Maxim Abalenkov <maxim.abalenkov@gmail.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">Hello Murray,<div><br></div><div>How are you? As mentioned in the previous posts on this list, please see Apple’s comments on the new linker issue:</div><div><br></div><div><div style="display: block;"><div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking"><a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking" dir="ltr" role="button" draggable="false" width="300"><table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300"><tbody><tr><td vertical-align="center" align="center"><div><developer-og.jpg></div></td></tr><tr><td vertical-align="center"><table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);" class="lp-rich-link-captionBar"><tbody><tr><td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem"><div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack"><div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading"><a rel="nofollow" href="https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking" style="text-decoration: none" draggable="false"><font color="#272727" style="color: rgba(0, 0, 0, 0.847059);">Xcode 15 Release Notes | Apple Developer Documentation</font></a></div><div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading"><a rel="nofollow" href="https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#Linking" style="text-decoration: none" draggable="false"><font color="#808080" style="color: rgba(0, 0, 0, 0.498039);">developer.apple.com</font></a></div></div></td></tr></tbody></table></td></tr></tbody></table></a></div></div></div><div><br></div><div>For now, use Xcode 15 and its command line tools and try to enforce the old linker by defining the following environment variables:</div><div><div><br></div><div>  export MACOSX_DEPLOYMENT_TARGET=12</div><div>  export OTHER_LDFLAGS=-Wl,-ld_classic</div></div><div><br></div><div>You may place them into your ~/.profile file. I hope this helps.</div><div><br></div><div>—</div><div>Best wishes,</div><div>Maxim</div><div><br id="lineBreakAtBeginningOfMessage"><div>
<meta charset="UTF-8"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Maxim Abalenkov \\ maxim.abalenkov@gmail.com<br>+44 7 486 486 505 \\ www.maxim.abalenkov.uk</div></div></div>
</div>
<div><br><blockquote type="cite"><div>On 2 Oct 2023, at 15:29, Murray Eisenberg <murrayeisenberg@gmail.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="content-type" content="text/html; charset=us-ascii"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">As reported at <a href="http://grac.macports.org/">grac.macports.org</a>, a number of ports will no longer install because configure fails with Xcode 15, which apparently has a linker issues.<div><br></div><div>Some have suggested reverting to Xcode 14.3.1, to work around those issues.</div><div><br></div><div>But under macOS Sonoma, that does not seem to be an option: After replacing Xcode 15 with Xcode 14.3.1, and similarly for the command-line tools, if I open Xcode 14.3.1, I get an error that this version of Xcode will not work with the OS (Sonoma).</div><div><br></div><div>Is there some other work-around?</div><div><br><div>
<div>---<br>Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">               </span>murrayeisenberg@gmail.com<br>Mobile (413)-427-5334<br>503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">         </span><br>Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">        </span></div><div><br></div><br class="Apple-interchange-newline">

</div>

<br></div></div></div></blockquote></div><br></div></div></blockquote></body></html>