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

2017-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17761

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/28c6427e1381a127e7a3f9da0a6964b180c1deb8
fix Issue 17761 - don't leave behind empty section groups

https://github.com/dlang/dmd/commit/9ffacf22244d24a62e9c48c1268b8ec256bce687
Merge pull request #7093 from MartinNowak/fix17761

--


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

2017-08-25 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17761

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/28c6427e1381a127e7a3f9da0a6964b180c1deb8
fix Issue 17761 - don't leave behind empty section groups

- check for existing .text. section before opening new
  group section, reuse existing sections in case of colliding mangling

https://github.com/dlang/dmd/commit/9ffacf22244d24a62e9c48c1268b8ec256bce687
Merge pull request #7093 from MartinNowak/fix17761

fix Issue 17761 - don't leave behind empty section groups

--


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

2017-08-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17761

Martin Nowak  changed:

   What|Removed |Added

   Keywords||link-failure, pull

--- Comment #4 from Martin Nowak  ---
My version `ld.bfd -v`
GNU ld version 2.27-24.fc26

Was able to reproduce this in an ArchLinux container.

ld.bfd -v
GNU ld (GNU Binutils) 2.28.0.20170506


https://github.com/dlang/dmd/pull/7093

--


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

2017-08-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17761

--- Comment #3 from anonymous4  ---
Maybe depends on OS/ld version.

--


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

2017-08-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17761

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu

--- Comment #2 from Martin Nowak  ---
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 ...

--


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

2017-08-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17761

anonymous4  changed:

   What|Removed |Added

Summary|dmd 2.075.1 creates object  |[REG2.075] dmd 2.075.1
   |files that can't be linked  |creates object files that
   |by ld.bfd   |can't be linked by ld.bfd
   Severity|major   |regression

--