[Top][All Lists]

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

Re: [Tinycc-devel] tcc 0.9.26 cannot build mob on x86_64 linux (regressi

From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] tcc 0.9.26 cannot build mob on x86_64 linux (regression)
Date: Wed, 19 Mar 2014 22:03:18 +0800
User-agent: KMail/4.11.5 (Linux/2.6.38-ac2-ac100; KDE/4.11.5; armv7l; ; )

Le mardi 18 mars 2014 11:12:42, vous avez écrit :
> Introduced by
> 6ed6a36a51065060bd5e9bb516b85ff796e05f30 and
> c68af2db9d497fd8229162bc23b9679fc2e1fc8b
> address@hidden ~/linux_x86_64-tcc $ make
> tcc -o tcc.o -c tcc.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64 -I.
> -Wall -g -O2
> tcc -o libtcc.o -c libtcc.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64
> -I.  -Wall -g -O2
> tcc -o tccpp.o -c tccpp.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64
> -I.  -Wall -g -O2
> tcc -o tccgen.o -c tccgen.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64
> -I.  -Wall -g -O2
> tcc -o tccelf.o -c tccelf.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64
> -I.  -Wall -g -O2
> tcc -o tccasm.o -c tccasm.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64
> -I.  -Wall -g -O2
> tcc -o tccrun.o -c tccrun.c -DCONFIG_LDDIR="\"lib64\"" -DTCC_TARGET_X86_64
> -I.  -Wall -g -O2
> tcc -o x86_64-gen.o -c x86_64-gen.c -DCONFIG_LDDIR="\"lib64\""
> -DTCC_TARGET_X86_64 -I.  -Wall -g -O2
> tcc -o i386-asm.o -c i386-asm.c -DCONFIG_LDDIR="\"lib64\""
> -DTCC_TARGET_X86_64 -I.  -Wall -g -O2
> ar rcs libtcc.a libtcc.o tccpp.o tccgen.o tccelf.o tccasm.o tccrun.o
> x86_64-gen.o i386-asm.o
> tcc -o tcc tcc.o libtcc.a -lm -ldl -I.  -Wall -g -O2
> tcc: error: undefined symbol '__clear_cache'
> make: *** [tcc] Error 1
> address@hidden ~/linux_x86_64-tcc $ tcc -version
> tcc version 0.9.26 (x86-64 Linux)
> address@hidden ~/linux_x86_64-tcc $ uname -a
> Linux build 3.10.33-gentoo #1 SMP Mon Mar 10 21:17:28 Local time zone must
> be set--see zic  x86_64 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz GenuineIntel
> GNU/Linux
> address@hidden ~/linux_x86_64-tcc $ git describe
> release_0_9_26-166-g40e3859

__clear_cache comes from the host compiler. Here you compiled tcc with an old 
tcc that didn't have __clear_cache. Try first compiling tcc with gcc and then 
you can compile tcc with itself.

Best regards,


reply via email to

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