digitalmars.D - Build failure in the latest dmd with dub
- Sobaya (6/6) Mar 16 2019 I recently updated dmd to version 2.085.0.
- Bastiaan Veelo (4/11) Mar 16 2019 Could it be some flag that dub uses and you don’t, or v.v.? Use
- Sobaya (35/52) Mar 16 2019 Using "-v" flags and build with dub, it outputs below:
- 9il (3/10) Apr 08 2019 Yes, this is compiler regression. Have you filled this at
- 9il (2/18) Apr 12 2019 https://issues.dlang.org/show_bug.cgi?id=19804
I recently updated dmd to version 2.085.0. But it breaks on compiling my small program. struct A { float el; } struct B { this(A[1]...) {} } It successfully works using only dmd, but it fails using with dub. Is this a bug?
Mar 16 2019
On Saturday, 16 March 2019 at 13:40:19 UTC, Sobaya wrote:I recently updated dmd to version 2.085.0. But it breaks on compiling my small program. struct A { float el; } struct B { this(A[1]...) {} } It successfully works using only dmd, but it fails using with dub. Is this a bug?Could it be some flag that dub uses and you don’t, or v.v.? Use the -v flag to dub to see how it invokes the compiler. Bastiaan.
Mar 16 2019
On Saturday, 16 March 2019 at 13:45:01 UTC, Bastiaan Veelo wrote:On Saturday, 16 March 2019 at 13:40:19 UTC, Sobaya wrote:Using "-v" flags and build with dub, it outputs below: Performing "debug" build using /home/sobaya/dlang/dmd-2.085.0/linux/bin64/dmd for x86_64. test ~master: building configuration "application"... predefs Have_test DigitalMars Posix linux ELFv1 CRuntime_Glibc CppRuntime_Gcc LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC assert D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat binary /home/sobaya/dlang/dmd-2.085.0/linux/bin64/dmd version v2.085.0 config /home/sobaya/dlang/dmd-2.085.0/linux/bin64/dmd.conf DFLAGS -I/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../../src/phobos -I/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../../src/druntime/import -L-L/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../lib64 -L--export-dynamic -fPIC parse app importall app import object (/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../../src/druntime/import/object.d) import core.internal.hash (/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../../src/druntime/import/core/internal/hash.d) import core.internal.traits (/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../../src/druntime/import/core/internal/traits.d) import core.internal.convert (/home/sobaya/dlang/dmd-2.085.0/linux/bin64/../../src/druntime/import/core/internal/convert.d) semantic app entry main source/app.d semantic2 app semantic3 app code app function app.A.__xopEquals function app.A.__xtoHash function app.B.this /home/sobaya/dlang/dmd-2.085.0/linux/bin64/dmd failed with exit code -4.I recently updated dmd to version 2.085.0. But it breaks on compiling my small program. struct A { float el; } struct B { this(A[1]...) {} } It successfully works using only dmd, but it fails using with dub. Is this a bug?Could it be some flag that dub uses and you don’t, or v.v.? Use the -v flag to dub to see how it invokes the compiler. Bastiaan.
Mar 16 2019
On Saturday, 16 March 2019 at 13:40:19 UTC, Sobaya wrote:I recently updated dmd to version 2.085.0. But it breaks on compiling my small program. struct A { float el; } struct B { this(A[1]...) {} } It successfully works using only dmd, but it fails using with dub. Is this a bug?Yes, this is compiler regression. Have you filled this at https://issues.dlang.org/?
Apr 08 2019
On Monday, 8 April 2019 at 07:34:41 UTC, 9il wrote:On Saturday, 16 March 2019 at 13:40:19 UTC, Sobaya wrote:https://issues.dlang.org/show_bug.cgi?id=19804I recently updated dmd to version 2.085.0. But it breaks on compiling my small program. struct A { float el; } struct B { this(A[1]...) {} } It successfully works using only dmd, but it fails using with dub. Is this a bug?Yes, this is compiler regression. Have you filled this at https://issues.dlang.org/?
Apr 12 2019