This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: make check build failure (tst-printf-bz18872)


On Thu, 2015-10-08 at 14:06 -0700, Roland McGrath wrote:
> Was that a cross-compiling case?  The only thing I see funny is that the
> $(objpfx)tst-printf-bz18872.c target is inside ifeq ($(run-built-tests),yes),
> which it should not be.  What happens if you move that target outside the
> conditional?

No, this is not a cross-compile.  I built MIPS glibc on a MIPS system
using the native GCC compiler.

If I move:

# We generate this source because it requires a printf invocation with
# 10K arguments.
$(objpfx)tst-printf-bz18872.c: tst-printf-bz18872.sh
        rm -f $@ && $(BASH) $^ > $@.new && mv $@.new $@

Outside of the ifdef then it does seems to work (better).  I do get:

/home/sellcey/gcc/glibc_benchmark/obj-mips64-linux-gnu/glibc/obj_default/stdio-common/tst-printf-bz18872.c:2018:9:error: #pragma GCC target is not supported for this machine [-Werror=pragmas]
 #pragma GCC pop_options
         ^

Which I think I saw as an issue on ARM too?

Steve Ellcey
sellcey@imgtec.com


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