Bug 8109 - fail to build glibc for aarch64 on fedora 22 i686
Summary: fail to build glibc for aarch64 on fedora 22 i686
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.9
Hardware: x86 Multiple
: Low normal
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-06 06:08 UTC by Yi Zhao
Modified: 2016-08-04 15:19 UTC (History)
9 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log.do_complie (5.00 MB, application/octet-stream)
2015-08-06 06:08 UTC, Yi Zhao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2015-08-06 06:08:40 UTC
Created attachment 2631 [details]
log.do_complie

Git rev: master/22078d5e533e59a9aa6999abefbf6ece4e01de8d

Steps:
1. . ./oe-init-build-env and set the MACHINE to qemuarm64
2. bitbake glibc

Error message:
#######################
aarch64-poky-linux-gcc  --sysroot=/buildarea/poky/build-test/tmp/sysroots/qemuarm64-tcbootstrap argp-xinl.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Werror -Winline -Wno-error=undef -Wundef -Wwrite-strings -feliminate-unused-debug-types -fmerge-all-constants -frounding-math -g -pipe -Wstrict-prototypes   -fPIC        -I../include -I/buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/argp  -I/buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux  -I../sysdeps/unix/sysv/linux/aarch64  -I../sysdeps/aarch64/nptl  -I../sysdeps/unix/sysv/linux/generic  -I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread  -I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv  -I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/aarch64/fpu  -I../sysdeps/aarch64  -I../sysdeps/wordsize-64  -I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64/wordsize-64  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/aarch64/soft-fp  -I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I. -nostdinc -isystem /buildarea/poky/build-test/tmp/sysroots/i686-linux/usr/lib/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/4.9.3/include -isystem /buildarea/poky/build-test/tmp/sysroots/i686-linux/usr/lib/aarch64-poky-linux.gcc-cross-initial-aarch64/gcc/aarch64-poky-linux/4.9.3/include-fixed -isystem /buildarea/poky/build-test/tmp/sysroots/qemuarm64/usr/include  -D_LIBC_REENTRANT -include /buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h  -DPIC -DSHARED     -o /buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/argp/argp-xinl.os -MD -MP -MF /buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/argp/argp-xinl.os.dt -MT /buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/argp/argp-xinl.os
argp-help.c: In function '_help':
argp-help.c:1685:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
../o-iterator.mk:9: recipe for target '/buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/argp/argp-help.o' failed
make[2]: *** [/buildarea/poky/build-test/tmp/work/aarch64-poky-linux/glibc/2.21-r0/build-aarch64-poky-linux/argp/argp-help.o] Error 1
##############################

I attached the log.do_compile
Comment 1 Khem Raj 2015-08-06 15:10:04 UTC
I have posted 2.22 upgrade patch. I dont hope that will fix it but worth a try. Secondly, if it used to work then what has changed ? gcc version ? or something else you might want to bisect.
Comment 2 Yi Zhao 2015-08-07 09:15:12 UTC
Update: It happens on all i686 hosts. I can reproduced this issue on Debian 8 i686.
Comment 3 Paul Eggleton 2015-08-28 09:58:37 UTC
Unassigning this from myself because I only got it as the default assignee and it's unlikely I would be the one working on it.
Comment 4 Yi Zhao 2015-09-18 06:57:26 UTC
This issue can not reproduced in 1.9 M3 rc1 build.
We can close it.
Comment 5 Juro Bystricky 2016-08-04 15:19:02 UTC
Closing as RESOLVED/FIXED, not an issue any more.