Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
emper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schmaus
emper
Commits
27427923
Commit
27427923
authored
3 years ago
by
Florian Schmaus
Browse files
Options
Downloads
Patches
Plain Diff
Intermediate Commit (2022-01-17 11:10)
parent
f9b5ca84
No related branches found
No related tags found
No related merge requests found
Pipeline
#75735
failed
3 years ago
Stage: smoke-test
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
msan
+1
-10
1 addition, 10 deletions
msan
msan.org
+27
-0
27 additions, 0 deletions
msan.org
with
28 additions
and
10 deletions
msan
+
1
−
10
View file @
27427923
...
...
@@ -35,7 +35,7 @@ export CXX="clang++"
rm
-rf
build-msan
CPP_ARGS
=
"-stdlib=libc++ -I
${
INSTRUMENTED_LIBCXX_INC_DIR
}
-I
${
INSTRUMENTED_LIBCXX_INC_DIR
}
/c++/v1"
CPP_LINK_ARGS
=
"-L
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
-Wl,--unresolved-symbols=ignore-
all
-lc++abi"
CPP_LINK_ARGS
=
"-L
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
-Wl,--unresolved-symbols=ignore-
in-shared-libs
-lc++abi"
# --unresolved-symbols=ignore-in-shared-libs
# --unresolved-symbols=ignore-all
...
...
@@ -51,15 +51,6 @@ meson \
-Dcpp_link_args
=
"
${
CPP_LINK_ARGS
}
"
\
build-msan
# It appears that meson is filtering -stdlib=libc++ and always selects
# the compilers default. Which is for clang often libstdc++, i.e., GCC
# C++ standard library.
# NOTE: We could potentially place a complete LLVM/Clang toolchain in
# the CI container, that has the sanitizers enabled.
# sed --in-place \
# s/clang++/clang++ -stdlib=libc++/ \
# build-msan/build.ninja
export
LD_LIBRARY_PATH
=
"
${
INSTRUMENTED_LIBCXX_LIB_DIR
}
"
ninja
-C
build-msan
...
...
This diff is collapsed.
Click to expand it.
msan.org
0 → 100644
+
27
−
0
View file @
27427923
on laptop
ninja: Entering directory `build-msan'
[1/140] clang++ -Iemper/libemper.so.p -Iemper -I../emper -Iemper/io -I../emper/io -Iemper/include -I../e
mper/include -I/usr/include -I/home/flo/repos/llvm-13.0.0/build/include -I/home/flo/repos/llvm-13.0.0/bu
ild/include/c++/v1 -fcolor-diagnostics -fsanitize=memory -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wno
n-virtual-dtor -Wextra -Wpedantic -Werror -std=c++2a -O0 -g -stdlib=libc++ -fPIC -DBOOST_ALL_NO_LIB -pth
read -MD -MQ emper/libemper.so.p/CallerEnvironment.cpp.o -MF emper/libemper.so.p/CallerEnvironment.cpp.o
.d -o emper/libemper.so.p/CallerEnvironment.cpp.o -c ../emper/CallerEnvironment.cpp
FAILED: emper/libemper.so.p/CallerEnvironment.cpp.o
clang++ -Iemper/libemper.so.p -Iemper -I../emper -Iemper/io -I../emper/io -Iemper/include -I../emper/inc
lude -I/usr/include -I/home/flo/repos/llvm-13.0.0/build/include -I/home/flo/repos/llvm-13.0.0/build/incl
ude/c++/v1 -fcolor-diagnostics -fsanitize=memory -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtua
l-dtor -Wextra -Wpedantic -Werror -std=c++2a -O0 -g -stdlib=libc++ -fPIC -DBOOST_ALL_NO_LIB -pthread -MD
-MQ emper/libemper.so.p/CallerEnvironment.cpp.o -MF emper/libemper.so.p/CallerEnvironment.cpp.o.d -o em
per/libemper.so.p/CallerEnvironment.cpp.o -c ../emper/CallerEnvironment.cpp
In file included from ../emper/CallerEnvironment.cpp:3:
In file included from ../emper/CallerEnvironment.hpp:5:
In file included from /home/flo/repos/llvm-13.0.0/build/include/c++/v1/iostream:37:
In file included from /home/flo/repos/llvm-13.0.0/build/include/c++/v1/ios:214:
In file included from /home/flo/repos/llvm-13.0.0/build/include/c++/v1/__locale:15:
In file included from /home/flo/repos/llvm-13.0.0/build/include/c++/v1/string:519:
In file included from /home/flo/repos/llvm-13.0.0/build/include/c++/v1/__debug:14:
/home/flo/repos/llvm-13.0.0/build/include/c++/v1/iosfwd:222:14: error: use of undeclared identifier 'mbs
tate_t'
typedef fpos<mbstate_t> streampos;
^
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment