dfmt build never finished

Test123 test123 at gmail.com
Fri Feb 18 18:44:02 UTC 2022


On Friday, 18 February 2022 at 18:34:46 UTC, WebFreak001 wrote:
> On Friday, 18 February 2022 at 18:10:43 UTC, Test123 wrote:
> to
> ```
>     "preGenerateCommands" : [
>       "dmd -run \"$PACKAGE_DIR/dubhash.d\""
>     ]
> ```


after modify get this error:

ld: in /opt/tools/dmd2/osx/lib/libphobos2.a(object_12_612.o), 
section __DATA/__thread_bss has type zero-fill but non-zero file 
offset for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to 
see invocation)
Error: linker exited with status 1
uncaught exception
object.Exception at source/dub/internal/utils.d(218): Command failed 
with exit code 1: dmd -run "/opt/tools/dfmt/dubhash.d"
----------------
??:? pure @safe bool 
std.exception.enforce!().enforce!(bool).enforce(bool, lazy 
const(char)[], immutable(char)[], ulong) [0x1075d8b1a]
??:? void dub.internal.utils.runCommands(in immutable(char)[][], 
immutable(char)[][immutable(char)[]], immutable(char)[]) 
[0x10737ac4a]
??:? void dub.generators.generator.runBuildCommands(in 
immutable(char)[][], in dub.package_.Package, in 
dub.project.Project, in 
dub.generators.generator.GeneratorSettings, in 
dub.compilers.buildsettings.BuildSettings, in 
immutable(char)[][immutable(char)[]][]) [0x1073dcd74]
??:? int 
dub.generators.generator.ProjectGenerator.generate(dub.generators.generator.GeneratorSettings).__foreachbody8(ref dub.package_.Package) [0x1073d2e9b]
dmd2.sh: line 2: 36587 Abort trap: 6           dub -b release




More information about the Digitalmars-d mailing list