https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110408
Brjd <brjd_epdjq36 at kygur dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Brjd <brjd_epdjq36 at kygur dot com> --- Please ignore it. I test it more and find out that it is my misunderstanding that I can make it the default specs if I use the %rename option. However, the compiler is not designed in this way. Please tell if there are other options. AFAIK currently there are two options to change the specs behavior. First, I can override only a part of the specs file with the %rename option. The shortage here is that it is not the default and I should invoke it manually every time by the -specs=/path-to-my-specs-file. The second way is a rebuild of the GCC or changes in the whole specs file. This is the way I can set the default without invoking in the command line -specs=/path-to-my-specs-file. I do the first one and that causes the error since I use the GCC without -specs. The compiler simply replaces the whole specs with my custom overriding specs and fails.