Bug 13097 – linker error: undefined reference to symbol '_end', bisected to druntime 09ea3d
Status
RESOLVED
Resolution
DUPLICATE
Severity
regression
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-07-11T11:40:00Z
Last change time
2014-07-11T21:17:58Z
Assigned to
nobody
Creator
zorael
Comments
Comment #0 by zorael — 2014-07-11T11:40:40Z
New installation of Arch, dmd/druntime/phobos from git (v2.066-devel-e0ca2d2).
Building dub (git 8c8934) fails with a linker error. Other stuff (Digger, small test snippets) seems to build fine.
gcc bin/dub.o -o bin/dub -g -m64 -l:libphobos2.a -lcurl -L/mnt/main/src/d/dlang-workspace -Xlinker --no-warn-search-mismatch -Xlinker --export-dynamic -l:libphobos2.a -lpthread -lm -lrt
/usr/bin/ld: /mnt/main/src/d/dlang-workspace/libphobos2.a(sections_linux_553_883.o): undefined reference to symbol '_end'
/usr/lib/libssl.so.1.0.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
pacman reports libssl to be version 1.0.1.h-1.
Digger bisect result:
commit 09ea3d684b6a815d2b9013b6cf2d4e30a4c70301
Merge: 591b8d4 82c9b2d
Author: Walter Bright <[email protected]>
Date: Mon May 26 03:32:45 2014 -0700
Merge pull request #791 from MartinNowak/fix11543
fix for Issue 11543 - multiple definition of std.regex with shared library
Comment #1 by code — 2014-07-11T21:17:58Z
*** This issue has been marked as a duplicate of issue 13025 ***