https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
Marcelo Richter <marcelo at brs dot ind.br> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marcelo at brs dot ind.br --- Comment #105 from Marcelo Richter <marcelo at brs dot ind.br> --- Any news on that? With gcc 4.8.4 (ARM target), init_priority attribute doesn't work with a static library and main C++ file. I have a class declared in library with "__attribute__ ((init_priority (101)))". In main project, another class declared with no attributes. The main class constructor is called BEFORE library constructor (with high priority attribute).