On Fri, Jul 28, 2017 at 6:12 AM, Leslie Zhai <lesliez...@llvm.org.cn> wrote: > Hi GCC developers, > > As ChangeLog-2013 mentioned by Bernd Schmidt: ... pass_ipa_lto_gimple_out > ... Remove. Delete. > > there is no 'pass_ipa_lto_gimple_out' in lto-streamer-out.c any more. > > then how to migrate it for GCC v6.x? just like this: > https://github.com/xiangzhai/dragonegg/blob/gcc-6_3-branch/src/Backend.cpp#L2880 > to ignore it? > > or do I need to find other equivalent PASS? please give me some hint, thanks > a lot!
It says // Disable all LTO passes. (for whatever reason). So try just removing this part - the pass is already removed. Richard. > > PS: Thanks for David's hint, I fixed 'undefined symbol > gt_ggc_mx(tree2WeakVH*&)' issue, I forgot to add 'for_user' for > GTY((XXX))... > > -- > Regards, > Leslie Zhai - a LLVM developer https://reviews.llvm.org/p/xiangzhai/ > > > >