Problem using -pg with large binaries and Sourcery G++ Lite 4.3-43

Rich G rich.g.nht at googlemail.com
Mon Mar 16 11:36:58 UTC 2009


Simple testcase - create simple helloworld app and compile
with/without -static with -pg

Thanks

Rich

On 16/03/2009, Rich G <rich.g.nht at googlemail.com> wrote:
> Hi
>
> I've been trying to compile using Sourcery G++ Lite 4.3-43 with profiling
> support enabled with -pg but I keep getting the following error from gcc
> when trying to compile large binaries (with and without static):
>
> relocation truncated to fit: R_68K_PC16 against `.data'
>
> This seems similar to the gcc bug shown at
> http://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg222205.html
>
> -pg works ok when creating smaller binaries.
>
> Is the bug in the link above relevant to my problem ?
>
> Any info appreciated
>
> Rich
>



More information about the coldfire-gnu-discuss mailing list