This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix struct-layout-1.exp
Hi,
I have this in my local tree:
H.J.
---
2008-06-05 H.J. Lu <hongjiu.lu@intel.com>
PR testsuite/36443
* Makefile.in (site.exp): Don't set GCC_EXEC_PREFIX.
Don't set GCC_EXEC_PREFIX before calling $(RUNTEST).
Index: Makefile.in
===================================================================
--- Makefile.in (revision 2944)
+++ Makefile.in (working copy)
@@ -4270,7 +4270,6 @@ site.exp: ./config.status Makefile
@echo "set HOSTCFLAGS \"$(CFLAGS)\"" >> ./tmp0
@echo "set TESTING_IN_BUILD_TREE 1" >> ./tmp0
@echo "set HAVE_LIBSTDCXX_V3 1" >> ./tmp0
- @echo "set GCC_EXEC_PREFIX \"$(libdir)/gcc/\"" >> ./tmp0
# If newlib has been configured, we need to pass -B to gcc so it can find
# newlib's crt0.o if it exists. This will cause a "path prefix not used"
# message if it doesn't, but the testsuite is supposed to ignore the message -
@@ -4352,7 +4351,6 @@ $(lang_checks): check-% : site.exp
if [ -f $${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
export TCL_LIBRARY ; fi ; \
- GCC_EXEC_PREFIX="$(libdir)/gcc/" ; export GCC_EXEC_PREFIX ; \
$(RUNTEST) --tool $* $(RUNTESTFLAGS))
check-consistency: testsuite/site.exp
@@ -4363,7 +4361,6 @@ check-consistency: testsuite/site.exp
if [ -f $${rootme}/../expect/expect ] ; then \
TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
export TCL_LIBRARY ; fi ; \
- GCC_EXEC_PREFIX="$(libdir)/gcc/" ; export GCC_EXEC_PREFIX ; \
$(RUNTEST) --tool consistency $(RUNTESTFLAGS)
# QMTest targets
On Fri, Jun 6, 2008 at 1:58 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Fri, Jun 06, 2008 at 01:48:15PM -0700, H.J. Lu wrote:
>> This is
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36443
>
> Note that I'm seeing it in bootstrapped native gcc builds too.
> ../configure --enable-languages=c,c++,fortran,java,objc,obj-c++
> make -j16
> make -j16 -k check
> $HOSTCC is still gcc...
>
> Jakub
>
--
H.J.