[Bug sanitizer/66343] "Error: .Lubsan_type3 already defined" with UBSan and precompiled headers
marc.mutz at kdab dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 7 20:23:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66343
--- Comment #12 from Marc Mutz <marc.mutz at kdab dot com> ---
Created attachment 39768
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39768&action=edit
Preprocessed source for PCH
Command line for PCH file:
g++ -pipe -g -O3 -std=c++1z \
-I/usr/include/glib-2.0 \
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include \
-pthread \
-fvisibility=hidden \
-fvisibility-inlines-hidden \
-fsanitize=address \
-fsanitize=undefined \
-fno-omit-frame-pointer \
-Wall \
-W \
-Wvla \
-Wdate-time \
-Wshift-overflow=2 \
-Wduplicated-cond \
-Werror \
-Wno-error=cpp \
-Wno-error=deprecated-declarations \
-Wno-error=strict-overflow \
-D_REENTRANT \
-fPIC \
-DQT_NO_USING_NAMESPACE \
-DQT_NO_FOREACH \
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" \
-DQT_USE_ICU \
-DQT_HAVE_POLL \
-DQT_HAVE_PPOLL \
-DQT_BUILD_CORE_LIB \
-DQT_BUILDING_QT \
-DQT_NO_CAST_TO_ASCII \
-DQT_ASCII_CAST_WARNINGS \
-DQT_MOC_COMPAT \
-DQT_USE_QSTRINGBUILDER \
-DQT_DEPRECATED_WARNINGS \
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 \
-D_LARGEFILE64_SOURCE \
-D_LARGEFILE_SOURCE \
-DQT_NO_DEBUG \
-I/home/marc/Qt/qt5/qtbase/src/corelib \
-I. \
-Iglobal \
-I/home/marc/Qt/qt5/qtbase/src/3rdparty/harfbuzz/src \
-I/home/marc/Qt/qt5/qtbase/src/3rdparty/md5 \
-I/home/marc/Qt/qt5/qtbase/src/3rdparty/md4 \
-I/home/marc/Qt/qt5/qtbase/src/3rdparty/sha3 \
-I/home/marc/Qt/qt5/qtbase/src/3rdparty/forkfd \
-I../../include \
-I../../include/QtCore \
-I../../include/QtCore/5.8.0 \
-I../../include/QtCore/5.8.0/QtCore \
-I.moc \
-I/home/marc/Qt/qt5/qtbase/mkspecs/linux-g++ \
-x c++-header \
-c /home/marc/Qt/qt5/qtbase/src/corelib/global/qt_pch.h \
-o .pch/Qt5Core.gch/c++
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/d/gcc/trunk/libexec/gcc/x86_64-pc-linux-gnu/7.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/d/gcc/trunk
--enable-checking=release --enable-languges=c,c++,fortran,lto,objc,obj-c++
Thread model: posix
gcc version 7.0.0 20161005 (experimental) (GCC)
git log -10 --oneline
c7b01e7 PR sanitizer/77823 * c-ubsan.c
(ubsan_instrument_shift): Return NULL_TREE if type0 is not integral.
d204444 Fix pr69941.c test failure for avr
ea55eab 2016-10-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>
9ce1157 PR bootstrap/77819 - undefined reference to
gnu_libc_printf_pointer_format with uClibc
5c176eb * c-common.c (c_common_reswords): Update comment for C++11.
4ef2832 [fold-const] Fix native_encode_real for HFmode constants
59deb1a 70564 fix newly-added tests for not_fn
c375ef0 libcpp/ChangeLog:
77a1a89 Move all existing strchr and strrchr folding from builtins.c to
gimple-fold.c.
ad69f5a PR 70101 fix allocator-extended ctors for std::priority_queue
More information about the Gcc-bugs
mailing list