Re: [Tinycc-devel] Straightening out x86_64 build?

2015-03-09 Thread Edmund Grimley Evans
I've glanced through the configure logic for this and I can't really understand how it's supposed to work. The configure scripts sets CONFIG_LDDIR, CONFIG_TCC_LIBPATHS, CONFIG_TCC_CRTPREFIX and CONFIG_MULTIARCHDIR, all of which might relate to how crt1.o is found, but what is the meaning or intende

Re: [Tinycc-devel] Straightening out x86_64 build?

2015-03-09 Thread Sergey Korshunoff
"echo ARCH=$ARCH" is needed too... ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Straightening out x86_64 build?

2015-03-09 Thread Sergey Korshunoff
What is the output of the "uname -m" ? ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] CValue

2015-03-09 Thread Sergey Korshunoff
x86 system: tcc with this patch applied succefully compile a linux 2.4.26 kernel and this kernel boots w/o problems... ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb

2015-03-09 Thread Sergey Korshunoff
Test: debugging programs compiled with the current tcc in x86 systems (centos6, gentoo). Debuggers: gdb 6.6 and 7.3. All works OK > This is not correct. Before grischkas patch, and now, after your revert, gdb > does _not_ work > correctly: This is not true for the x86 systems. But yes: for x86_

[Tinycc-devel] Straightening out x86_64 build?

2015-03-09 Thread arnold
Hi. Ubuntu 12.04 x86_64, latest mob. Plain ./configure && make It still builds an i386 cross compiler instead of a native compiler. Can whoever broke this P L E A S E fix it? Thanks, Arnold ___ Tinycc-devel mailing list Tinycc-devel@nongnu.

Re: [Tinycc-devel] RE :Re: New test 73_arm64 hangs if ran on RPi

2015-03-09 Thread Michael Matz
Hi, On Mon, 9 Mar 2015, Edmund Grimley Evans wrote: Michael Matz : And some more fixes for more tests in 73_arm64, namely stdarg passing of structs passed in purely integer registers. structs passed in fp regs or mixed int/fp regs are unfortunately not consecutive in the reg_save_area, and h

Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb

2015-03-09 Thread Michael Matz
Hi, On Mon, 9 Mar 2015, Sergey Korshunoff wrote: This behavior may depend on the gdb version. I use a rhide v1.5 for debuggin (i386, Linux). A gdb version embedded in it is 6.1.1 This version is more than ten years old. And which version of the gdb you use? Various ones, 7.3, 7.5.50, 7.8.

Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb

2015-03-09 Thread Sergey Korshunoff
> By the way: after appling a patch CValue (replacing various integer > types with int64_t) rhide works well independed of stabs behavior > (with relocating stabs section and w/o this). What this means? Sorry, this is not true. With grishka patch on rhide don't work. PS: You can test this itself

Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb

2015-03-09 Thread Sergey Korshunoff
By the way: after appling a patch CValue (replacing various integer types with int64_t) rhide works well independed of stabs behavior (with relocating stabs section and w/o this). What this means? ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org htt

Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb

2015-03-09 Thread Sergey Korshunoff
This behavior may depend on the gdb version. I use a rhide v1.5 for debuggin (i386, Linux). A gdb version embedded in it is 6.1.1 And which version of the gdb you use? I think a tcc switch must be introduced to select a stabs handling behavior. How to name it? PS: grishka don't explain in his patc

Re: [Tinycc-devel] RE :Re: New test 73_arm64 hangs if ran on RPi

2015-03-09 Thread Edmund Grimley Evans
Michael Matz : > And some more fixes for more tests in 73_arm64, namely stdarg > passing of structs passed in purely integer registers. structs > passed in fp regs or mixed int/fp regs are unfortunately not > consecutive in the reg_save_area, and hence need temporary memory, > but this requires s

Re: [Tinycc-devel] broken tcc build after latest git pull

2015-03-09 Thread Roy Tam
2015-03-09 14:45 GMT+08:00 Sergey Korshunoff : > Hi! Please try to test the attached patch. With this patch applied building in MSYS is working again, thanks. ___ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinf