Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 16, 2019 Build failure in the latest dmd with dub | ||||
---|---|---|---|---|
| ||||
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? |
March 16, 2019 Re: Build failure in the latest dmd with dub | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sobaya | 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.
|
March 16, 2019 Re: Build failure in the latest dmd with dub | ||||
---|---|---|---|---|
| ||||
Posted in reply to Bastiaan Veelo | 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: >> 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. 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. |
April 08, 2019 Re: Build failure in the latest dmd with dub | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sobaya | 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/? |
April 12, 2019 Re: Build failure in the latest dmd with dub | ||||
---|---|---|---|---|
| ||||
Posted in reply to 9il | On Monday, 8 April 2019 at 07:34:41 UTC, 9il wrote: > 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/? https://issues.dlang.org/show_bug.cgi?id=19804 |
Copyright © 1999-2021 by the D Language Foundation