[Issue 19044] Linking error: reloc 0: symbol index out of range

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 20 09:25:18 UTC 2020


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

--- Comment #1 from Heromyth <bitworld at qq.com> ---
We also have the same problem when building the demo for hunt-http.

The error message:

Linking...
dmd
-of.dub/build/server-debug-posix.osx-x86_64-dmd_2091-789ACCFB4E7175AA7E03295664C71631/http-server
.dub/build/server-debug-posix.osx-x86_64-dmd_2091-789ACCFB4E7175AA7E03295664C71631/http-server.o
../../.dub/build/default-debug-posix.osx-x86_64-dmd_2091-5E13BCCCBAA4897920B997E7C0DE09B6/libhunt-http.a
../../../hunt-net/.dub/build/default-debug-posix.osx-x86_64-dmd_2091-8715AC4D8BCF54BB913AF1A6B5D68845/libhunt-net.a
../../../hunt/.dub/build/library-debug-posix.osx-x86_64-dmd_2091-D2D93C3E043B34896F959408A5A7FD54/libhunt.a
-m64 -g
ld: in
../../.dub/build/default-debug-posix.osx-x86_64-dmd_2091-5E13BCCCBAA4897920B997E7C0DE09B6/libhunt-http.a(concurrency_5c25_41b.o),
in section __TEXT,__textcoal_nt reloc 2: symbol index out of range
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: linker exited with status 1


Here are the steps:
1. git clone https://github.com/huntlabs/hunt-http.git
2. $ cd examples/HttpDemo
3. $ ./build.sh

--


More information about the Digitalmars-d-bugs mailing list