Bootstrap crash on Solaris 2.11/5.11 - uninitialized mem access

Rick V rick at snowlight.net
Wed Jan 2 00:32:56 UTC 2019


Not an option; LLD is installed, but the LDC 0.17 bootstrap unconditionally 
uses Solaris LD...gold is not an option because of invalid linker flags

"kinke"  wrote in message news:snpqurmvtvmvfzpijmcu at forum.dlang.org...

On Tuesday, 1 January 2019 at 10:46:28 UTC, Rick V wrote:
> The *new* LDC crashes when compiling anything, at 
> registerPredefinedVersions(), while calling 
> VersionCondition::addPredefinedGlobalIdent("DMD"), but the D side gets 
> random garbage at dmd.identifier.Identifier.idPool(const(char)[]).

Sounds familiar; this is probably due to a buggy linker (see 1.13
release notes; LDC defaults to gold because older bfd wrongly
strips ModuleInfos). So try gold or a newer bfd (or lld). 



More information about the digitalmars-d-ldc mailing list