On Sun, 21 Oct 2018 at 04:06, Max Filippov <jcmvb...@gmail.com> wrote: > > Hello, > > On Tue, Oct 16, 2018 at 1:54 PM Jim Wilson <j...@sifive.com> wrote: > > > > On 10/16/18 7:19 AM, Christophe Lyon wrote: > > > While reviewing one of my patches about FDPIC support for ARM, Richard > > > raised the concern of testing the patch on other uClinux targets [1]. > > > > > > I looked at uclinux.org and at the GCC maintainers file, but it's > > > still not obvious to me which uClinux targets are currently supported? > > I'm trying to keep nommu xtensa alive. > > > I see that buildroot has obvious blackfin (bfin), m68k, and xtensa > > uclinux support. But blackfin.uclinux.org says the uclinux port was > > deprecated in 2012. m68k as mentioned above should be usable. It > > appears that xtensa uclinux is still alive and usable. > > http://wiki.linux-xtensa.org/index.php/UClinux > > Probably the easiest way to get all xtensa toolchain parts correctly it > by using existing buildroot configuration. E.g. the following configuration > may be used to build uclinux xtensa toolchain for the dc233c core: > https://git.buildroot.net/buildroot/tree/configs/qemu_xtensa_lx60_nommu_defconfig > OK, thanks for your suggestion. I think I managed to build it. Now, how/where can I run 'make check' for gcc? I do not see the GCC build tree.
> Also bFLT executable format is currently not supported for linux-user > xtensa QEMU. The following branch adds that support: > https://github.com/OSLL/qemu-xtensa/commits/xtensa-bflt > > qemu-xtensa built from this QEMU then may be registered as a binfmt > handler for bFLT executable images allowing to run gcc tests that want > to run target binaries. Do you have the magic commands for this? Thanks, Christophe > -- > Thanks. > -- Max