[llvm-bugs] [Bug 44086] New: [Windows] fatal error: error in backend: invalid symbol redefinition
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 20 08:06:03 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44086
Bug ID: 44086
Summary: [Windows] fatal error: error in backend: invalid
symbol redefinition
Product: clang
Version: 9.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: me at mark-ingram.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
When compiling with the --debug flag the following error occurs
C:\PROGRA~1\LLVM\bin\clang.exe -DOPJ_DLL_BUILD -DOPJ_EXPORTS -DUNICODE
-DUSE_JPIP -DWIN32 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_SECURE_NO_WARNINGS -D_ITERATOR_DEBUG_LEVEL=0 -D_SCL_SECURE_NO_WARNINGS
-D_UNICODE -D_WINDOWS -O3 -DNDEBUG -D_DLL -D_MT -Xclang --dependent-lib=msvcrt
-w -msse4.1 -ferror-limit=1 --debug -MD -MT
Libraries/libjpeg2k/CMakeFiles/libjpeg2k.dir/dwt.c.obj -MF
Libraries\libjpeg2k\CMakeFiles\libjpeg2k.dir\dwt.c.obj.d -o
Libraries/libjpeg2k/CMakeFiles/libjpeg2k.dir/dwt.c.obj -c
../../Libraries/libjpeg2k/dwt.c
fatal error: error in backend: invalid symbol redefinition
Stack dump:
0. Program arguments: C:\PROGRA~1\LLVM\bin\clang.exe -cc1 -triple
x86_64-pc-windows-msvc19.24.28218 -emit-obj -mincremental-linker-compatible
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name dwt.c
-mrelocation-model pic -pic-level 2 -mthread-model posix -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64
-target-feature +sse4.1 -gcodeview -debug-info-kind=limited
-momit-leaf-frame-pointer -coverage-notes-file
C:\Code\build\clang-release-rgba8\Libraries/libjpeg2k/CMakeFiles/libjpeg2k.dir/dwt.c.gcno
-resource-dir C:\PROGRA~1\LLVM\lib\clang\9.0.0 -dependency-file
Libraries\libjpeg2k\CMakeFiles\libjpeg2k.dir\dwt.c.obj.d -sys-header-deps -MT
Libraries/libjpeg2k/CMakeFiles/libjpeg2k.dir/dwt.c.obj -D OPJ_DLL_BUILD -D
OPJ_EXPORTS -D PLATFORM_SSE3 -D PLATFORM_WIN32 -D PLATFORM_WINDOWS -D
RASTER_RGBA8_ONLY -D UNICODE -D USE_JPIP -D WIN32 -D _CRT_NONSTDC_NO_DEPRECATE
-D _CRT_SECURE_NO_DEPRECATE -D _CRT_SECURE_NO_WARNINGS -D
_ITERATOR_DEBUG_LEVEL=0 -D _SCL_SECURE_NO_WARNINGS -D _UNICODE -D _WINDOWS -I
../../Libraries -D NDEBUG -D _DLL -D _MT -internal-isystem
C:\PROGRA~1\LLVM\lib\clang\9.0.0\include -internal-isystem C:\Program Files
(x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.24.28218\include
-internal-isystem C:\Program Files (x86)\Windows
Kits\10\Include\10.0.18362.0\ucrt -internal-isystem C:\Program Files
(x86)\Windows Kits\10\include\10.0.18362.0\shared -internal-isystem C:\Program
Files (x86)\Windows Kits\10\include\10.0.18362.0\um -internal-isystem
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt -O3 -w
-fdebug-compilation-dir C:\Code\build\clang-release-rgba8 -ferror-limit 1
-fmessage-length 0 -fno-use-cxa-atexit -fms-extensions -fms-compatibility
-fms-compatibility-version=19.24.28218 -fdelayed-template-parsing
-fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp
--dependent-lib=msvcrt -faddrsig -o
Libraries/libjpeg2k/CMakeFiles/libjpeg2k.dir/dwt.c.obj -x c
../../Libraries/libjpeg2k/dwt.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'../../Libraries/libjpeg2k/dwt.c'.
4. Running pass 'X86 Assembly Printer' on function '@opj_dwt_encode_real'
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191120/59114dec/attachment-0001.html>
More information about the llvm-bugs
mailing list