Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2020 07:16:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251886] clang: error: clang frontend command failed due to signal
Message-ID:  <bug-251886-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251886

            Bug ID: 251886
           Summary: clang: error: clang frontend command failed due to
                    signal
           Product: Base System
           Version: 12.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: igor.polovykh@gmail.com

Created attachment 220609
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D220609&action=
=3Dedit
Preprocessed source(s) and associated run script(s)

clang -DCOMPAT_32BIT -march=3Di686 -mmmx -msse -msse2 -target
x86_64-unknown-freebsd12.2 -m32=20
-L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32=20
--sysroot=3D/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp=20
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin
-B/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 -fpic -DPIC  -O2 -pi=
pe
-fno-common  -DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/include
-I/usr/src/include -I/usr/src/lib/libc/i386 -DNLS  -D__DBINTERFACE_PRIVATE
-I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6
-I/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libc -I/usr/src/lib/libc/resolv
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd
-I/usr/src/contrib/jemalloc/include -DMALLOC_PRODUCTION
-I/usr/src/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -g -MD=20
-MF.depend.check_utility_compat.pico -MTcheck_utility_compat.pico -std=3Dgn=
u99
-fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter  -Qunused-arguments=20
-I/usr/src/lib/libutil -I/usr/src/lib/msun/i387 -I/usr/src/lib/msun/x86
-I/usr/src/lib/msun/src -c /usr/src/lib/libc/gen/check_utility_compat.c -o
check_utility_compat.pico
Stack dump:
0.  Program arguments: clang -DCOMPAT_32BIT -march=3Di686 -mmmx -msse -msse2
-target x86_64-unknown-freebsd12.2 -m32
-L/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32
--sysroot=3D/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin
-B/usr/obj/usr/src/amd64.amd64/obj-lib32/tmp/usr/lib32 -fpic -DPIC -O2 -pipe
-fno-common -DNO__SCCSID -DNO__RCSID -I/usr/src/lib/libc/include
-I/usr/src/include -I/usr/src/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE
-I/usr/src/contrib/gdtoa -I/usr/src/contrib/libc-vis -DINET6
-I/usr/obj/usr/src/amd64.amd64/obj-lib32/lib/libc -I/usr/src/lib/libc/resolv
-D_ACL_PRIVATE -DPOSIX_MISTAKE -I/usr/src/lib/libmd
-I/usr/src/contrib/jemalloc/include -DMALLOC_PRODUCTION
-I/usr/src/contrib/tzcode/stdtime -I/usr/src/lib/libc/stdtime
-I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
-I/usr/src/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -g -MD
-MF.depend.check_utility_compat.pico -MTcheck_utility_compat.pico -std=3Dgn=
u99
-fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k
-Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value
-Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion
-Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch
-Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments
-I/usr/src/lib/libutil -I/usr/src/lib/msun/i387 -I/usr/src/lib/msun/x86
-I/usr/src/lib/msun/src -c /usr/src/lib/libc/gen/check_utility_compat.c -o
check_utility_compat.pico
1.  <eof> parser at end of file
2.  Code generation
3.  Running pass 'Function Pass Manager' on module
'/usr/src/lib/libc/gen/check_utility_compat.c'.
4.  Running pass 'Early Machine Loop Invariant Code Motion' on function
'@check_utility_compat'
#0 0x00000000038320be PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x0000000003830335 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18
#2 0x0000000003834341 HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:77:5
#3 0x0000000003834341 CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:382=
:51
#4 0x000000000470a100 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git
llvmorg-10.0.1-0-gef32c611aa2)
Target: i386-unknown-freebsd12.2
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, preproces=
sed
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/check_utility_compat-2e4627.c
clang: note: diagnostic msg: /tmp/check_utility_compat-2e4627.sh
clang: note: diagnostic msg:

********************
*** Error code 254

Stop.
make[4]: stopped in /usr/src/lib/libc
*** Error code 1
*** Error code 1
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1


# uname -a
FreeBSD bvgm.org 12.2-RELEASE FreeBSD 12.2-RELEASE bdf89c0edb5(releng/12.2)
BVGM  amd64


# cat /etc/make.conf

SVN_UPDATE=3Dyes
SVN=3D/usr/local/bin/svn
WITH_PKGNG=3Dyes

WITHOUT_X11=3Dyes
OPTIONS_UNSET=3DGTK2
OPTIONS_UNSET+=3DX11

DEFAULT_VERSIONS=3D ruby=3D2.7 python=3D3.9 python2=3D2.7 python3=3D3.9 per=
l5=3D5.30
ssl=3Dlibressl pgsql=3D11 mysql=3D10.2 node=3D10 php=3D7.4

security_p5-GSSAPI_SET     =3D GSSAPI_MIT
OPTIONS_UNSET+=3D GSSAPI_BASE
OPTIONS_SET+=3D   GSSAPI_MIT

MAKE_SHELL?=3Dsh

CC=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp

KERNCONFDIR=3D/root
KERNCONF=3DBVGM


# cat /etc/src.conf
#HOSTAPD_CFLAGS+=3D-DEAP_SERVER -DEAP_GTC -DEAP_AKA -DEAP_SIM -DEAP_GPSK
#
# EAP_SERVER option is not available on FREEBSD_9_RELEASE (error in kernel
compilation)
#
HOSTAPD_CFLAGS+=3D-DEAP_GTC -DEAP_AKA -DEAP_SIM -DEAP_GPSK
HOSTAPD_CFLAGS+=3D-DEAP_PAX -DEAP_SAKE
WITHOUT_SENDMAIL=3Dyes
LOADER_ZFS_SUPPORT=3Dyes

# Apr 14 15:20:35 bvgm kernel: pid 2224 (named), uid 53, was killed: out of
swap space
MALLOC_PRODUCTION=3Dyes


WITHOUT_IPX=3Dyes
WITHOUT_IPFILTER=3Dyes
WITHOUT_I4B=3Dyes
WITHOUT_BLUETOOTH=3Dyes

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251886-227>