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

--- Comment #17 from rguenther at suse dot de <rguenther at suse dot de> ---
On Mon, 15 Apr 2019, dominiq at lps dot ens.fr wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90020
> 
> --- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> > /* { dg-require-weak "" } */
> >
> > was supposed to make it UNSUPPORTED on targets where it doesn't work.
> 
> Apparently this not enough. From gcc.dg/attr-weakref-1.c I see
> 
> // { dg-additional-options "-Wl,-undefined,dynamic_lookup" { target 
> *-*-darwin*
> } }
> // { dg-additional-options "-Wl,-flat_namespace" { target *-*-darwin[89]* } }
> 
> The test links on x86_64-apple-darwin18 if I add 
> -Wl,-undefined,dynamic_lookup.

Can you commit that change then?  It's pre-approved since it only
affects -darwin and you tested that.  Thx.

Reply via email to