This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: make check build failure (tst-printf-bz18872)
- From: Steve Ellcey <sellcey at imgtec dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 8 Oct 2015 14:22:16 -0700
- Subject: Re: make check build failure (tst-printf-bz18872)
- Authentication-results: sourceware.org; auth=none
- References: <1444338226 dot 8687 dot 307 dot camel at ubuntu-sellcey> <20151008210634 dot 4BA352C3ABF at topped-with-meat dot com>
- Reply-to: <sellcey at imgtec dot com>
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