[MacPorts] #37664: gcc46, gcc47 @4.7.2 'init_priority' attribute is not supported on this platform

MacPorts noreply at macports.org
Thu Jan 17 10:54:45 PST 2013


#37664: gcc46, gcc47 @4.7.2 'init_priority' attribute is not supported on this
platform
--------------------------+--------------------
  Reporter:  ilg@…        |      Owner:  mww@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:  invalid      |   Keywords:
      Port:  gcc46 gcc47  |
--------------------------+--------------------

Comment (by ilg@…):

 Replying to [comment:14 jeremyhu@…]:
 > ...  The runtime doesn't support it.

 further extensive tests showed that you are partly right, although the
 compiler reorders correctly the constructors within a compilation unit,
 the OS X linker ignores the init_priority() attribute and does not reorder
 the constructors (the constructors are called in the same order as the
 objects are linked).

 thank you for your patience,

 Liviu

-- 
Ticket URL: <https://trac.macports.org/ticket/37664#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list