Bug 8931

Summary: segment fault when compile argp-help.c using aarch64-buildroot-linux-gnu-gcc
Product: buildroot Reporter: orient_zhu
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description orient_zhu 2016-05-16 20:54:17 UTC
make[3]: Entering directory `/root/buildroot-2016.05-rc1/output/build/glibc-2.22/argp'
/root/buildroot-2016.05-rc1/output/host/usr/bin/aarch64-buildroot-linux-gnu-gcc argp-help.c -c -std=gnu99 -fgnu89-inline  -O2 -Wall -Werror -Wno-error=undef -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -Wstrict-prototypes   -fexceptions -fexceptions  -ftls-model=initial-exec      -I../include -I/root/buildroot-2016.05-rc1/output/build/glibc-2.22/build/argp  -I/root/buildroot-2016.05-rc1/output/build/glibc-2.22/build  -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 /root/buildroot-2016.05-rc1/output/host/usr/lib/gcc/aarch64-buildroot-linux-gnu/4.9.3/include -isystem /root/buildroot-2016.05-rc1/output/host/usr/lib/gcc/aarch64-buildroot-linux-gnu/4.9.3/include-fixed -isystem /root/buildroot-2016.05-rc1/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/include  -D_LIBC_REENTRANT -include /root/buildroot-2016.05-rc1/output/build/glibc-2.22/build/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -o /root/buildroot-2016.05-rc1/output/build/glibc-2.22/build/argp/argp-help.o -MD -MP -MF /root/buildroot-2016.05-rc1/output/build/glibc-2.22/build/argp/argp-help.o.dt -MT /root/buildroot-2016.05-rc1/output/build/glibc-2.22/build/argp/argp-help.o
argp-help.c: In function '_help':
argp-help.c:1684:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.buildroot.net/> for instructions.
Comment 1 Thomas Petazzoni 2016-05-16 21:20:09 UTC
Thanks for the report. Could you attach your Buildroot .config file?
Comment 2 Thomas Petazzoni 2016-07-25 18:38:34 UTC
I've just tested:

BR2_aarch64=y
BR2_GLIBC_VERSION_2_22=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y

Which is a AArch64, gcc 4.9.3, glibc 2.22 defconfig, and it builds just fine for me with the current master (9068fe0dea774fb35620b31f71b51e663b35167b).

Since the bug submitter did not provide the Buildroot .config, we're not able to reproduce, so I'm closing this bug. Do not hesitate to reopen if the problem still exists.
Comment 3 18260165363 2016-09-08 01:47:02 UTC
I have seen this problem too.