This is the mail archive of the mailing list for the libc-ports 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] Improved memset for MIPS

On Fri, 2013-09-06 at 16:09 +0000, Joseph S. Myers wrote:

> > No.  I did most of my testing outside of the glibc testsuite because I
> > find the glibc testsuite difficult to run, see
> > for some of my
> > problems/questions.  I don't believe I have ever managed to do a clean
> You'll need to debug the problems as they indicate something wrong with 
> your build environment.  It's always advised to configure glibc with 
> --prefix=/usr rather than some other prefix (but there is no requirement 
> that the dynamic linker actually be installed during testing, you can 
> ignore the -dynamic-linker= path), and your other error indicates some 
> inconsistency regarding NO_CTORS_DTORS_SECTIONS.

I have found that --prefix=/usr is more of a problem then a help when
building general cross compiler toolchains.  Using a prefix of /usr
triggers various special case code in
ports/sysdeps/unix/sysv/linux/mips/configure to put things in lib32 and
lib64 and I don't actually want any of that so I use a prefix
of /usr/fake instead of /usr.

The "undefined reference to `__libc_global_ctors'" has just shown up
again in a parallel build, but it seems to go away when I rebuild.  I am
still trying to understand what is going on with this.

> The expectation is that the glibc testsuite is the normal way to test 
> patches before submission, and string function patches like this need it 
> to be run for all six relevant ABI variants.

I think some flexibility here would be better.  There is no floating
point code in this routine so running all three ABI's in both hard and
soft float modes seems like overkill to me.  Testing in big and little
endian modes would seem more likely to turn up problems then testing in
hard and soft float.

Steve Ellcey

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