Unrecoverable Compile error

Technical questions regarding the XTC tools and programming with XMOS.
babazaroni
Experienced Member
Posts: 94
Joined: Sun Feb 10, 2013 4:47 am

Unrecoverable Compile error

Post by babazaroni »

I get the compiler error below. I suspect it has something to do with array of interfaces. I put a lot of effort into editing before compiling, so I don't know what specifically is triggering the problem.
Is there some sort of verbose compiler mode or other way I can track this down?


Compiling i2c_msi.xc
xcc1: terminated due to internal unrecoverable error
For bug reporting instructions, please see:
http://www.xmos.com/support
xmake[1]: *** [.build_hw1_nospi3/m_i2c_msi/src/i2c_msi.xc.o] Error 1
xmake: *** [bin/hw1_nospi3/app_usb_aud_kmi_mixer_hw1_nospi3.xe] Error 2

This problem exists in both Community_13.2.2 and Community_14.0.1


User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

Perhaps the following post will be helpful ?

http://stackoverflow.com/questions/2246 ... -llvmgen-c
babazaroni
Experienced Member
Posts: 94
Joined: Sun Feb 10, 2013 4:47 am

Post by babazaroni »

I had to give up using an array of interfaces. Fortunately, this array had only 1 element, but I was trying to generalize to multiple interfaces.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

babazaroni
Experienced Member
Posts: 94
Joined: Sun Feb 10, 2013 4:47 am

Post by babazaroni »

I did try -DVERBOSE=1 as a build flag, but did not see any change to the console output.
User avatar
mon2
XCore Legend
Posts: 1913
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

Your makefile is where you will find the VERBOSE setting:


# The VERBOSE variable, if set to 1, enables verbose output from the make system.
VERBOSE = 1

Reference:
http://www.xcore.com/forum/viewtopic.ph ... it=VERBOSE