Skip to contentSkip to conversation

New: segment fault when compile argp-help.c using aarch64-buildroot-linux-gnu-gcc

Buildroot bugzilla at busybox.net 1 participant 4 messages May 16, 2016 – Sep 8, 2016

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=8931

Bug ID: 8931
Summary: segment fault when compile argp-help.c using
aarch64-buildroot-linux-gnu-gcc
Product: buildroot
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: orient_zhu at hotmail.com
CC: buildroot at uclibc.org
Target Milestone: ---

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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 8931] segment fault when compile argp-help.c using aarch64-buildroot-linux-gnu-gcc

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=8931

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Thomas Petazzoni <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.