Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion `t->constructors_num >= 0 && t->constructors_num <= 1000' failed. #239

Open
sagitter opened this issue Sep 2, 2014 · 5 comments

Comments

@sagitter
Copy link

sagitter commented Sep 2, 2014

Hi all.

I obtain this error with last code commited and I don't know absolutely what it means, it seems limited to the PPC64 architecture:

...
./bin/tlc -e auto/scheme.tlo ./auto/scheme.tl
./bin/generate ./auto/scheme.tlo > auto/auto.c
generate: generate.c:774: read_types: Assertion `t->constructors_num >= 0 && t->constructors_num <= 1000' failed.
make: *** [auto/auto.c] Error 1

Build log : https://kojipkgs.fedoraproject.org//work/tasks/3605/7503605/build.log
Here the list of dependencies involved: https://kojipkgs.fedoraproject.org//work/tasks/3605/7503605/root.log

@vysheng
Copy link
Owner

vysheng commented Sep 3, 2014

Really interesting. No ideas at moment.

I am not familiar with ppc arch. Does it have any key differencses, such as int endianess?

@sagitter
Copy link
Author

sagitter commented Sep 3, 2014

I don't know; I haven't got any PPC64 device available.

@vysheng
Copy link
Owner

vysheng commented Sep 3, 2014

Wiki says, that ppc can work in both mods, hence default mode is big-endian.

My code can work only in little-endian systems. Probably here is a root of problem. But I don't have any ppc, so can not say for sure, what to do with it.

@sagitter
Copy link
Author

sagitter commented Sep 5, 2014

I fear that I will need to exclude telegram-cli packaging for PPC. :(

@r4f4
Copy link

r4f4 commented Jan 4, 2016

vysheng, you can get access to a ppc64 machine here: https://fit-rhlab.rhcloud.com/powerlinux-openpower-development-hosting/

Let me know if you need anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants