[Issue 8548] New: relocation R_X86_64_32 against can not be used when making a shared object
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 15 05:13:31 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8548
Summary: relocation R_X86_64_32 against can not be used when
making a shared object
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: wbrana at gmail.com
--- Comment #0 from wbrana at gmail.com 2012-08-15 05:13:29 PDT ---
$ ./dmd hello.d
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
hello.o: relocation R_X86_64_32 against `.data' can not be used when making a
shared object; recompile with -fPIC
hello.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
--- errorlevel 1
$ ./dmd -fPIC hello.d
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/../../../../x86_64-pc-linux-gnu/bin/ld:
./../lib64/libphobos2.a(object__c_58c.o): relocation R_X86_64_32 against
`_D10TypeInfo_m6__initZ' can not be used when making a shared object; recompile
with -fPIC
./../lib64/libphobos2.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
--- errorlevel 1
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list