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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Target|powerpc-apple-darwin        |*-apple-darwin*
             Status|UNCONFIRMED                 |NEW
            Summary|Darwin PowerPC error:       |Darwin: constructor
                   |constructor priorities are  |priorities are not
                   |not supported               |supported
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=52477
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2025-03-23

--- Comment #1 from Iain Sandoe <iains at gcc dot gnu.org> ---
I am actually surprised we don't have an enhancement bug for this.

The reason we do not have this is because it needs linker support (for a
complete impl.)  I have looked into the possibility of using collect2 to do
this (but inconclusive) .. so let's track this as an enhancement bug.

In the meantime, you have no solution except to make the priority attribute
conditional on !defined(__APPLE__).

Reply via email to