digitalmars.D.bugs - [Issue 18971] New: [Home]I have a project that can be compiled in
- d-bugmail puremagic.com (52/52) Jun 11 2018 https://issues.dlang.org/show_bug.cgi?id=18971
https://issues.dlang.org/show_bug.cgi?id=18971 Issue ID: 18971 Summary: [Home]I have a project that can be compiled in the debug mode with the latest DMD 2.080-1, but I report errors in release mode. Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: enhancement Priority: P3 Component: dmd Assignee: nobody puremagic.com Reporter: shove 163.com Excuse me, what's the reason for this phenomenon? I have a project that can be compiled in the debug mode with the latest DMD 2.080-1, but I report errors in release mode. // release: $ dub -b release ... Linking... Undefined symbols for architecture x86_64: "__D3std4conv__T7toCharsVii10TaVEQBd5ascii10LetterCasei1TmZQBrFNaNbNiNfmZSQCsQCr__TQCpVii10TaVQCki1TmZQDiFNaNbNiNfmZ6Result", referenced from: __D3std4conv__T6toImplTAyaTmZQoFNaNbNemkEQBm5ascii10LetterCaseZQBo in test.o __D3std4conv__T8textImplTAyaTQeThTaTaTQnTmZQBcFNaNfQBahaaQBgmZQBl in test.o __D3std4conv__T8textImplTAyaTQeTmTQjZQwFNaNbNfQvmQyZQBb in test.o __D3std4conv__T8textImplTAyaTQeTmTQjTmZQyFNaNbNfQxmQBamZQBf in test.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Error: linker exited with status 1 /Library/D/dmd/bin/dmd failed with exit code 1. // ------------------------------------ // debug: $ dub -b debug Performing "debug" build using /Library/D/dmd/bin/dmd for x86_64. async 0.1.11: target for configuration "library" is up to date. crypto 0.1.4: target for configuration "library" is up to date. buffer 0.2.4: target for configuration "library" is up to date. dbc 1.1.0: target for configuration "library" is up to date. szip 0.0.2: target for configuration "library" is up to date. libserver ~master: target for configuration "library" is up to date. test ~master: target for configuration "application" is up to date. To force a rebuild of up-to-date targets, run again with --force. Running ../release/test OK! --
Jun 11 2018