ARM Technical Support Knowledge Articles

V6.00 OPTIMIZATIONS CAUSE LINKER ERRORS/WARNINGS

Applies to: C51 C Compiler

Answer


Information in this article applies to:


SYMPTOMS

There is a problem with C51 V6.00. When using optimizer levels higher than 6, the compiler can create incorrect call tree linkage for the linker that causes strange errors and warnings. You may receive any of the following messages from the linker:

*** ERROR 107: ADDRESS SPACE OVERFLOW
*** WARNING 13: RECURSIVE CALL TO SEGMENT

The same code will compile OK with Version 5.50.

CAUSE

During optimization, the compiler merges common code blocks but incorrectly provides information to the linker.

RESOLUTION

To resolve this problem, you may do any of the following:

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2001-04-07 00:00:00

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential