[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-07-05 Thread Ileana Dumitrescu
Update of sr #111069 (group libtool): Status: In Progress => Done Open/Closed:Open => Closed ___ Follow-up Comment #17: Closing, since this

Re: [sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-27 Thread Ileana Dumitrescu
On 27/06/2024 18:28, Ozkan Sezer wrote: On Thu, Jun 27, 2024 at 5:29 PM Ileana Dumitrescu wrote: Follow-up Comment #16, sr #111069 (group libtool): I have updated development with a feature test: https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=3d1baeeef90a6b9e16c545bab

Re: [sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-27 Thread Ozkan Sezer
On Thu, Jun 27, 2024 at 5:29 PM Ileana Dumitrescu wrote: > > Follow-up Comment #16, sr #111069 (group libtool): > > I have updated development with a feature test: > > https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=3d1baeeef90a6b9e16c545babe833f28dca155a7 > > Please tell me

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-27 Thread Ileana Dumitrescu
Follow-up Comment #16, sr #111069 (group libtool): I have updated development with a feature test: https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=3d1baeeef90a6b9e16c545babe833f28dca155a7 Please tell me if there are any issues with it. ___

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-25 Thread Ileana Dumitrescu
Update of sr #111069 (group libtool): Status:Done => In Progress Open/Closed: Closed => Open ___ Follow-up Comment #15: [comment #12 comment

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-25 Thread Ileana Dumitrescu
Follow-up Comment #14, sr #111069 (group libtool): [comment #11 comment #11:] > [comment #10 comment #10:] > > I have merged a patch in the development branch to append '-no_fixup_chains' for macOS versions 11.3*-14* and Xcode versions 13-15* ... > > Thanks for taking care of this. I did not und

Re: [sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-25 Thread Ileana Dumitrescu
On 21/06/2024 21:36, Ozkan Sezer wrote: I have merged a patch in the development branch to append '-no_fixup_chains' for macOS versions 11.3*-14* and Xcode versions 13-15*. I have verified this removes the warning that I was seeing on macOS 12.7.5, Xcode 14.2.0.0.1.1668646533 [1][2]. I have not s

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-22 Thread Dave Allured
Follow-up Comment #13, sr #111069 (group libtool): [comment #7 comment #7:] > ... Newer versions of ld64 already know to disable chained fixups when it is passed `-undefined dynamic_lookup`. This patch is really only relevant for a small range of versions of ld64 that doesn't have this behaviour.

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-21 Thread Ryan Carsten Schmidt
Follow-up Comment #12, sr #111069 (group libtool): This is the commit: https://git.savannah.gnu.org/cgit/libtool.git/commit/?h=development&id=001d22d7d587e85a911c71c4d0c798ede8014b77 It's a good idea to always provide a link to the commit. You could remove the comment that "$MACOSX_DEPLOYMENT_T

Re: [sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-21 Thread Ozkan Sezer
> I have merged a patch in the development branch to append '-no_fixup_chains' > for macOS versions 11.3*-14* and Xcode versions 13-15*. I have verified this > removes the warning that I was seeing on macOS 12.7.5, Xcode > 14.2.0.0.1.1668646533 [1][2]. I have not seen any regressions from this on >

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-21 Thread Dave Allured
Follow-up Comment #11, sr #111069 (group libtool): [comment #10 comment #10:] > I have merged a patch in the development branch to append '-no_fixup_chains' for macOS versions 11.3*-14* and Xcode versions 13-15* ... Thanks for taking care of this. I did not understand libtool enough to do it mys

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-21 Thread Ileana Dumitrescu
Update of sr #111069 (group libtool): Open/Closed:Open => Closed ___ Reply to this item at: ___ Me

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-21 Thread Ileana Dumitrescu
Update of sr #111069 (group libtool): Status:None => Done ___ Follow-up Comment #10: I have merged a patch in the development branch to append '-no_fixup_chains' for macOS versions 1

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-09 Thread Carlo Cabrera
Follow-up Comment #9, sr #111069 (group libtool): [comment #8 comment #8:] > If you could modify this patch to include a linker version check that should be sufficient. You could probably try to parse this output: ``` ❯ cc -Wl,-version_details -xc - -o /dev/null <<<'int main(){}' 2>/dev/null {

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-06-08 Thread Ileana Dumitrescu
Follow-up Comment #8, sr #111069 (group libtool): Thanks for the discussion. If you could modify this patch to include a linker version check that should be sufficient. I do not think a feature test is necessary since the behaviour seems rigidly defined between linker versions, and these fixup ch

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-30 Thread Carlo Cabrera
Follow-up Comment #7, sr #111069 (group libtool): [comment #6 comment #6:] > It would be better to understand whether what libtool is doing is incompatible with chained fixups, and if so, fix that so that it works with chained fixups. libtool passes `-undefined dynamic_lookup` to the linker, whic

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-30 Thread Ryan Carsten Schmidt
Follow-up Comment #6, sr #111069 (group libtool): The libtool that was used to generate gsl 2.8's configure script includes this patch, which is why gsl 2.8 is failing to build with older macOS toolchains that don't understand this flag. It does not seem like libtool should accept this patch. Cha

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-26 Thread Carlo Cabrera
Follow-up Comment #5, sr #111069 (group libtool): Actually, checking the behaviour of ld64 when it's given unknown flags isn't hard: ``` ❯ clang -xc - -Wl,-nonexistent_flag -o /dev/null <<<'int main(){}' ld: unknown options: -nonexistent_flag clang: error: linker command failed with exit code 1 (

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-26 Thread Dave Allured
Follow-up Comment #4, sr #111069 (group libtool): [comment #3 comment #3:] > I personally tested this a while back Thanks for letting me know about that testing. Now I wonder if a feature test might be better here in libtool, rather than a linker version number test. __

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-26 Thread Carlo Cabrera
Follow-up Comment #3, sr #111069 (group libtool): > My original patch assumes that `-no_fixup_chains` would be silently ignored by intermediate linker versions older than Xcode 13. I have not yet tested this assumption on any such Macs. This is not a good assumption, I'm afraid. I personally te

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-25 Thread Dave Allured
Follow-up Comment #2, sr #111069 (group libtool): [comment #1 comment #1:] > Note that the `-no_fixup_chains` flag is supported only on Xcode 13 or newer (which in turn requires macOS 11.3 or newer). > > See this relevant method used in Homebrew: ... Thank you for this information. I have troub

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-25 Thread Carlo Cabrera
Follow-up Comment #1, sr #111069 (group libtool): Note that the `-no_fixup_chains` flag is supported only on Xcode 13 or newer (which in turn requires macOS 11.3 or newer). See this relevant method used in Homebrew: https://github.com/Homebrew/brew/blob/f1a7d971f2e5d04097d7a360aa1f9a910ccc20f3/L

[sr #111069] libtool: patch: Fix dynamic_lookup warnings from new Mac linker

2024-05-24 Thread Dave Allured
URL: Summary: libtool: patch: Fix dynamic_lookup warnings from new Mac linker Group: GNU Libtool Submitter: dallured Submitted: Fri 24 May 2024 06:01:06 PM UTC Category: N