The answer here demonstrates that __attribute__((constructor)) is not called after static initialization, it is called in the declaration order.
Then, w
the biggest advantage of attribute((constructor))__ is the priority associated with each block and specifically helps your case.
You have two block of codes which have data hazard (one set should be executed first). This cannot be achieved by single static block. Using one static block and one attribute((constructor))__ will not solve your problem because of confusion regarding the order.
The best way to deal with the problem is to have two attribute((constructor))__ with two different priorities. Move your existing static initialization block to higher priority (0) and the other code block to lower priority.