Thread overview
[Issue 19044] Linking error: reloc 0: symbol index out of range
Apr 06, 2020
Sönke Ludwig
Apr 20, 2020
Heromyth
Apr 20, 2020
Heromyth
Jun 26, 2020
Mike Parker
Dec 17, 2022
Iain Buclaw
April 06, 2020
https://issues.dlang.org/show_bug.cgi?id=19044

Sönke Ludwig <sludwig@outerproduct.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sludwig@outerproduct.org

--
April 20, 2020
https://issues.dlang.org/show_bug.cgi?id=19044

Heromyth <bitworld@qq.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bitworld@qq.com

--
April 20, 2020
https://issues.dlang.org/show_bug.cgi?id=19044

--- Comment #1 from Heromyth <bitworld@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

--
June 26, 2020
https://issues.dlang.org/show_bug.cgi?id=19044

Mike Parker <aldacron@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldacron@gmail.com

--- Comment #2 from Mike Parker <aldacron@gmail.com> ---
A bounty has been placed on this issue:

https://www.flipcause.com/secure/cause_pdetails/ODgxMDc=

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19044

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--