Displaying 4 results from an estimated 4 matches for "ldps_err".
2013 Nov 15
0
[LLVMdev] Proposal: release MDNodes for source modules (LTO+debug info)
...eps all the file descriptors open?
That is odd. I will debug it in a sec, but we have in the claim_file_hook:
if (code_gen) {
if (lto_codegen_add_module(code_gen, M)) {
(*message)(LDPL_ERROR, "Error linking module: %s",
lto_get_error_message());
return LDPS_ERR;
}
}
lto_module_dispose(M);
In fact, with current gold we call get_view, so the plugin uses the
same fd as gold. It might actually be a bug with gold trying to cache
too many open files.
How are you trying to build it?
Cheers,
Rafael
2013 Nov 14
2
[LLVMdev] Proposal: release MDNodes for source modules (LTO+debug info)
On Nov 14, 2013, at 8:19 AM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> But gold has at most 2 objects loaded at any time.
Are you sure about that? I haven't looked into it but while building Chromium with LTO, I get:
../../third_party/gold/gold64: fatal error: out of file descriptors and couldn't close any
clang: error: linker command failed with exit code 1
2013 Nov 15
2
[LLVMdev] Proposal: release MDNodes for source modules (LTO+debug info)
...>
> That is odd. I will debug it in a sec, but we have in the claim_file_hook:
>
> if (code_gen) {
> if (lto_codegen_add_module(code_gen, M)) {
> (*message)(LDPL_ERROR, "Error linking module: %s",
> lto_get_error_message());
> return LDPS_ERR;
> }
> }
>
> lto_module_dispose(M);
>
> In fact, with current gold we call get_view, so the plugin uses the
> same fd as gold. It might actually be a bug with gold trying to cache
> too many open files.
>
> How are you trying to build it?
The standard Chromium...
2013 Nov 15
0
[LLVMdev] Proposal: release MDNodes for source modules (LTO+debug info)
...I will debug it in a sec, but we have in the claim_file_hook:
>>
>> if (code_gen) {
>> if (lto_codegen_add_module(code_gen, M)) {
>> (*message)(LDPL_ERROR, "Error linking module: %s",
>> lto_get_error_message());
>> return LDPS_ERR;
>> }
>> }
>>
>> lto_module_dispose(M);
>>
>> In fact, with current gold we call get_view, so the plugin uses the
>> same fd as gold. It might actually be a bug with gold trying to cache
>> too many open files.
>>
>> How are you tryin...