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

2019-02-19 Thread C.r. Guo
Hello all,
I have submitted patches base glibc2.29 .

Thanks
Chunrong


-Original Message-
From: Lautenschlager (US), David C [mailto:david.c.lautenschla...@boeing.com] 
Sent: 2019年2月19日 7:32
To: Bob Cochran ; C.r. Guo ; 
meta-freescale@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-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: Friday, February 15, 2019 7:57 PM
To: C.r. Guo ; meta-freescale@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
> p;data=02%7C01%7Cchunrong.guo%40nxp.com%7Ca4b8db76d3314e1f951708d695f9
> 4cd7%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636861295316442175
> mp;sdata=S63OUTCh188Z4h9KgEm64%2F9%2BJK%2FobqWErE1%2Bw9uxdyg%3Dre
> 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-boun...@yoctoproject.org
> [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob 
> Cochran
> Sent: 2019年1月15日 15:08
> To: meta-freescale@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
> a

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

2019-02-18 Thread Lautenschlager (US), David C
I also had to apply the patch for glibc 2.29.

Dave

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: Friday, February 15, 2019 7:57 PM
To: C.r. Guo ; meta-freescale@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://source.codeaurora.org/external/qoriq/qoriq-components/meta-qor
> 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-boun...@yoctoproject.org 
> [mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob 
> Cochran
> Sent: 2019年1月15日 15:08
> To: meta-freescale@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

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

2019-02-15 Thread Bob Cochran

On 1/15/19 4:49 AM, C.r. Guo wrote:

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


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-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7Czhenhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636831329182550625sdata=pJ7%2B0Bo0zQ1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3Dreserved=0



--
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
h

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

2019-01-18 Thread Lautenschlager (US), David C
Never mind, I kept working on it and figured it out myself. Thanks for writing 
the patch and getting me started.

David

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Lautenschlager 
(US), David C
Sent: Friday, January 18, 2019 3:43 PM
To: C.r. Guo ; Bob Cochran ; 
meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] glibc configure fails with e5500 / t1040 on 
master...

I found a patch file from each of your links, however I am still trying to 
figure out how to use the patch file to patch my build. I know how to use the 
patch command, but I don't know when/where to run it on a poky-thud set of 
files to produce a successful build.

David

-Original Message-
From: C.r. Guo [mailto:chunrong@nxp.com] 
Sent: Thursday, January 17, 2019 8:23 PM
To: Lautenschlager (US), David C ; Bob 
Cochran ; meta-freescale@yoctoproject.org
Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on 
master...

Please see 
https://patchwork.openembedded.org/patch/157986/

Thanks
Chunrong


-Original Message-
From: Lautenschlager (US), David C [mailto:david.c.lautenschla...@boeing.com] 
Sent: 2019年1月18日 4:38
To: C.r. Guo ; Bob Cochran ; 
meta-freescale@yoctoproject.org
Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on 
master...

How do I apply this patch?

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of C.r. Guo
Sent: Tuesday, January 15, 2019 3:49 AM
To: Bob Cochran ; meta-freescale@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://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fmeta-qoriq-demos%2Ftree%2Frecipes-core%2Fglibc%2Fglibc%2F0001-glibc-support-e5500-and-e6500.patch%3Fh%3Dthuddata=02%7C01%7Cchunrong.guo%40nxp.com%7Ce45ab523d356494ddb5308d67cbbafd6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636833542898403575sdata=IouF98OSvt5oKztWL5KMz4dE87etrk9zI0K02%2FMohm8%3Dreserved=0

I will submitted patches to poky .

Thanks
Chunrong


-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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

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

2019-01-18 Thread Lautenschlager (US), David C
I found a patch file from each of your links, however I am still trying to 
figure out how to use the patch file to patch my build. I know how to use the 
patch command, but I don't know when/where to run it on a poky-thud set of 
files to produce a successful build.

David

-Original Message-
From: C.r. Guo [mailto:chunrong@nxp.com] 
Sent: Thursday, January 17, 2019 8:23 PM
To: Lautenschlager (US), David C ; Bob 
Cochran ; meta-freescale@yoctoproject.org
Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on 
master...

Please see 
https://patchwork.openembedded.org/patch/157986/

Thanks
Chunrong


-Original Message-
From: Lautenschlager (US), David C [mailto:david.c.lautenschla...@boeing.com] 
Sent: 2019年1月18日 4:38
To: C.r. Guo ; Bob Cochran ; 
meta-freescale@yoctoproject.org
Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on 
master...

How do I apply this patch?

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of C.r. Guo
Sent: Tuesday, January 15, 2019 3:49 AM
To: Bob Cochran ; meta-freescale@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://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fmeta-qoriq-demos%2Ftree%2Frecipes-core%2Fglibc%2Fglibc%2F0001-glibc-support-e5500-and-e6500.patch%3Fh%3Dthuddata=02%7C01%7Cchunrong.guo%40nxp.com%7Ce45ab523d356494ddb5308d67cbbafd6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636833542898403575sdata=IouF98OSvt5oKztWL5KMz4dE87etrk9zI0K02%2FMohm8%3Dreserved=0

I will submitted patches to poky .

Thanks
Chunrong


-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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

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

2019-01-18 Thread C.r. Guo
Please see 
https://patchwork.openembedded.org/patch/157986/

Thanks
Chunrong


-Original Message-
From: Lautenschlager (US), David C [mailto:david.c.lautenschla...@boeing.com] 
Sent: 2019年1月18日 4:38
To: C.r. Guo ; Bob Cochran ; 
meta-freescale@yoctoproject.org
Subject: RE: [meta-freescale] glibc configure fails with e5500 / t1040 on 
master...

How do I apply this patch?

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of C.r. Guo
Sent: Tuesday, January 15, 2019 3:49 AM
To: Bob Cochran ; meta-freescale@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://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource.codeaurora.org%2Fexternal%2Fqoriq%2Fqoriq-components%2Fmeta-qoriq-demos%2Ftree%2Frecipes-core%2Fglibc%2Fglibc%2F0001-glibc-support-e5500-and-e6500.patch%3Fh%3Dthuddata=02%7C01%7Cchunrong.guo%40nxp.com%7Ce45ab523d356494ddb5308d67cbbafd6%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636833542898403575sdata=IouF98OSvt5oKztWL5KMz4dE87etrk9zI0K02%2FMohm8%3Dreserved=0

I will submitted patches to poky .

Thanks
Chunrong


-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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

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

2019-01-17 Thread Lautenschlager (US), David C
How do I apply this patch?

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of C.r. Guo
Sent: Tuesday, January 15, 2019 3:49 AM
To: Bob Cochran ; meta-freescale@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-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7Czhenhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636831329182550625sdata=pJ7%2B0Bo0zQ1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3Dreserved=0

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

2019-01-15 Thread Bob Cochran

On 1/15/19 4:49 AM, C.r. Guo wrote:

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


Thank you,  I applied patch, and it worked (configured) for me.

Bob





I will submitted patches to poky .

Thanks
Chunrong


-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7Czhenhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636831329182550625sdata=pJ7%2B0Bo0zQ1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3Dreserved=0



--
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

2019-01-15 Thread C.r. Guo
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-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Bob Cochran
Sent: 2019年1月15日 15:08
To: meta-freescale@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@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescaledata=02%7C01%7Czhenhua.luo%40nxp.com%7Ce7675005dbba4c3b035908d67ab8451e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636831329182550625sdata=pJ7%2B0Bo0zQ1x441Rj7ubHG7KHAjnuTZCEh5ji4Q%2FdZo%3Dreserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


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

2019-01-14 Thread Bob Cochran

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@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale