http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #2 from Krisztian Kocsis <krisztian.kocsis at optimaster dot eu> 2012-03-05 12:46:47 UTC --- It seems that it works with -fno-use-linker-plugin - strane :S Now I will try to check some other things. I think it is not a linker bug because if a save temp files the .s file does not contain the .init_array section while when -flto is not included it does contain this section. I will attach them after I made the checks.