https://sourceware.org/bugzilla/show_bug.cgi?id=25640
--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Martin Liška from comment #9) > (In reply to H.J. Lu from comment #8) > > (In reply to Martin Liška from comment #7) > > > (In reply to H.J. Lu from comment #4) > > > > Created attachment 12355 [details] > > > > Pass -flto-partition=none to GCC > > > > > > The patch does not work, very likely due to: > > > > > > lto-wrapper.c:608: > > > > > > 604 /* Drop arguments that we want to take from the link > > > line. > > > */ > > > 605 case OPT_flto_: > > > 606 case OPT_flto: > > > 607 case OPT_flto_partition_: > > > 608 continue; > > > > But it works on your testcase. > > Are you sure? I tried that by adding the patch to package and also locally > and it didn't work. > Can you please paste output of: > strace -f -s512 nm -B x.o 2>&1 | grep execv I was wrong. I was using different GCC. -- You are receiving this mail because: You are on the CC list for the bug.