crti.o and crtn.o missing when building mips+uclibc cross compiler

Bryan Hundven bryanhundven@gmail.com
Sat Jul 9 00:49:00 GMT 2011


On Fri, Jul 8, 2011 at 3:40 PM, maillist <maillist-ctng@barfooze.de> wrote:
> i tried in several different configurations (with or without mmu, little /
> big endian...)
> but i always get missing crti.o and crtn.o when using the built mips cross
> compiler.
>
> i then built those 2 files manually, using
>
> mips-unknown-linux-uclibc-cc -nostdlib -static -c
> /tmp/ct-test/.build/mips-unknown-linux-uclibc/build/build-libc/libc/sysdeps/linux/mips/crtn.S
> mips-unknown-linux-uclibc-cc -nostdlib -static -c
> /tmp/ct-test/.build/mips-unknown-linux-uclibc/build/build-libc/libc/sysdeps/linux/mips/crti.S
>
> after that a binary was succesfully built. however it does not work on the
> target sys (illegal instruction), but maybe that's just me misconfiguring
> some ABI thing.
>
> build-log and uclibc config: (filename: uclibc.config)
> https://github.com/downloads/rofl0r/cluts/log.tar.bz2
>
> ct-ng config:
>
> http://pastie.org/2181153
>
> best regards.
>
>


I've been able to reproduce this issue, but I'm not sure why crt[in].o
are missing.
Is this because shared libraries are disabled?

-Bryan

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list