Bug 14134

Summary: configure: error: The e5500 subspecies of powerpc64 is not supported.
Product: [Yocto Project Subprojects] ADT Reporter: duziheng2010
Component: adtAssignee: Unassigned <unassigned>
Status: CLOSED FIXED QA Contact:
Severity: critical    
Priority: Undecided CC: poky.adt.watcher, poky.watcher, richard.purdie
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: ppc64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
glibc config log none

Description duziheng2010 2020-11-24 06:21:57 UTC
Created attachment 4751 [details]
glibc config log

dzh@zihengdu-nb:~/poky/poky/build$ bitbake meta-toolchain
Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00
Loaded 2365 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "powerpc64-poky-linux"
MACHINE              = "t1024rdb-64b"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.3"
TUNE_FEATURES        = "m64 fpu-hard e5500 bigendian"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "dunfell:012ad10a89a889c21e67c27dc37d22520212548f"
meta-freescale       = "dunfell:2da53ce8330d4bb0f7cb7a2ae186b7475ba02d52"

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 952 Found 0 Missed 952 Current 758 (0% match, 44% complete)
NOTE: Executing Tasks
ERROR: glibc-2.31+gitAUTOINC+6fdf971c9d-r0 do_configure: configure failed
ERROR: glibc-2.31+gitAUTOINC+6fdf971c9d-r0 do_configure: Execution of '/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/temp/run.do_configure.26547' failed with exit code 1:
checking build system type... x86_64-pc-linux-gnu
checking host system type... powerpc64-poky-linux-gnu
checking for powerpc64-poky-linux-gcc... powerpc64-poky-linux-gcc  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc64-poky-linux-gcc  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot accepts -g... yes
checking for gcc... gcc 
checking for powerpc64-poky-linux-readelf... powerpc64-poky-linux-readelf
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc64-poky-linux-g++  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot accepts -g... yes
checking whether powerpc64-poky-linux-g++  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot can link programs... no
checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze checking for grep that handles long lines and -e... /home/dzh/poky/poky/build/tmp/hosttools/grep
checking for egrep... /home/dzh/poky/poky/build/tmp/hosttools/grep -E
mips nios2 powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /home/dzh/poky/poky/build/tmp/hosttools/grep
checking for egrep... (cached) /home/dzh/poky/poky/build/tmp/hosttools/grep -E
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 whether the linker supports textrels along with ifunc... no
checking if compiler warns about alias for function with incompatible types... yes
checking sysdep dirs... powerpc/powerpc64/be/e5500
configure: error: The e5500 subspecies of powerpc64 is not supported.
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/temp/log.do_configure.26547
Log data follows:
| 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', '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-poky-linux 		  --target=powerpc64-poky-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=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot --enable-kernel=3.2.0                 --disable-profile                 --disable-debug --without-gd                 --enable-clocale=gnu                 --with-headers=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot/usr/include                 --without-selinux                 --enable-tunables                 --enable-bind-now                 --enable-stack-protector=strong                 --enable-stackguard-randomization                 --disable-crypt                 --with-default-link                 --enable-nscd                                                    --with-cpu=e5500  --disable-static
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... powerpc64-poky-linux-gnu
| checking for powerpc64-poky-linux-gcc... powerpc64-poky-linux-gcc  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether powerpc64-poky-linux-gcc  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot accepts -g... yes
| checking for gcc... gcc
| checking for powerpc64-poky-linux-readelf... powerpc64-poky-linux-readelf
| checking whether we are using the GNU C++ compiler... yes
| checking whether powerpc64-poky-linux-g++  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot accepts -g... yes
| checking whether powerpc64-poky-linux-g++  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot can link programs... no
| checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze checking for grep that handles long lines and -e... /home/dzh/poky/poky/build/tmp/hosttools/grep
| checking for egrep... /home/dzh/poky/poky/build/tmp/hosttools/grep -E
| mips nios2 powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /home/dzh/poky/poky/build/tmp/hosttools/grep
| checking for egrep... (cached) /home/dzh/poky/poky/build/tmp/hosttools/grep -E
| 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 whether the linker supports textrels along with ifunc... no
| checking if compiler warns about alias for function with incompatible types... yes
| checking sysdep dirs... powerpc/powerpc64/be/e5500
| configure: error: The e5500 subspecies of powerpc64 is not supported.
| NOTE: The following config.log files may provide further information.
| NOTE: /home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/build-powerpc64-poky-linux/config.log
| ERROR: configure failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/temp/run.do_configure.26547' failed with exit code 1:
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... powerpc64-poky-linux-gnu
| checking for powerpc64-poky-linux-gcc... powerpc64-poky-linux-gcc  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether powerpc64-poky-linux-gcc  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot accepts -g... yes
| checking for gcc... gcc
| checking for powerpc64-poky-linux-readelf... powerpc64-poky-linux-readelf
| checking whether we are using the GNU C++ compiler... yes
| checking whether powerpc64-poky-linux-g++  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot accepts -g... yes
| checking whether powerpc64-poky-linux-g++  -mbig-endian -mhard-float -m64 -mcpu=e5500  --sysroot=/home/dzh/poky/poky/build/tmp/work/ppc64e5500-poky-linux/glibc/2.31+gitAUTOINC+6fdf971c9d-r0/recipe-sysroot can link programs... no
| checking for sysdeps preconfigure fragments... aarch64 alpha arm csky hppa i386 m68k microblaze checking for grep that handles long lines and -e... /home/dzh/poky/poky/build/tmp/hosttools/grep
| checking for egrep... /home/dzh/poky/poky/build/tmp/hosttools/grep -E
| mips nios2 powerpc riscv s390 sh checking for grep that handles long lines and -e... (cached) /home/dzh/poky/poky/build/tmp/hosttools/grep
| checking for egrep... (cached) /home/dzh/poky/poky/build/tmp/hosttools/grep -E
| 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 whether the linker supports textrels along with ifunc... no
| checking if compiler warns about alias for function with incompatible types... yes
| checking sysdep dirs... powerpc/powerpc64/be/e5500
| configure: error: The e5500 subspecies of powerpc64 is not supported.
| WARNING: exit code 1 from a shell command.
| 
ERROR: Task (/home/dzh/poky/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1048 tasks of which 1044 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/dzh/poky/poky/meta/recipes-core/glibc/glibc_2.31.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Comment 1 Richard Purdie 2020-11-24 16:51:50 UTC
We can't really fix this, you need to talk to upstream glibc if you want continued e5500 support.
Comment 2 duziheng2010 2020-11-25 10:22:23 UTC
ok thank you