[Clfs-support] MIPS 32 (big endian)
Petric Frank
pfrank at gmx.de
Mon Jan 12 16:29:28 PST 2009
Hello,
i tried to build CLFS for a MIPS32 (big endian) platform which has no MMU.
Following guide "Cross-Compiled Linux From Scratch - Embedded - Version
SVN-0.0.1-20081203-mips" it went well until i tried to configure uClibc
(chapter 6.8.1) with no-MMU. For that after "make oldconfig" i called "make
menuconfig" and switched the option "Target CPU has a memory management unit
(MMU)" to off. At the same time two lines upper the file format changed from
ELF to FDPIC ELF.
If i now try to comile uClibc i get the following output:
------------------------- cut -------------------------
GEN include/bits/sysnum.h
GEN include/bits/uClibc_config.h
LN include/pthread.h
LN include/semaphore.h
LN include/bits/pthreadtypes.h
[...]
LN include/sys/procfs.h
LN include/sys/regdef.h
LN include/sys/sysmips.h
LN include/sys/tas.h
LN include/sys/ucontext.h
LN include/sys/user.h
AS lib/crt1.o
libc/sysdeps/linux/mips/crt1.S: Assembler messages:
libc/sysdeps/linux/mips/crt1.S:134: Warning: No .cprestore pseudo-op used in
PIC code
AS lib/Scrt1.o
libc/sysdeps/linux/mips/crt1.S: Assembler messages:
libc/sysdeps/linux/mips/crt1.S:134: Warning: No .cprestore pseudo-op used in
PIC code
AS lib/crti.o
cc1: error: unrecognized command line option "-mfdpic"
make: *** [lib/crti.o] Error 1
------------------------- cut -------------------------
Is there a way to fix it ?
My assemby capabilities are not good enough to do that myself ;-)
Or am i doing that (switching MMU support off) at the wrong place ?
regards
Petric
More information about the Clfs-support
mailing list