Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
November 19, 2005 gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q make[1]: *** [internal/gc/gc.o] Error 1 Any workarounds? -- Carlos Santander Bernal |
November 26, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander | Carlos Santander escribió: > I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: > > .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' > .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q > .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' > .../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q > make[1]: *** [internal/gc/gc.o] Error 1 > > Any workarounds? > Dropped Kubuntu, tried Fedora Core 4, gcc 4.0.2: ../../../gcc-4.0.2/libphobos/gcc/deh.d:0: internal compiler error: Violación de segmento Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[1]: *** [gcc/deh.o] Error 1 make[1]: Leaving directory `/home/carlos/dev/gdc-0.16/powerpc-unknown-linux-gnu/libphobos' make: *** [all-target-libphobos] Error 2 (Violación de segmento = Segment violation) -- Carlos Santander Bernal |
November 26, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander | You don't want to use the linux version of DMD?
Carlos Santander wrote:
> I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get:
>
> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q'
> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q
> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q'
> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q
> make[1]: *** [internal/gc/gc.o] Error 1
>
> Any workarounds?
>
|
November 26, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to clayasaurus | clayasaurus wrote:
> You don't want to use the linux version of DMD?
>
> Carlos Santander wrote:
>
>> I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get:
>>
>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q'
>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q
>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q'
>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q
>> make[1]: *** [internal/gc/gc.o] Error 1
>>
>> Any workarounds?
>>
I'm sure he does... if it were available on PowerPC. ;)
-JJR
|
November 26, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | John Reimer wrote:
> clayasaurus wrote:
>
>> You don't want to use the linux version of DMD?
>>
>> Carlos Santander wrote:
>>
>>> I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get:
>>>
>>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q'
>>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q
>>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q'
>>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q
>>> make[1]: *** [internal/gc/gc.o] Error 1
>>>
>>> Any workarounds?
>>>
>
> I'm sure he does... if it were available on PowerPC. ;)
>
> -JJR
*doh*
|
November 27, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | John Reimer escribió: > clayasaurus wrote: > >> You don't want to use the linux version of DMD? >> >> Carlos Santander wrote: >> >>> I've tried to compile gdc 0.16 on Kubuntu 5.10 for PowerPC (while the Ubuntu CD arrives) with gcc 3.3.6, 3.4.3, 4.0.1, and 4.0.2, and while it compiles, GPhobos, doesn't. I always get: >>> >>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot change reference to static array 'q' >>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:264: cannot assign to static array q >>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot change reference to static array 'q' >>> ../../../gcc-3.3.6/libphobos/internal/gc/gc.d:265: cannot assign to static array q >>> make[1]: *** [internal/gc/gc.o] Error 1 >>> >>> Any workarounds? >>> > > I'm sure he does... if it were available on PowerPC. ;) > > -JJR True, but even if I was on x86, I'd also like to use gdc. -- Carlos Santander Bernal |
November 27, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander | In article <dmb4e1$22s9$1@digitaldaemon.com>, Carlos Santander says... >> I'm sure he does... if it were available on PowerPC. ;) >> >> -JJR > >True, but even if I was on x86, I'd also like to use gdc. > >-- >Carlos Santander Bernal Interesting... why? I'm curious to hear your reasons (probably good ones). -JJR |
November 27, 2005 Re: gdc 0.16 on linux for power pc | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | John Reimer escribió: > In article <dmb4e1$22s9$1@digitaldaemon.com>, Carlos Santander says... > > >>>I'm sure he does... if it were available on PowerPC. ;) >>> >>>-JJR >> >>True, but even if I was on x86, I'd also like to use gdc. >> >>-- >>Carlos Santander Bernal > > > Interesting... why? I'm curious to hear your reasons (probably good ones). > > -JJR > > Because I like to try different things (for my thesis I used 2 hardware platforms, 3 operating systems, 2 D compilers and 5+ C compilers), but also because I feel like if I try both DMD and GDC I'm helping more the D community, so it'd be my small contribution. -- Carlos Santander Bernal |
Copyright © 1999-2021 by the D Language Foundation