I added the -znodelete linker option.
Without this option some tests failed to run.

I can now compile and test openssl with:

./Configure --debug CC=tcc -no-asm enable-fips
sed -i -e 's/-Wl,--version.* //' Makefile
sed -i -e '/complex.h/d' test/rsa_complex.c

make clean
make -j 8
make test

The test produce the same result as gcc(without -no-asm) only a bit slower.
gcc: Files=342, Tests=4124, 877 wallclock secs (10.43 usr  0.65 sys + 755.40 cusr 192.84 csys = 959.32 CPU) tcc: Files=342, Tests=4124, 4061 wallclock secs (11.70 usr  0.74 sys + 3915.44 cusr 215.05 csys = 4142.93 CPU)

    Herman

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to