Thread overview | |||||
---|---|---|---|---|---|
|
November 11, 2012 Re: GDC is this a bug or a feature? | ||||
---|---|---|---|---|
| ||||
On 11 November 2012 10:39, Russel Winder <russel@winder.org.uk> wrote: > > |> gdc -o lib_helloWorld.so -shared helloWorld.os > /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(object_.o): relocation R_X86_64_32S against `_D11TypeInfo_Pv6__initZ' can not be used when making a shared object; recompile with -fPIC > /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a: could not read symbols: Bad value > collect2: ld returned 1 exit status > > > -- > Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder I'd say feature. If libgphobos was a shared object, I don't believe you would get this. Regards, -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; |
November 11, 2012 Re: GDC is this a bug or a feature? | ||||
---|---|---|---|---|
| ||||
Attachments:
| On Sun, 2012-11-11 at 11:17 +0000, Iain Buclaw wrote: […] > I'd say feature. If libgphobos was a shared object, I don't believe you would get this. So the upshot is that we need to indent for libgphobos2.so in order for D to be useful in association with Python and ctypes. I guess the question is whether, like Go, D will eschew shared objects, or whether, like C and C++, D will embrace shared objects. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
November 11, 2012 Re: GDC is this a bug or a feature? | ||||
---|---|---|---|---|
| ||||
On 11 November 2012 19:03, Russel Winder <russel@winder.org.uk> wrote: > On Sun, 2012-11-11 at 11:17 +0000, Iain Buclaw wrote: > […] >> I'd say feature. If libgphobos was a shared object, I don't believe you would get this. > > So the upshot is that we need to indent for libgphobos2.so in order for D to be useful in association with Python and ctypes. > > I guess the question is whether, like Go, D will eschew shared objects, or whether, like C and C++, D will embrace shared objects. > I'm genuinely optimistic about embracing shared objects. Though I've taken a cathedral stance and will not be releasing anything until it is ready. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; |
Copyright © 1999-2021 by the D Language Foundation