Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Sep 2019 10:32:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 240342] clang++ bus error while building LLVM as part of Julia
Message-ID:  <bug-240342-29464-zCI39WbbUK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240342-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240342-29464@https.bugs.freebsd.org/bugzilla/>

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

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #1 from Dimitry Andric <dim@FreeBSD.org> ---
I tried reproducing this crash on a freshly installed 11.3-RELEASE amd64
machine, but it works just fine for me:

$ uname -a
FreeBSD freebsd113-rel 11.3-RELEASE FreeBSD 11.3-RELEASE #0 r349754: Fri Ju=
l  5
04:45:24 UTC 2019     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GEN=
ERIC
 amd64

$ /usr/bin/time -l clang -cc1 -triple x86_64-unknown-freebsd11.3 -emit-obj
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name
CoverageMapping.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -dwarf-column-info -debugger-tuning=3Dgdb -ffunction-sec=
tions
-fdata-sections -coverage-notes-file
/usr/home/alex/Projects/julia/deps/scratch/llvm-6.0.1/build_Release/lib/Pro=
fileData/Coverage/CMakeFiles/LLVMCoverage.dir/CoverageMapping.cpp.gcno
-D GTEST_HAS_RTTI=3D0 -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D
__STDC_LIMIT_MACROS -D NDEBUG -O3 -Werror=3Ddate-time
-Werror=3Dunguarded-availability-new -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long -Wu=
ndef
-Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -pedantic -std=3Dc++11 -fdeprecated-macro -ferror-limit=
 19
-fmessage-length 0 -fvisibility-inlines-hidden -fno-rtti -fobjc-runtime=3Dg=
nustep
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-s=
lp
-x c++ CoverageMapping-01cfc3.cpp -faddrsig
In file included from
/usr/home/alex/Projects/julia/deps/srccache/llvm-6.0.1/lib/ProfileData/Cove=
rage/CoverageMapping.cpp:15:
/usr/home/alex/Projects/julia/deps/srccache/llvm-6.0.1/include/llvm/Profile=
Data/Coverage/CoverageMapping.h:643:25:
warning: explicitly defaulted copy assignment operator is implicitly deleted
[-Wdefaulted-function-deleted]
  LineCoverageIterator &operator=3D(const LineCoverageIterator &R) =3D defa=
ult;
                        ^
/usr/home/alex/Projects/julia/deps/srccache/llvm-6.0.1/include/llvm/Profile=
Data/Coverage/CoverageMapping.h:663:23:
note: copy assignment operator of 'LineCoverageIterator' is implicitly dele=
ted
because field 'CD' is of reference type 'const llvm::coverage::CoverageData=
 &'
  const CoverageData &CD;
                      ^
1 warning generated.
        2.84 real         1.65 user         1.19 sys
    146396  maximum resident set size
     62216  average shared memory size
       520  average unshared data size
       250  average unshared stack size
     24825  page reclaims
         0  page faults
         0  swaps
         0  block input operations
         0  block output operations
         0  messages sent
         0  messages received
         0  signals received
         3  voluntary context switches
        33  involuntary context switches

It does not even use a lot of memory, roughly 143 MiB.  So is there anything
special about your build system?  Does it have very little RAM, or run a la=
rge
amount of parallel jobs?

--=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-240342-29464-zCI39WbbUK>