September 08, 2023 [Issue 24137] New: Linker error on MacOS on helloworld | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24137 Issue ID: 24137 Summary: Linker error on MacOS on helloworld Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: major Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: s.trump@gmail.com Downloaded https://downloads.dlang.org/releases/2.x/2.105.0/dmd.2.105.0.osx.tar.xz and unpacked. Trying to build hello_world.d ``` import std.stdio; void main() { writeln("Hello, World!"); } ``` with command `dmd hello_world.d` Getting error: ``` ld: multiple errors: symbol count from symbol table and dynamic symbol table differ in '/Users/***/tmp/hello_world/hello_world.o' in '/Users/***/tmp/hello_world/hello_world.o'; address=0x0 points to section(2) with no content in '/Users/***/dmd2/osx/lib/libphobos2.a[3177](config_a68_4c3.o)' clang: error: linker command failed with exit code 1 (use -v to see invocation) Error: linker exited with status 1 ``` -- |
Copyright © 1999-2021 by the D Language Foundation