http://d.puremagic.com/issues/show_bug.cgi?id=11171
Summary: Text relocations in Phobos shared library
Product: D
Version: D2
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Dicebot <[email protected]> 2013-10-04 04:12:14 PDT ---
Have noticed that issue during package maintenance for Arch Linux and reporting
by Martin Nowak request. Arch Linux automatically verifies all packages
targeting official repos with own `namcap` tool. At some point I have noticed
it warning me that `libphobos2.so` has text relocations.
This is how package is built:
https://github.com/Dicebot/Arch-PKGBUILDs/blob/master/dmd/PKGBUILD
Essentially it is just `make -f posix.mak MODEL=$_archbits
DMD=$srcdir/dmd/src/dmd RELEASE=1`
$ uname -a
Linux vbox-arch-64 3.11.2-1-ARCH #1 SMP PREEMPT Fri Sep 27 07:35:36 CEST
2013 x86_64 GNU/Linux
$ readelf -d /usr/lib/libphobos2.so | grep TEXTREL
0x0000000000000016 (TEXTREL) 0x0
$ eu-readelf -r /usr/lib/libphobos2.so | wc -l
18615
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------