What does dmd 2.066 want from me?
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jan 8 07:47:48 PST 2015
On 1/7/15 3:10 PM, Artem Tarasov wrote:
> I'm trying to compile my software with the latest compiler, and it spits
> out the following error:
>
> $ make
> <...>
> rdmd --force --build-only -IBioD -g -L-Lhtslib -L-l:libhts.a
> -L-l:libphobos2.a -ofbuild/sambamba.o main.d
> <...>
> /tmp/.rdmd-1000/rdmd-main.d-5E103AD0DCA0998F00B4F9BA5B181EDE/objs/sambamba.o.o:(.data._D80TypeInfo_S3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamRead6__initZ+0x30):
> undefined reference to
> `_D3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamRead9__xtoHashFNbNeKxS3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamReadZm'
>
> /tmp/.rdmd-1000/rdmd-main.d-5E103AD0DCA0998F00B4F9BA5B181EDE/objs/sambamba.o.o:(.data._D80TypeInfo_S3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamRead6__initZ+0x38):
> undefined reference to
> `_D3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamRead11__xopEqualsFKxS3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamReadKxS3bio3bam4read41__T12EagerBamReadTS3bio3bam4read7BamReadZ12EagerBamReadZb'
>
>
> What the heck do these lines mean? Presumably they come from the recent
> change in hash implementation, but I don't use this struct in any
> dictionary whatsoever! It doesn't have opCmp either and perfectly worked
> until now.
The latest changes are compile-time requirements, not link-time. I doubt
they have to do with your problem.
Check for stale objects and libraries.
-Steve
More information about the Digitalmars-d-learn
mailing list