Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 16, 2005 gdc-0.13 gcc-3.4.3 linux build errors | ||||
---|---|---|---|---|
| ||||
Hello I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D. But when I try to build gdc-0.13 so as to stay current I get assembler errors: libphobos/std/stream.d: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ... (many more of these) I notice that some relevant sounding changes were being discussed in relation to the mingw port. Any suggestions? Regards Peri Hankey |
June 17, 2005 Re: gdc-0.13 gcc-3.4.3 linux build errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Peri Hankey | Peri Hankey wrote:
> Hello
>
> I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D.
>
> But when I try to build gdc-0.13 so as to stay current I get assembler errors:
>
> libphobos/std/stream.d:
> Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ...
> (many more of these)
>
> I notice that some relevant sounding changes were being discussed in relation to the mingw port.
>
> Any suggestions?
>
> Regards
> Peri Hankey
If you built 0.13 on top of 0.12, try wiping out <build dir>/gcc/d/{*.o,id*} first.
Can you post your assembler/binutils version?
David
|
June 17, 2005 Re: gdc-0.13 gcc-3.4.3 linux build errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | David Friedman wrote:
> Peri Hankey wrote:
>
>> Hello
>>
>> I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D.
>>
>> But when I try to build gdc-0.13 so as to stay current I get assembler errors:
>>
>> libphobos/std/stream.d:
>> Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ...
>> (many more of these)
>>
>> I notice that some relevant sounding changes were being discussed in relation to the mingw port.
>>
>> Any suggestions?
>>
>> Regards
>> Peri Hankey
>
>
> If you built 0.13 on top of 0.12, try wiping out <build dir>/gcc/d/{*.o,id*} first.
>
> Can you post your assembler/binutils version?
>
> David
David
The rpm for binutils is: binutils-2.16.90.0.2-3mdk, and this seems to correspond with the version given by 'as':
GNU assembler 2.16.90.0.2 20050429
I was doing the build in a fresh directory, trying at the same time to get an rpm build working, using a simplified spec file that does what you describe in your build instructions.
I can try a different binutils if you think this may be useful - is there a particular version you recommend?
Peri
|
June 17, 2005 Re: gdc-0.13 gcc-3.4.3 linux build errors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Peri Hankey | Peri Hankey wrote: > David Friedman wrote: > >> Peri Hankey wrote: >> >>> Hello >>> >>> I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D. >>> >>> But when I try to build gdc-0.13 so as to stay current I get assembler errors: >>> >>> libphobos/std/stream.d: >>> Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ... >>> (many more of these) >>> >>> I notice that some relevant sounding changes were being discussed in relation to the mingw port. >>> >>> Any suggestions? >>> >>> Regards >>> Peri Hankey >> >> >> >> If you built 0.13 on top of 0.12, try wiping out <build dir>/gcc/d/{*.o,id*} first. >> >> Can you post your assembler/binutils version? >> >> David > > David > > The rpm for binutils is: binutils-2.16.90.0.2-3mdk, and this seems to correspond with the version given by 'as': > GNU assembler 2.16.90.0.2 20050429 > > I was doing the build in a fresh directory, trying at the same time to get an rpm build working, using a simplified spec file that does what you describe in your build instructions. > > I can try a different binutils if you think this may be useful - is there a particular version you recommend? > > Peri It looks like any release made before April 2005 will work. If anyone is curious, the thread on the change in binutils that causes the problem is here: http://lists.gnu.org/archive/html/bug-binutils/2005-05/msg00002.html David |
Copyright © 1999-2021 by the D Language Foundation