[Top][All Lists]

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

[Tinycc-devel] trying tinycc on several hundred projects (results)

From: Austin English
Subject: [Tinycc-devel] trying tinycc on several hundred projects (results)
Date: Tue, 25 Mar 2014 20:31:33 -0700

Howdy all,

I was curious how well TinyCC performs on real world projects, so I decided to test it on my gentoo machine. I've written a small script (rebuild_tcc.sh, attached) that will attempt to build all currently installed packages with tcc. It works by testing that all installed packages A) use a C compiler, B) work with clang and gcc, then finally C) building with tcc.

Note: I'm emerging binary packages, essentially building then discarding each program, so the tcc compiled binaries aren't used for compiling other packages.

The first few rounds of tests help to reduce the noise ratio. For instance, on my system, I have 855 packages installed. Of that, only 591 used a C compiler.

Reducing down, that gave me a list of 473 packages that built using gcc and clang. Of those, after http://repo.or.cz/w/tinycc.git/commitdiff/ba286136bf8e48c71ffd6c2fd9ce97e64a6eeeb1,  231 packages build with tcc, with 242 failed.

I've attached the good/bad lists and the log from building to this email, in case you want to try it yourself.

I haven't tried looking through to see what the most common failures are, I'll leave that for someone else (along with fixing all the bugs it found ;) )


Attachment: rebuild_tcc.sh
Description: Bourne shell script

Attachment: results.tar.xz
Description: application/xz

reply via email to

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