tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] tcc fails to compile the J interpreter


From: Robert Clausecker
Subject: [Tinycc-devel] tcc fails to compile the J interpreter
Date: Thu, 22 Jan 2015 21:51:16 +0100

I tried to compile the J interpreter [1] with tcc. This interpreter uses
a metric fucktonne of macros and generally puts a lot of stress on the
compiler and preprocessor. I am using the most recent mob branch version
(release_0_9_26-326-gff783b9). tcc crashes on files vbang.c and vz.c
with the following messages:

vbang.c:
tcc: x86_64-gen.c:495: load: Assertion `(v >= TREG_XMM0) && (v <=
TREG_XMM7)' failed.
Aborted (core dumped)

vz.c
tcc: x86_64-gen.c:495: load: Assertion `(v >= TREG_XMM0) && (v <=
TREG_XMM7)' failed.
Aborted (core dumped)

furthermore, it fails to compile the files p.c and x15.c. gcc and clang
have no problems compiling the project. The error messages are
reproduced below:

p.c:99: error: ')' expected (got ",")
x15.c:845: error: initializer element is not computable at load time

Please have a look at these issues. If you like, I can try to track them
down on my own but I'm not familiar with the tcc source code.

Yours sincerely,
Robert Clausecker

[1]: https://github.com/openj/core




reply via email to

[Prev in Thread] Current Thread [Next in Thread]