Bug 234525 - buildworld clang fails on Raspberry Pi 3b+
Summary: buildworld clang fails on Raspberry Pi 3b+
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: Mark Linimon
Depends on:
Reported: 2018-12-31 11:52 UTC by taxman637
Modified: 2021-06-30 01:23 UTC (History)
0 users

See Also:

backtrace (2.34 KB, text/plain)
2018-12-31 11:52 UTC, taxman637
no flags Details
citrus_bcs_strtoul-a581b7.c (174.84 KB, text/plain)
2018-12-31 11:54 UTC, taxman637
no flags Details
/tmp/citrus_bcs_strtoul-a581b7.sh (5.38 KB, application/x-shellscript)
2018-12-31 11:54 UTC, taxman637
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description taxman637 2018-12-31 11:52:23 UTC
Created attachment 200648 [details]

Sorry, I'm not a programmer, but I hope this might be helpful

FreeBSD generic 13.0-CURRENT FreeBSD 13.0-CURRENT r342541 GENERIC  arm64

I enabled a large swap on a usb hard drive, used subversion to get the latest -current, and attempted to buildworld.

I got a segfault in cc. Here's the backtrace and I'll attach the two requested files:
#0  LookupBucketFor () at /usr/src/contrib/llvm/lib/Support/StringMap.cpp:79
#1  0x0000000003aeaa30 in try_emplace<llvm::cl::Option*> () 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=<optimized out>)
    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
Comment 1 taxman637 2018-12-31 11:54:19 UTC
Created attachment 200649 [details]
Comment 2 taxman637 2018-12-31 11:54:58 UTC
Created attachment 200650 [details]
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2021-06-30 01:23:28 UTC
^Triage: close as OBE.

I'm sorry that this PR did not get addressed in a timely fashion.  Please let us know if this still occurs on a supported OSVERSION.