[Bug ld/20062] New: Gold2.26 fail to link Uefi firmware with internal error in do_layout, but ld works

2016-05-08 Thread steven.shi at intel dot com
Severity: critical Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: steven.shi at intel dot com Target Milestone: --- Created attachment 9242 --> https://sourceware.org/bugzilla/attachment.cgi?id=9242&action=edit Uefi hello

[Bug ld/20070] New: LLVM gold plugin(LLVMgold.so) report Unexpected resolution failure on ld when LTO, but pass on gold

2016-05-10 Thread steven.shi at intel dot com
Severity: critical Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: steven.shi at intel dot com Target Milestone: --- Created attachment 9249 --> https://sourceware.org/bugzilla/attachment.cgi?id=9249&acti

[Bug gold/20062] Gold2.26 fail to link Uefi firmware with internal error in do_layout, but ld works

2016-05-11 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20062 Steven Shi changed: What|Removed |Added CC||steven.shi at intel dot com -- You are

[Bug ld/20070] LLVM gold plugin(LLVMgold.so) report Unexpected resolution failure on ld when LTO, but pass on gold

2016-05-11 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20070 --- Comment #2 from Steven Shi --- Hi H.J. Your patch works for me. Thank you! -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils

[Bug gold/20062] Gold2.26 fail to link Uefi firmware with internal error in do_layout, but ld works

2016-05-14 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20062 --- Comment #1 from Steven Shi --- Hello, How's the issue going on? Please let me know if you need other more information. Thanks! -- You are receiving this mail because: You are on the CC list for the bug. __

[Bug ld/20070] LLVM gold plugin(LLVMgold.so) report Unexpected resolution failure on ld when LTO, but pass on gold

2016-05-16 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20070 Steven Shi changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug ld/20070] LLVM gold plugin(LLVMgold.so) report Unexpected resolution failure on ld when LTO, but pass on gold

2016-05-16 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20070 --- Comment #8 from Steven Shi --- Hi H.J. Thank you for the quick fix. How can I know what different optimization used by the ld between -O0 and -O1? Is the compiler domain optimization (e.g. clang/llvm) or the linker (e.g. ld) domain optimiz

[Bug ld/20070] LLVM gold plugin(LLVMgold.so) report Unexpected resolution failure on ld when LTO, but pass on gold

2016-05-18 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20070 --- Comment #10 from Steven Shi --- LLVM guys say "LTO is linker specific, clang is only forwarding the option to the linker here." see below discussion about "How to debug if LTO generate wrong code?": http://lists.llvm.org/pipermail/cfe-dev/

[Bug gold/20062] Gold2.26 fail to link Uefi firmware with internal error in do_layout, but ld works

2016-05-18 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20062 --- Comment #2 from Steven Shi --- Hello, I'm sorry, but how's the issue going on? I really hope to try the gold linker for my LTO build. -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug gold/20062] Gold2.26 fail to link Uefi firmware with internal error in do_layout, but ld works

2017-12-11 Thread steven.shi at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20062 --- Comment #4 from Steven Shi --- Thanks. With below build option update, the Uefi GCC5 tool chain can use ld.gold build OVMF and boot on Qemu. $ git diff master diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.temp