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

C.r. Guo chunrong.guo at nxp.com
Mon Feb 18 21:55:07 PST 2019


Hello all,
I have submitted patches base glibc2.29 .

Thanks
Chunrong


-----Original Message-----
From: Lautenschlager (US), David C [mailto:David.C.Lautenschlager at boeing.com] 
Sent: 2019年2月19日 7:32
To: Bob Cochran <yocto at mindchasers.com>; C.r. Guo <chunrong.guo at nxp.com>; meta-freescale at yoctoproject.org
Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on master...

I also had to apply the patch for glibc 2.29.

Dave

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of Bob Cochran
Sent: Friday, February 15, 2019 7:57 PM
To: C.r. Guo <chunrong.guo at nxp.com>; meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] glibc configure fails with e5500 / t1040 on master...

On 1/15/19 4:49 AM, C.r. Guo wrote:
> Hello all,
>
> You find patches about glibc support e5500 and e6500.
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsou
> rce.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fmeta-qor&am
> p;data=02%7C01%7Cchunrong.guo%40nxp.com%7Ca4b8db76d3314e1f951708d695f9
> 4cd7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636861295316442175&a
> mp;sdata=S63OUTCh188Z4h9KgEm64%2F9%2BJK%2FobqWErE1%2Bw9uxdyg%3D&re
> served=0
> iq-demos/tree/recipes-core/glibc/glibc/0001-glibc-support-e5500-and-e6
> 500.patch?h=thud

Hi Chunrong,

I had the same problem with glibc-2.29 in master tonight.  I was able to apply your same patch to get it to configure & build.

I think you need to resubmit it for 2.29.

Thank you,

Bob


>
> 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/ppc64e5
> 500-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-l
> inux/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%2Flis
> ts.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=02%7C01%7Czhe
> nhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c
> 6fa92cd99c5c301635%7C0%7C0%7C636831329182550625&sdata=pJ7%2B0Bo0zQ
> 1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3D&reserved=0


--
_______________________________________________
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%7Cchunrong.guo%40nxp.com%7Ca4b8db76d3314e1f951708d695f94cd7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636861295316452184&sdata=5%2FyAxhnpCBTw1Cny2BkONRQaHXNsybTkIn7P4BG%2Bj6s%3D&reserved=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-glibc-support-powerpc-e5500-and-e6500.patch
Type: application/octet-stream
Size: 21752 bytes
Desc: 0001-glibc-support-powerpc-e5500-and-e6500.patch
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20190219/b65b574d/attachment.obj>


More information about the meta-freescale mailing list