Bug 216903 - clang frontend command failed due to signal
Summary: clang frontend command failed due to signal
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.0-RELEASE
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-toolchain (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 07:52 UTC by Hal Murray
Modified: 2017-02-10 06:50 UTC (History)
1 user (show)

See Also:


Attachments
run script (2.81 KB, application/x-shellscript)
2017-02-08 07:52 UTC, Hal Murray
no flags Details
Preprocessed source (455.45 KB, text/plain)
2017-02-08 07:53 UTC, Hal Murray
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hal Murray 2017-02-08 07:52:17 UTC
Created attachment 179742 [details]
run script

This is from waf trying to build my version of ntpsec.

[57/95] Compiling ntpd/ntp_control.c
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0)
Target: x86_64-unknown-freebsd11.0
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/ntp_calendar-f1e9f4.c
clang: note: diagnostic msg: /tmp/ntp_calendar-f1e9f4.sh
clang: note: diagnostic msg:

********************

Waf: Leaving directory `/home/murray/ntpsec/play/ted-pps/main'
Build failed
 -> task in 'ntpc' failed with exit status 254 (run with -v to display more information)
Comment 1 Hal Murray 2017-02-08 07:53:56 UTC
Created attachment 179743 [details]
Preprocessed source
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2017-02-08 18:48:01 UTC
I can't reproduce this crash, with any of the versions of clang I have, including the 3.8.0 version in 11.0.  Is this crash repeatable for you?  If so, please attempt to get a core dump and a back trace.
Comment 3 Hal Murray 2017-02-10 06:50:19 UTC
I think it was caused by bad memory.

Sorry for the clutter.