[Bug 273840] Core dump with cc compilation
Date: Sat, 16 Sep 2023 06:02:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273840
Bug ID: 273840
Summary: Core dump with cc compilation
Product: Base System
Version: 13.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: wakai.toshiyuki@gmail.com
FreeBSD as a guest of VirtualBox7.0.10. The host is Windows 11.
I compiled the following source with cc and it dumped core.
---
wakai@freebsd:~/src/test $ cat test1_1.c
#include <stdio.h>
int main()
{
printf("Hell is filled with amateur musicians.\n");
}
wakai@freebsd:~/src/test $ cc test1_1.c
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/ld --eh-frame-hdr -dynamic-linker
/libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o a.out
/usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib
/tmp/test1_1-2091db.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc
--as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o
#0 0x00000000021bbde1 (/usr/bin/ld+0x21bbde1)
#1 0x00000000021ba185 (/usr/bin/ld+0x21ba185)
#2 0x00000000021bc4e0 (/usr/bin/ld+0x21bc4e0)
#3 0x00000008268f0b60 (/lib/libthr.so.3+0x19b60)
#4 0x00000008268f011f (/lib/libthr.so.3+0x1911f)
#5 0x00007ffffffff8a3 ([vdso]+0x2d3)
#6 0x0000000001a09e1a (/usr/bin/ld+0x1a09e1a)
#7 0x0000000001a4f5f0 (/usr/bin/ld+0x1a4f5f0)
#8 0x00000000019054a9 (/usr/bin/ld+0x19054a9)
#9 0x00000000018fa262 (/usr/bin/ld+0x18fa262)
#10 0x00000000018f8a5a (/usr/bin/ld+0x18f8a5a)
cc: error: unable to execute command: Bus error (core dumped)
cc: error: linker command failed due to signal (use -v to see invocation)
wakai@freebsd:~/src/test $
---
--
You are receiving this mail because:
You are the assignee for the bug.