[Bug ld/21970] assertion failed if have more than one overlay has subalign specified

2017-08-17 Thread zyfwong at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21970 huang zhenyu changed: What|Removed |Added CC||zyfwong at gmail dot com -- You are

[Bug ld/21970] New: assertion failed if have more than one overlay has subalign specified

2017-08-17 Thread zyfwong at gmail dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: zyfwong at gmail dot com Target Milestone: --- OVERLAY : SUBALIGN(4) { .text : {*(.text);} } OVERLAY : SUBALIGN(4) { .data : {*(.data);} } this script will

[Bug ld/20267] ld.bfd crash when link with LLVMgold.so plugin

2016-06-17 Thread zyfwong at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20267 --- Comment #4 from huang zhenyu --- (In reply to H.J. Lu from comment #2) > (In reply to huang zhenyu from comment #0) > > > If I add one more check after `bfd_check_format`, it seems that the problem > > is fixed: > > > > if (abfd->plugi

[Bug ld/20267] New: ld.bfd crash when link with LLVMgold.so plugin

2016-06-17 Thread zyfwong at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: zyfwong at gmail dot com Target Milestone: --- === foo.c int global_var; === main.c int global_var; int main(void) { return global_var; } void _start() { main(); } === Compile === $ clang