From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id E94193858D1E for ; Fri, 17 Nov 2023 11:56:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E94193858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E94193858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::430 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700222188; cv=none; b=R3U1RvGEOUUCyt/JjNdoeYJzL9PxVi/mJioPgz9/sl7Jui+UKAlFSFIlwD1t+DnlR0nmY1BSrCY363nmljoG4GFJxw9D5Q8x0qXyIbsqLtqB7p9zH6jO7spZBo3q7waBgL+xaaC3IbSXg3OHO8gHbEQqXBYWp4Ru/EqKSeWvg84= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700222188; c=relaxed/simple; bh=WuJOR2kPNm+NdtQRvAygFY/XveNeowC0jaDSMCrIu10=; h=DKIM-Signature:From:Message-Id:Mime-Version:Subject:Date:To; b=ZtQGRTVU7JGEoMAzdSPfPnbFV2kloQBo0TOYbf3n+decIY0HGWWTiXBHO2tObe2JGbPwx9QbsiaFtL+BUKqwxuLNIwzmFQ8Urr/xTiKETm5Ob6dNGcdJGdyeIQTbev2xQkacEzAA43NgQGr2pHq5c63uak0yVuD8mcGpNXPe8MY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-32fc2720c47so388485f8f.0 for ; Fri, 17 Nov 2023 03:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700222186; x=1700826986; darn=gcc.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=2EwuI7Ekj0OJ5F+NqxpLijmyTQXBxo/x+NJDHjvvHGU=; b=JGk18jLkQIWD5JPnTP6E1BgZavsZUdxyJ+wT1652fFFpyqY4FAuWCf+z7W+33HaG0A xGOdhRySnFDsw27EfZ51medAdN4o3GExq9f95nZwH0bapneOoEVlw58Gw2jLWtD4n4na Bd0mByfb4voqsEF+fGPIaSGyXv6NXmvxAsBpS+KCCENhS7jveA3+ACBJ4zZKDHZRo8vR bYuDiHp8X5viCfntSJMSXFzAsh9UwXFTIiRK9q2GxuSgmugFlh+GWrnPTbhVLpWfcRPQ U/7PA3cT6CpOhHO+o6ABb7Y3XVZn5oodoQKREZ+nrzu7TXwOAqzlRWpWToJnWxcfNh4p 0xpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700222186; x=1700826986; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2EwuI7Ekj0OJ5F+NqxpLijmyTQXBxo/x+NJDHjvvHGU=; b=hpskjHVgMrcsVysi64fsxchmLDBmZ4LlgWF3wzYnvXZyiDzvoYlaqTNLI8ekF+mOVW /aCOIsCSee0wPIvThByZSzuJj8cfMYPm2+oL311UWsLUo8XPllCC+wcMX3h5mqRIqv0c BocF07SGaC70kbtN9m6NNYPhV3kct5LUzH//sCJrY0S21yHRtaRBZYZ1bu1uje5ETPJg usjR/oSmCS6cOsIfB8qV0gOgCmmP0xCEeocN3kQOy0KYGoYHTtoX6MkWCGRYEQWiuaJd WSm5QwN73h49/3YnR3c/7H1pJR6xMnRwY5MjNlpwiugG9N+8fYxFIJQiS603Soh4TIuG jrAg== X-Gm-Message-State: AOJu0YxLFgNcWdsR28/WntJWVZZnaT6o2GXXxGIUkU2cJdM/fr4RV0Kt rFQR+76XqC3hYNxvL8oJWvc= X-Google-Smtp-Source: AGHT+IHb70ydOYCCtAnKJJjaln0WJCNb+TDgtmwomS/Egwd0fRG9isDWn890TztC76J7kIDqoeQA1g== X-Received: by 2002:a05:6000:2a7:b0:331:3c88:6fc6 with SMTP id l7-20020a05600002a700b003313c886fc6mr8537185wry.6.1700222185624; Fri, 17 Nov 2023 03:56:25 -0800 (PST) Received: from smtpclient.apple (chp127.enscp.fr. [193.51.253.127]) by smtp.gmail.com with ESMTPSA id d16-20020adffbd0000000b003313902cef5sm2071630wrs.93.2023.11.17.03.56.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Nov 2023 03:56:24 -0800 (PST) From: FX Coudert Message-Id: <9CB59C76-0451-487C-A708-BBCBEF32D448@gmail.com> Content-Type: multipart/mixed; boundary="Apple-Mail=_25A722E0-2595-4D3C-8C0D-851D796A1FCB" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: Darwin: Replace environment runpath with embedded [PR88590] Date: Fri, 17 Nov 2023 12:56:13 +0100 In-Reply-To: <22AC949A-3CE2-47E0-83F6-9D0CC6B52C99@gmail.com> Cc: Thomas Schwinge , Iain Sandoe , gcc-patches@gcc.gnu.org, Martin Jambor To: =?utf-8?Q?Fran=C3=A7ois-Xavier_Coudert?= References: <653fd72a.050a0220.a6a20.de86SMTPIN_ADDED_BROKEN@mx.google.com> <5D574615-8242-439C-A4A8-B66CF896D66D@gmail.com> <2C6A1839-8D61-4AEE-A9CB-F40971F61AF7@gmail.com> <8734x6vktd.fsf@euler.schwinge.homeip.net> <22AC949A-3CE2-47E0-83F6-9D0CC6B52C99@gmail.com> X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --Apple-Mail=_25A722E0-2595-4D3C-8C0D-851D796A1FCB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, > If I remove the line from libtool.m4 (innocent smile) I see that = fixincludes/configure is better, and it does not appear to change the = regenerated files in other directories (I didn=E2=80=99t do a build yet, = just tried to regenerate with some manual autoconf invocations). I have done a full rebuild, and having looked more at the structure of = libtool.m4 I am now convinced that having that line outside of the scope = of _LT_DARWIN_LINKER_FEATURES is simply wrong (probably a copy-pasto or = leftover from earlier code). Having rebuilt everything, it only manifests itself in = fixincludes/ChangeLog. Iain is traveling right now, but when he is back = I would like to submit this patch if he agrees with the above. It was = regtested on x86_64-apple-darwin21. Thomas, can you confirm that it also fixes things for you? Although I = don=E2=80=99t see why it wouldn=E2=80=99t. FX --Apple-Mail=_25A722E0-2595-4D3C-8C0D-851D796A1FCB Content-Disposition: attachment; filename=0001-libsanitizer-fix-build-on-darwin.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-libsanitizer-fix-build-on-darwin.patch" Content-Transfer-Encoding: quoted-printable =46rom=20f135df7c2ccca1982cac6bf1f77317f4b97ab56d=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Francois-Xavier=20Coudert=20= =0ADate:=20Fri,=2017=20Nov=202023=2012:46:09=20= +0100=0ASubject:=20[PATCH]=20libsanitizer:=20fix=20build=20on=20darwin=0A= =0AUpstream=20report=20of=20the=20issue=20at=0A= https://github.com/llvm/llvm-project/issues/72639=0A=0A= libsanitizer/ChangeLog:=0A=0A=09*=20asan/asan_mac.cpp:=20Protect=20Apple=20= blocks=20behind=20the=0A=09MISSING_BLOCKS_SUPPORT=20macro.=0A---=0A=20= libsanitizer/asan/asan_mac.cpp=20|=202=20++=0A=201=20file=20changed,=202=20= insertions(+)=0A=0Adiff=20--git=20a/libsanitizer/asan/asan_mac.cpp=20= b/libsanitizer/asan/asan_mac.cpp=0Aindex=205d5146e0cde..6252fa20d5e=20= 100644=0A---=20a/libsanitizer/asan/asan_mac.cpp=0A+++=20= b/libsanitizer/asan/asan_mac.cpp=0A@@=20-139,9=20+139,11=20@@=20typedef=20= void=20(*dispatch_mach_handler_function_t)(void=20*context,=0A=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= dispatch_mach_reason=20reason,=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20dispatch_mach_msg_t=20message,=0A=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= mach_error_t=20error);=0A+#if=20!defined(MISSING_BLOCKS_SUPPORT)=0A=20= typedef=20void=20(^dispatch_mach_handler_t)(dispatch_mach_reason=20= reason,=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= dispatch_mach_msg_t=20message,=0A=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20mach_error_t=20error);=0A+#endif=0A=20=0A=20//=20A=20wrapper=20for=20= the=20ObjC=20blocks=20used=20to=20support=20libdispatch.=0A=20typedef=20= struct=20{=0A--=20=0A2.39.3=20(Apple=20Git-145)=0A=0A= --Apple-Mail=_25A722E0-2595-4D3C-8C0D-851D796A1FCB--