Error: Unhandled parinfo version

Technical questions regarding the XTC tools and programming with XMOS.
MaximLiadov
XCore Addict
Posts: 179
Joined: Mon Apr 16, 2018 9:14 am

Error: Unhandled parinfo version

Post by MaximLiadov »

Sometime I faced with "main.xc: Error: Unhandled parinfo version". Any clue what does that mean?
There is no any source code line with error. Just got error on final .xe linking. Sometimes -O3 key fix this issue.
xTime Composer Version Community_14.4.1
MaximLiadov
XCore Addict
Posts: 179
Joined: Mon Apr 16, 2018 9:14 am

Post by MaximLiadov »

Fortunately I have found a solution. Оne of my .xc file was too big, with too many inline functions inside (lib_i2c calls). When I made 4 separate .xc files and 4 headers the problem gone away, and project run successfully. Seems to be it's some compiler's bug on linking stage that flagging clueless error info.
User avatar
Ross
Verified
XCore Legend
Posts: 1163
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Is this reproducible on XTC 15?
Technical Director @ XMOS. Opinions expressed are my own