root@generic:/usr/obj/usr/src/arm64.aarch64/lib/libc # gdb /usr/bin/cc GNU gdb (GDB) 8.2 [GDB v8.2 for FreeBSD] Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "aarch64-portbld-freebsd13.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/cc...Reading symbols from /usr/lib/debug//usr/bin/clang.debug...done. done. (gdb) core cc.core [New LWP 100164] Core was generated by `/usr/bin/cc -cc1 -triple aarch64-unknown-freebsd13.0 -emit-obj -disable-free -ma'. Program terminated with signal SIGSEGV, Segmentation fault. #0 LookupBucketFor () at /usr/src/contrib/llvm/lib/Support/StringMap.cpp:79 warning: Source file is more recent than executable. 79 unsigned HTSize = NumBuckets; (gdb) bt #0 LookupBucketFor () at /usr/src/contrib/llvm/lib/Support/StringMap.cpp:79 #1 0x0000000003aeaa30 in try_emplace () at /usr/src/contrib/llvm/include/llvm/ADT/StringMap.h:396 #2 0x0000000003aeabac in insert () at /usr/src/contrib/llvm/include/llvm/ADT/StringMap.h:387 #3 addOption () at /usr/src/contrib/llvm/lib/Support/CommandLine.cpp:151 #4 0x0000000003ae1c00 in addOption () at /usr/src/contrib/llvm/lib/Support/CommandLine.cpp:194 #5 addArgument () at /usr/src/contrib/llvm/lib/Support/CommandLine.cpp:357 #6 0x000000000305207c in _GLOBAL__sub_I_CorrelatedValuePropagation.cpp () at /usr/src/contrib/llvm/include/llvm/Support/CommandLine.h:1342 #7 0x00000000011d01a0 in handle_static_init (argc=139, argv=0xffffffffcab8, env=0xffffffffcf18) at /usr/src/lib/csu/common/ignore_init.c:124 #8 0x00000000011d00a8 in __start (argc=139, argv=0xffffffffcab8, env=0xffffffffcf18, cleanup=) at /usr/src/lib/csu/aarch64/crt1.c:83 #9 0x00000000011d0000 in ?? () Backtrace stopped: not enough registers or memory available to unwind further (gdb) quit