[Issue 17761] [REG2.075] dmd 2.075.1 creates object files that can't be linked by ld.bfd

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Aug 21 07:02:13 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17761

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #2 from Martin Nowak <code at dawg.eu> ---
Please always at least add the exact commit hash/tag when referencing external
code in a bug entry. At best use Digger to reduce the test case.
Can't reproduce this with

reggae: 1e499c7b257c23415b1e745b6bd937f889300b85
unit-threaded: 0.7.28
dmd: v2.075.1
dub: 1.4.0

I used `curl -fsS https://dlang.org/install.sh | bash -s dmd-2.075.1` to get
the compiler.

On a sidenote, my dub hash is different than yours, not sure what command line
flags differ.
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-C42D717244B28E601F8D29F4D95527E

This is the compiler invocation from dub.

dmd -c
-of.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-C42D717244B28E601F8D29F4D95527E0/ut.o
-debug -g -unittest -w -version=Have_reggae -version=Have_unit_threaded -Isrc
-Ipayload
-I../../../home/dawg/.dub/packages/unit-threaded-0.7.28/unit-threaded/source/
-Jpayload/reggae -Jtests/json bin/ut.d ...

--


More information about the Digitalmars-d-bugs mailing list