Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Mar 2022 04:39:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 262310] c++: error: clang frontend command failed with exit code 139
Message-ID:  <bug-262310-7@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 262310
           Summary: c++: error: clang frontend command failed with exit
                    code 139
           Product: Base System
           Version: 13.0-STABLE
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: wisdom@isogo.dyndns.org
 Attachment #232218 text/plain
         mime type:

Created attachment 232218
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232218&action=
=3Dedit
c++: note: diagnostic msg

I've tried to build world several times.  However all trials failed on same
place with same error (clang frontend crashed).  Following is a part of the
console log.

=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D
$ uname -a
FreeBSD raspi.isogo.dyndns.org 13.1-PRERELEASE FreeBSD 13.1-PRERELEASE #14
stable/13-11045f1b7: Mon Feb 28 12:09:56 JST 2022=20=20=20=20
root@raspi.isogo.dyndns.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC  arm=
64
$ cd /usr/src; sudo make buildworld
...
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include =
the
crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: c++ -target aarch64-unknown-freebsd13.0
--sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp
-B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin -O2 -pipe -fno-common -g -MD
-MF.depend.gtest-all.o -MTgtest-all.o -Wno-format-zero-length
-fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-str=
ings
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts
-Wredundant-decls -Wmissing-variable-declarations -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=3Dunused-but-set-variable -Qunused-arguments
-I/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/private
-I/usr/src/contrib/googletest/googletest/include
-I/usr/src/contrib/googletest/googletest -g -std=3Dc++11
-Wno-deprecated-declarations -Wno-deprecated-copy -Wno-c++11-extensions -c
/usr/src/contrib/googletest/googletest/src/gtest-all.cc -o gtest-all.o
1.=20=20=20=20=20
/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/private/gtest/internal/gtest=
-type-util.h:960:37:
current parser token '{'
2.=20=20=20=20=20
/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/private/gtest/internal/gtest=
-type-util.h:58:1:
parsing namespace 'testing'
#0 0x0000000004112640 PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13
#1 0x0000000004110a84 __cxx_atomic_store<CallbackAndCookie::Status>
/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/c++/v1/atomic:996:5
#2 0x0000000004110a84 store
/usr/obj/usr/src/arm64.aarch64/tmp/usr/include/c++/v1/atomic:1617:10
#3 0x0000000004110a84 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:99:16
#4 0x00000000040b4f08 HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:76:5
#5 0x00000000040b4f08 CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:389=
:51
#6 0x00000000452bad80 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
c++: error: clang frontend command failed with exit code 139 (use -v to see
invocation)
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git
llvmorg-13.0.0-0-gd7b669b3a303)
Target: aarch64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/gtest-all-f81d5b.cpp
c++: note: diagnostic msg: /tmp/gtest-all-f81d5b.sh
c++: note: diagnostic msg:

********************
*** Error code 139

Stop.
make[6]: stopped in /usr/src/lib/googletest/gtest
*** Error code 1

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

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

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

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

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

Stop.
make: stopped in /usr/src

=3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D =3D

I can't attach "c++: note: diagnostic msg: /tmp/gtest-all-f81d5b.cpp" becau=
se
of file too large(7138KB).
//

--=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-262310-7>