Hi: On Beaglebone, all is well as long as I configure --with-libgcc. All tests run, although lots of noisy output re diffs from:
../tcc -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c -B.. -run tcctest.c > test.out3 --- test.ref 2013-02-14 15:01:47.000000000 +0000 +++ test.out3 2013-02-14 15:01:50.000000000 +0000 @@ -255,11 +255,11 @@ sinit12=hello world sinit13=12 test1 test2 test3 sinit14=abc - 1 2 0 0 0 0 0 0 0 0 - 1 2 0 4 0 0 0 3 0 0 - 97 98 99 0 0 0 0 0 0 0 - 2 3 0 0 0 0 4 0 0 0 -1 0 2 0 + 1 2 254 1077076528 -1094899700 60 208904 -1094898668 20 1077259700 + 1 2 0 4 1076143008 -1094899676 -1094899780 3 -1094899676 -1094899768 + 97 98 99 0 0 0 180 173 53 64 + 2 3 1077073360 1076169764 1077073360 -1094899788 4 -1094899780 -1094898668 208904 +1 859048996 2 1076169764 <snip> @@ -566,4 +566,6 @@ weak_asm_v3=0 43 str: __builtin_frame_address -bfa1: ( +bfa1: __builtin_frame_address +bfa2: __builtin_frame_address +bfa3: __builtin_frame_address ------------ moretests ------------ make -C tests2 All tests from 00 to 55 pass fine now. But configuring/building tcc without the libgcc option fails tests like this: gcc -o tcctest.gcc tcctest.c -I. -I.. -w -Wall -g -O2 -fno-strict-aliasing -Wno-pointer-sign -Wno-sign-compare -Wno-unused-result -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -std=gnu99 -O0 -fno-omit-frame-pointer ./tcctest.gcc > test.ref ------------ test3 ------------ ../tcc -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c -B.. -DTCC_TARGET_ARM -DWITHOUT_LIBTCC -DTCC_ARM_EABI -DTCC_ARM_VFP -DONE_SOURCE -run ../tcc.c -B.. -run tcctest.c > test.out3 tcc: error: undefined symbol '__aeabi_idivmod' tcc: error: undefined symbol '__aeabi_ldivmod' tcc: error: undefined symbol '__aeabi_uldivmod' tcc: error: undefined symbol '__aeabi_llsl' tcc: error: undefined symbol '__aeabi_llsr' tcc: error: undefined symbol '__aeabi_lasr' tcc: error: undefined symbol '__aeabi_ul2d' tcc: error: undefined symbol '__aeabi_l2d' tcc: error: undefined symbol '__aeabi_d2ulz' tcc: error: undefined symbol '__aeabi_d2lz' tcc: error: undefined symbol '__aeabi_idiv' tcc: error: undefined symbol '__aeabi_uidivmod' make[1]: *** [test3] Error 255 make[1]: Leaving directory `/home/root/tinycc/tests' make: *** [test] Error 2 root@beaglebone:~/tinycc# You all have done a lot of good work, and tcc looks completely usable on the BeagleBone at the present time. Thank you. Jerry On Thu, Feb 14, 2013 at 9:51 AM, Thomas Preud'homme <[email protected]>wrote: > Greetings everybody, > > Hopefully I pushed the last change to support multiarch setup. Please check > that tcc still builds correctly and that the resulting binary can create > working programs. > > I already prepared locally the push for tagging 0.9.26 and changing the > version. Since so far you've been great fast tester, I'll push tomorrow if > nobody complains until tomorrow. > > Thanks to all. > > Best regards, > > Thomas > > _______________________________________________ > Tinycc-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/tinycc-devel > > -- Interested in bats? Check out my blog at: http://www.karaokebats.com/
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
