[Clfs-support] MIPS 32 (big endian)

Jim Gifford clfs at jg555.com
Wed Feb 11 15:24:21 PST 2009


Petric Frank wrote:
> Hello Jim,
>
> On Dienstag, 13. Januar 2009, Jim Gifford wrote:
>   
>>> 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 ?
>>>       
>> Uclibc has gone through a lot of changes. After I get CLFS standard
>> stabilized, I will concentrate on this book.
>>     
>
> Could you give me a note when an update is available ?
>
> regards
>   Petric
> _______________________________________________
> Clfs-support mailing list
> Clfs-support at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>   
It's been update a few weeks back. Try it now.



More information about the Clfs-support mailing list