[Buildroot] [PATCH 05/16] uclibc: disable DOPIC on ARM noMMU

Max Filippov jcmvbkbc at gmail.com
Thu Mar 17 11:39:36 UTC 2016


On Thu, Mar 17, 2016 at 2:00 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Hello,
>
> On Thu, 17 Mar 2016 13:32:46 +0300, Max Filippov wrote:
>
>> > I have no idea if Xtensa noMMU has ever been tested, whether it uses
>> > FLAT or FDPIC, etc. Could we leave this up to people interested in
>> > Xtensa ? Or alternatively, remove noMMU Xtensa support altogether.
>> >
>> > I'm Cc'ing Max to see if he knows what the status of noMMU Xtensa is.
>>
>> I tested noMMU xtensa lightly. It uses FLAT
>> ( https://github.com/uclinux-dev/elf2flt/commit/052ec62c087a3e9dfb62d231ee4aad253bce2f7e
>> ),
>> requires a patch for gcc
>> ( https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e3c15dbe1c4cd63d906eb67c1c607cc4fab6b329
>> ),
>> and currently it defaults to generating PIC code.
>> It appears to work with both DOPIC enabled and disabled.
>
> Does it work within Buildroot? I think we should either have support
> for Xtensa noMMU and make it work, or we should remove it.
>
> From what you say, if it doesn't work already, it seems like it should
> be a huge work to get it working, right?

It should not, yes. Let me post the patches.

-- 
Thanks.
-- Max


More information about the buildroot mailing list