C.12 Whole program optimization messages

This section lists errors that occur when the compiler is performing whole program optimization.

Fatal error 12000: Cannot open whole program optimization feedback file ”arg. 1


The compiler cannot open the specified feedback file with whole program optimization information.

Processing whole program optimization information in wpo feedback file ”arg. 1


The compiler starts processing whole program optimization information found in the named file.

Finished processing the whole program optimization information in wpo feedback file ”arg. 1


The compiler has finished processing the whole program optimization information found in the named file.

Error 12003: Expected section header, but got ”arg. 2” at line arg. 1of wpo feedback file


The compiler expected a section header in the whole program optimization file (starting with %), but did not find it.

Warning 12004: No handler registered for whole program optimization section ”arg. 2” at line arg. 1of wpo feedback file, ignoring


The compiler has no handler to deal with the mentioned whole program optimization information section, and will therefore ignore it and skip to the next section.

Found whole program optimization section ”arg. 1” with information about ”arg. 2


The compiler encountered a section with whole program optimization information, and according to its handler this section contains information usable for the mentioned purpose.

Fatal error 12006: The selected whole program optimizations require a previously generated feedback file (use -Fw to specify)


The compiler needs information gathered during a previous compilation run to perform the selected whole program optimizations. You can specify the location of the feedback file containing this information using the -Fw switch.

Error 12007: No collected information necessary to perform ”arg. 1” whole program optimization found


While you pointed the compiler to a file containing whole program optimization feedback, it did not contain the information necessary to perform the selected optimizations. You most likely have to recompile the program using the appropriate -OWxxx switch.

Fatal error 12008: Specify a whole program optimization feedback file to store the generated info in (using -FW)


You have to specify the feedback file in which the compiler has to store the whole program optimization feedback that is generated during the compilation run. This can be done using the -FW switch.

Error 12009: Not generating any whole program optimization information, yet a feedback file was specified (using -FW)


The compiler was instructed to store whole program optimization feedback into a file specified using -FW, but not to actually generated any whole program optimization feedback. The classes of to be generated information can be specified using -OWxxx.

Error 12010: Not performing any whole program optimizations, yet an input feedback file was specified (using -Fw)


The compiler was not instructed to perform any whole program optimizations (no -Owxxx parameters), but nevertheless an input file with such feedback was specified (using -Fwyyy). Since this can indicate that you forgot to specify an -Owxxx parameter, the compiler generates an error in this case.

Skipping whole program optimization section ”arg. 1”, because not needed by the requested optimizations


The whole program optimization feedback file contains a section with information that is not required by the selected whole program optimizations.

Warning 12012: Overriding previously read information for ”arg. 1” from feedback input file using information in section ”arg. 2


The feedback file contains multiple sections that provide the same class of information (e.g., information about which virtual methods can be devirtualized). In this case, the information in last encountered section is used. Turn on debugging output (-vd) to see which class of information is provided by each section.

Error 12013: Cannot extract symbol liveness information from program when stripping symbols, use -Xs-


Certain symbol liveness collectors extract the symbol information from the linked program. If the symbol information is stripped (option -Xs), this is not possible.

Error 12014: Cannot extract symbol liveness information from program when when not linking


Certain symbol liveness collectors extract the symbol information from the linked program. If the program is not linked by the compiler, this is not possible.

Fatal error 12015: Cannot find ”arg. 1” or ”arg. 2” to extract symbol liveness information from linked program


Certain symbol liveness collectors need a helper program to extract the symbol information from the linked program. This helper program is normally ’nm’, which is part of the GNU binutils.

Error 12016: Error during reading symbol liveness information produced by ”arg. 1


An error occurred during the reading of the symbol liveness file that was generated using the ’nm’ or ’objdump’ program. The reason can be that it was shorter than expected, or that its format was not understood.

Fatal error 12017: Error executing ”arg. 1” (exitcode: arg. 2) to extract symbol information from linked program


Certain symbol liveness collectors need a helper program to extract the symbol information from the linked program. The helper program produced the reported error code when it was run on the linked program.

Error 12018: Collection of symbol liveness information can only help when using smart linking, use -CX -XX


Whether or not a symbol is live is determined by looking whether it exists in the final linked program. Without smart linking/dead code stripping, all symbols are always included, regardless of whether they are actually used or not. So in that case all symbols will be seen as live, which makes this optimization ineffective.

Error 12019: Cannot create specified whole program optimisation feedback file ”arg. 1


The compiler is unable to create the file specified using the -FW parameter to store the whole program optimisation information.