tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] libtcc1 on ARM now contains runtime functions


From: Christian Jullien
Subject: Re: [Tinycc-devel] libtcc1 on ARM now contains runtime functions
Date: Sat, 14 Dec 2013 08:19:15 +0100

Hi Thomas,

I this morning I decided to test your new runtime functions on my beloved
RPi.
As usual, I've made a fresh install:

And tried to compile using only "./configure; make"

Then, I got:
------------ test3 ------------
../tcc -B.. -I.. -I.. -I../include -DCONFIG_LDDIR="\"lib\""
-DCONFIG_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM
-DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c
-B.. -I.. -I.. -I../include -DCONFIG_LDDIR="\"lib\""
-DCONFIG_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM
-DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c
-B.. -I.. -I.. -I../include -DCONFIG_LDDIR="\"lib\""
-DCONFIG_MULTIARCHDIR="\"arm-linux-gnueabihf\"" -DTCC_TARGET_ARM
-DTCC_ARM_EABI -DTCC_ARM_HARDFLOAT -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c
-B.. -I.. -I.. -I../include -run ../tests/tcctest.c > test.out3
In file included from ../tcc.c:22:
In file included from ../libtcc.c:21:
In file included from ../tcc.h:32:
In file included from /usr/include/stdlib.h:43:
In file included from /usr/include/arm-linux-gnueabihf/bits/waitstatus.h:65:
In file included from /usr/include/endian.h:61:
/usr/include/arm-linux-gnueabihf/bits/byteswap.h:40: error: FIXME: function
bigger than 32MB

And later:

arg_align_test... success
./abitest-tcc lib_path=.. include="../include"
ret_int_test... Illegal instruction

With "./configure --with-libgcc; make"

I get no error or warning.

Christian

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Thomas Preud'homme
Sent: mercredi 11 d├ęcembre 2013 03:56
To: address@hidden
Subject: [Tinycc-devel] libtcc1 on ARM now contains runtime functions

Hi everyone,

I just made an implementation in C of the runtime ABI functions necessary on
ARM for tcc's test to pass. There is some float/integer conversion
functions, some long long helper functions (shift and division) and normal
integer division as well. I'd like to complete this effort by adding all the
missing function from the ARM runtime but later.

So this effort brings us one step closer to make test running in the default
configuration for tcc (that is, with --with-libgcc). To test this, you'll
have to compile tcctest.c with tcc and not use tcc -run as there is a
problem of too big offset for a jump. I intend to fix this bug next and then
try to add software float computation for the EABI to be fully functional
(right now it uses VFP which obviously doesn't work on all armv4 machine
without a VFP coprocessor).

Best regards,

Thomas

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




reply via email to

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