[meta-freescale] glibc configure fails with e5500 / t1040 on master...

Lautenschlager (US), David C David.C.Lautenschlager at boeing.com
Thu Jan 17 12:37:56 PST 2019


How do I apply this patch?

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of C.r. Guo
Sent: Tuesday, January 15, 2019 3:49 AM
To: Bob Cochran <yocto at mindchasers.com>; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master...

Hello all,

You find patches about glibc support e5500 and e6500.
https://source.codeaurora.org/external/qoriq/qoriq-components/meta-qoriq-demos/tree/recipes-core/glibc/glibc/0001-glibc-support-e5500-and-e6500.patch?h=thud

I will submitted patches to poky .

Thanks
Chunrong


-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale at yoctoproject.org
Subject: [meta-freescale] glibc configure fails with e5500 / t1040 on master...

Hello,

I was trying to build a t1040-based image using most recent master, but glibc is failing during configure.  I went back and compared a successful build with sumo using glibc-2.27, but I'm scratching my head why it passes on sumo but fails on master.

Here is the log.do_configure:


DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common']
DEBUG: Executing shell function autotools_preconfigure
DEBUG: Shell function autotools_preconfigure finished
DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-big', 'bit-64', 'powerpc-common', 'common-linux', 'common-glibc', 'powerpc-linux', 'powerpc64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_configure
NOTE: Running ../git/configure  --build=x86_64-linux --host=powerpc64-oe-linux --target=powerpc64-oe-linux --prefix=/usr                   --exec_prefix=/usr --bindir=/usr/bin               --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var
--libdir=/usr/lib64 --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot
--enable-kernel=3.2.0 --disable-profile                 --disable-debug --without-gd                 --enable-clocale=gnu --with-headers=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot/usr/include
--without-selinux --enable-tunables --enable-bind-now --enable-stack-protector=strong --enable-stackguard-randomization --disable-crypt --with-default-link --with-cpu=e5500  --enable-nscd checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64-oe-linux-gnu checking for powerpc64-oe-linux-gcc... powerpc64-oe-linux-gcc -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot
checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether powerpc64-oe-linux-gcc  -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot
accepts -g... yes
checking for gcc... gcc
checking for powerpc64-oe-linux-readelf... powerpc64-oe-linux-readelf checking whether we are using the GNU C++ compiler... yes checking whether powerpc64-oe-linux-g++  -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot
accepts -g... yes
checking whether powerpc64-oe-linux-g++  -mhard-float -m64 -mcpu=e5500 --sysroot=/build/yocto/build_t1040/tmp-glibc/work/ppc64e5500-oe-linux/glibc/2.28-r0/recipe-sysroot
can link programs... no
checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa
i386 m68k microblaze mips nios2 powerpc riscv s390 sh sparc x86_64 checking for use of fpu sysdeps directories... yes checking for -fstack-protector... (cached) no checking for -fstack-protector-strong... (cached) no checking for -fstack-protector-all... (cached) no checking for assembler and linker STT_GNU_IFUNC support... yes checking for gcc attribute ifunc support... yes checking if compiler warns about alias for function with incompatible types... yes checking sysdep dirs... configure: error: The e5500 subspecies of
powerpc64 is not supported.


--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Czhenhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636831329182550625&sdata=pJ7%2B0Bo0zQ1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3D&reserved=0
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list