https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97865

--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jürgen Reuter from comment #4)
> (In reply to Iain Sandoe from comment #3)
> > I didn't have x86 Big Sur until the weekend - still working through things.

> > 1/
> > 
> > The change you have keeps the default as $wl-undefined ${wl}dynamic_lookup,
> > which is no longer ideal - Darwin [at least in GCC] should only use that as
> > a conscious decision (when we know it's required) otherwise it just
> > suppresses errors on missing symbols until runtime.
> 
> I was trying it out on a regular Intel chip, not yet the new architecture.
> It seems for libgfortran and gfirtran it is still needed.

It's OK to need it (there are legitimate design reasons to do so) - however
where that need exists, the -Wl,-undefined,dynamic_lookup should be applied to
the specific configuration (with eyes open as to why, of course).

Placing it in the libtool.m4 (and regenerating the configurations) applies it
globally to everything in the GCC tree which isn't right.

Reply via email to