Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
January 12, 2014 Struck Gold | ||||
---|---|---|---|---|
| ||||
I'm probably the last person in the D community to realize, but yesterday I found Gold (the linker that is). The build time for my project has diminished dramatically. I just had to be a little more specific about one of my link-time build libraries in CodeBlocks. |
January 12, 2014 Re: Struck Gold | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve Teale | I hope you're using dmd 2.063 or git head, since dmd 2.064 with gold produces crashing code for switch jump tables. Anything with threads and boom.
Atila
On Sunday, 12 January 2014 at 16:25:01 UTC, Steve Teale wrote:
> I'm probably the last person in the D community to realize, but yesterday I found Gold (the linker that is).
>
> The build time for my project has diminished dramatically.
>
> I just had to be a little more specific about one of my link-time build libraries in CodeBlocks.
|
January 12, 2014 Re: Struck Gold | ||||
---|---|---|---|---|
| ||||
Posted in reply to Steve Teale | On 1/12/14 8:24 AM, Steve Teale wrote:
> I'm probably the last person in the D community to realize, but
> yesterday I found Gold (the linker that is).
>
> The build time for my project has diminished dramatically.
>
> I just had to be a little more specific about one of my link-time build
> libraries in CodeBlocks.
Yah, gold is great. Did you have any issues with it linking D code?
Andrei
|
January 12, 2014 Re: Struck Gold | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Sunday, 12 January 2014 at 17:45:42 UTC, Andrei Alexandrescu wrote:
> On 1/12/14 8:24 AM, Steve Teale wrote:
>> I'm probably the last person in the D community to realize, but
>> yesterday I found Gold (the linker that is).
>>
>> The build time for my project has diminished dramatically.
>>
>> I just had to be a little more specific about one of my link-time build
>> libraries in CodeBlocks.
>
> Yah, gold is great. Did you have any issues with it linking D code?
>
> Andrei
Code produced by dmd is not very gold compliant.
|
January 12, 2014 Re: Struck Gold | ||||
---|---|---|---|---|
| ||||
Posted in reply to deadalnix | On 1/12/2014 9:58 AM, deadalnix wrote:
> Code produced by dmd is not very gold compliant.
That's a frustratingly meaningless comment - there's nowhere anyone can go with it.
|
January 12, 2014 Re: Struck Gold | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | On Sunday, 12 January 2014 at 19:05:59 UTC, Walter Bright wrote:
> On 1/12/2014 9:58 AM, deadalnix wrote:
>> Code produced by dmd is not very gold compliant.
>
> That's a frustratingly meaningless comment - there's nowhere anyone can go with it.
I know, but I have not much more infos. On some project I tested, depending on the version of gold I get either failure to link via some obscure internal gold failure or broken binaries.
I started to dig in gold source code for a while to understand, but at some point time ran short and I had to give up.
If gold is a necessity (like it was for me on that project) then switching to GDC is the best option for now.
Gold behavior started to become erratic in the File_read::find_or_make_view zone.
|
January 13, 2014 Re: Struck Gold | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Sunday, 12 January 2014 at 17:45:42 UTC, Andrei Alexandrescu wrote:
> On 1/12/14 8:24 AM, Steve Teale wrote:
>> I'm probably the last person in the D community to realize, but
>> yesterday I found Gold (the linker that is).
>>
>> The build time for my project has diminished dramatically.
>>
>> I just had to be a little more specific about one of my link-time build
>> libraries in CodeBlocks.
>
> Yah, gold is great. Did you have any issues with it linking D code?
>
> Andrei
Not so far Andrei. The only thing I had to do was to modify my CodeBlocks project to give a full path for a small third party static library I use. The Gnu linker was happy with just the name and an item in my search paths list.
|
Copyright © 1999-2021 by the D Language Foundation