From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Kuhls Date: Sat, 06 Feb 2021 14:51:08 +0100 Subject: [Buildroot] [PATCH 24/25] support/config-fragments/autobuild: use Bootlin toolchain for Xtensa uclibc References: <20210202225339.2157480-1-thomas.petazzoni@bootlin.com> <20210202225339.2157480-25-thomas.petazzoni@bootlin.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Am Tue, 02 Feb 2021 23:53:37 +0100 schrieb Thomas Petazzoni: > --- /dev/null > +++ b/support/config-fragments/autobuild/bootlin-xtensa-uclibc.config > @@ -0,0 +1,3 @@ > +BR2_xtensa=y > +BR2_TOOLCHAIN_EXTERNAL=y > +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE=y Hi Thomas, this toolchains breaks building libmicrohttpd: http://autobuild.buildroot.net/?reason=libmicrohttpd-0.9.72 "mhd_byteorder.h:161:2: error: #error Configure detected big endian byte order but headers specify different byte order" because gcc describes itself as little endian: $ output/host/bin/xtensa-linux-gcc -E -dD -xc /dev/null | grep BYTE #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ although the defconfig is big endian $ grep ENDIAN .config BR2_ENDIAN="BIG" Regards, Bernd