https://sourceware.org/bugzilla/show_bug.cgi?id=22721
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Rainer Orth from comment #4) > > --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- > [...] > >> The static tests fail because there are no libc.a and libm.a on Solaris, > >> so full-static linking just isn't possible. Testing static linking when > >> the platform doesn't support it is a testsuite bug. > > > > Please open a bug report. > > Done: PR ld/22732. I will take a look. > >> All other failures follow the same pattern: > >> > >> regexp_diff match failure > >> regexp "^ +[a-f0-9]+: 8b 80 ([0-9a-f]{2} ){4}[ ]+mov > >> +-0x[a-f0-9]+\(%eax\),%eax$" > >> line " 52a: 8b 80 10 00 00 00 mov 0x10(%eax),%eax" > >> regexp_diff match failure > >> regexp "^ +[a-f0-9]+: ff a0 ([0-9a-f]{2} ){4}[ ]+jmp > >> +\*-0x[0-9a-f]+\(%eax\)$" > >> line " 54a: ff a0 10 00 00 00 jmp *0x10(%eax)" > >> FAIL: Build libno-plt-1b.so > >> > >> where i686-pc-linux-gnu has > >> > >> 48a: 8b 80 f8 ff ff ff mov -0x8(%eax),%eax > >> > >> 4aa: ff a0 f8 ff ff ff jmp *-0x8(%eax) > >> > >> Maybe an -fno-omit-frame-pointer thing? > > > > Can you add -fomit-frame-pointer to i386.exp to see if it works? > > I set CFLAGS to '-g -O2 -fomit-frame-pointer' in site.exp instead: > doesn't make a difference for test results. > This is due to different PLT/GOT layout on Solaris. I can xfail it on Solaris. Please try the current master branch again. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils