This is the mail archive of the ecos-bugs@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000098] initialization priority attribute for heap not honored by gcc 3.4.0


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000098


jifl@ecoscentric.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1




------- Additional Comments From jifl@ecoscentric.com  2004-21-06 17:42 -------
The first link you gave has a comment from Andrew Pinski saying "This works
though (but does not compile with anything before 3.4.0):"

but the easy solution to that is for heapgen.tcl to generate something along the
lines of:
#if (__GNUC__>3) || (__GNUC__ == 3 && __GNUC__ >= 4)
Cyg_Dlmalloc_pool CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_MEMALLOC) __heap1(blah, blah);
#else
Cyg_Dlmalloc_pool __heap1(blah, blah) CYGBLD_ATTRIB_INIT_PRI(CYG_INIT_MEMALLOC);
#endif

Would you be willing to make a patch along these lines? You can make the changes
to heapgen.tcl and generate the patch with "cvs diff -u"

Thanks.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]