From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 17 Mar 2016 09:06:48 +0100 Subject: [Buildroot] [PATCH 05/16] uclibc: disable DOPIC on ARM noMMU In-Reply-To: <56E9E791.3090104@mind.be> References: <1458164602-16983-1-git-send-email-thomas.petazzoni@free-electrons.com> <1458164602-16983-6-git-send-email-thomas.petazzoni@free-electrons.com> <56E9E791.3090104@mind.be> Message-ID: <20160317090648.3900c10a@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Thu, 17 Mar 2016 00:09:05 +0100, Arnout Vandecappelle wrote: > > +ifeq ($(UCLIBC_TARGET_ARCH),arm) > > +ifeq ($(BR2_USE_MMU),) > > If elf2flt is the issue, wouldn't it make more sense to check for BINFMT_FLAT? OK. At this point, on ARM BR2_USE_MMU disabled or BINFMT_FLAT=y is equivalent. But right, it's a elf2flt related issue, so testing BINFMT_FLAT makes more sense. > Also, is it really only for arm that this issue exists? Custom xtensa is the > only other one for which we build an internal toolchain, but I don't know if > anybody ever tests it... 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. Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com