This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] MIPS/BFD: For n64 hold the number of internal relocs in `->reloc_count'

This change breaks testing glibc for MIPS n64.  Specifically, linking the 
stdlib/test-canon2 test fails with "collect2: fatal error: ld terminated 
with signal 11 [Segmentation fault], core dumped", when using this 
binutils commit, but all tests link OK when using the previous binutils 

This is testing with GCC mainline, and glibc mainline with Zack's patch 
<> for 
subsequent build breakage applied, but it's quite likely it would appear 
with other GCC versions when using mainline binutils.  It first showed up 
with my glibc bot 

Linking that test produces (expected) warnings as well as the segfault; I 
don't know if the presence of such warnings has anything to do with why 
this particular test causes a linker segfault.

/scratch/jmyers/glibc/many8/build/glibcs/mips64-linux-gnu-n64/glibc/stdlib/test-canon2.o: In function `do_prepare':
/scratch/jmyers/glibc/many8/build/glibcs/mips64-linux-gnu-n64/glibc-src/stdlib/test-canon2.c:51: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]