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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-05-27
     Ever confirmed|0                           |1

--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #5)
> > Mike, what do you think is the best solution here?  We could use Dominique's
> > patch with a comment to the effect that "New-ABI symbols are always emitted
> > on Linux, but only with -fabi-version=4 or later on Darwin."  We could 
> > revert
> > my change and hardcode -fabi-version=2 for all targets.  Or we could take 
> > the
> > suggestion from your original review email and duplicate the test into 
> > new-ABI
> > and old-ABI versions, and do both of those.
> 
> I am in favor of the duplicated test.

It looks to me like the ELF toolchain is emitting a non-weak alias for the
alternate symbol.

We don't (currently) support that in Darwin (and it's pretty unlikely we will
given ld64's atom rules).

Therefore, I concur that the correct action is to have two tests - one for each
ABI and run both tests on all targets.

Reply via email to