www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17761] New: dmd 2.075.1 creates object files that can't be

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

          Issue ID: 17761
           Summary: dmd 2.075.1 creates object files that can't be linked
                    by ld.bfd
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: atila.neves gmail.com

ld.gold works fine.

To reproduce:

$ git clone git github.com:atilaneves/reggae.git
$ dub test

/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26312] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26313] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26312] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26313] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26312] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26313] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26312] has no SHF_GROUP sections
/usr/bin/ld:
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
SHT_GROUP section [index 26313] has no SHF_GROUP sections
.dub/build/unittest-unittest-linux.posix-x86_64-dmd_2075-77175E7974DDAEB08859943E222FA38D/ut.o:
file not recognized: File format not recognized

--
Aug 18