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

MacPorts noreply at macports.org
Wed Jan 16 14:18:11 PST 2013


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

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 Replying to [comment:4 jeremyhu@…]:
 > This is an upstream issue.

 what do you mean by that?

 I just performed a test and the default compiler in Ubuntu is quite happy
 with both

 {{{
 __attribute__((constructor(101)));
 __attribute__((init_priority(102)));
 }}}

 The same applies to various cross compilers I used in the past, and
 lately, to the default clang++ that comes with Xcode.

 My guess is that you either missed some build options, or you forgot to
 apply a mandatory patch.

 I suggest you check the build procedure used for the Ubuntu gcc4.7 and
 update the MacPorts one accordingly.

 Regards,

 Liviu

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


More information about the macports-tickets mailing list