mips64 gcc 3.3.6 problem

2009-08-19 Thread Sergey Anosov
Hi all! I've made a toolchain for mips64el - binutils 2.17.90 + gcc 3.3.6 + glibc 2.3.6. I've successfully compile a linux 2.16.62 kernel and run it in qemu. But when I try to execute dynamically compiled "Hello world" program - I' ve got a SIGSEGV" do_page_fault() #2: sending SIGSEGV to a.out f

Re: gcc 3.3.6 and multilib

2009-02-10 Thread Sergey Anosov
The problem was not in the patch, which I've applied. Patch is good. The problem was in t-mips config file. Now I have a gcc 3.3.6 compiler working with multilib correctly. Thanks

Re[2]: gcc 3.3.6 and multilib

2009-02-09 Thread Sergey Anosov
Yes, of course. My gcc/config/mips/t-mips file: FPBIT = fp-bit.c DPBIT = dp-bit.c $(T)crti.o: $(srcdir)/config/mips/crti.asm $(GCC_PASSES) $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/mips/crti.asm $(T)crtn.o: $

gcc 3.3.6 and multilib

2009-02-09 Thread Sergey Anosov
Dear All, I want to use multilib (EL/EB) in mips-unknown-linux-gcc. So when I add some lines to gcc/config/mips/t-mips, it looks like gcc uses multilib. [r...@st1 SPECS]# mips-vniins-linux-gcc -print-multi-lib .; el;@EL But output of mips-unknown-linux-gcc --print-search-dirs and mips-unknown-li