internal error

Technical questions regarding the XTC tools and programming with XMOS.
genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

internal error

Post by genap »

All of a sudden I've started to receive the following message on a project build:

Failed in z:/buildslave/swnb/tools/win764_nightly_ent13/build/sb/tools_xcc1_c_llvm/BackEnd/LLVM/llvmgen.c, line 7342
UNREACHABLE

It happened after i cleaned the project.

Is there any idea how I can get out of this ?


genap
Experienced Member
Posts: 99
Joined: Sat Aug 31, 2013 11:23 pm

Post by genap »

I found the reason for this error.
It happens when I replaced standard

Code: Select all

ptr = (unsigned char *)&data;
by used in reference design

Code: Select all

unsigned char *ptr = &data;
richard
Respected Member
Posts: 318
Joined: Tue Dec 15, 2009 12:46 am

Post by richard »

The error message indicates that something has gone wrong in the internals of the compiler. Would you be able to submit a bug via:

https://www.xmos.com/en/support/contact/report-a-bug