This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libcilkrts/runtime/config/generic/cilk-abi-vla.c failure (was: [PATCH, committed] libcilkrts - Add check for availability of alloca.h (Bug Bootstrap/58918))
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: "Iyer, Balaji V" <balaji dot v dot iyer at intel dot com>
- Cc: Jeff Law <law at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 31 Oct 2013 02:38:51 +0100 (CET)
- Subject: libcilkrts/runtime/config/generic/cilk-abi-vla.c failure (was: [PATCH, committed] libcilkrts - Add check for availability of alloca.h (Bug Bootstrap/58918))
- Authentication-results: sourceware.org; auth=none
- References: <BF230D13CA30DD48930C31D4099330003A495418 at FMSMSX101 dot amr dot corp dot intel dot com>
On Wed, 30 Oct 2013, Iyer, Balaji V wrote:
> This attached patch will check for usage of alloca.h before using it.
> The change is entirely in libcilkrts and I am committing this change as
> it is pretty obvious (the change was lifted from the autconf manual
> example).
Thanks, Balaji!
Now my FreeBSD tester no longer shows this failure, but this:
/scratch2/tmp/gerald/gcc-HEAD/libcilkrts/runtime/config/generic/cilk-abi-vla.c:
In function \xe2\x80\x98__cilkrts_stack_free\xe2\x80\x99:
/scratch2/tmp/gerald/gcc-HEAD/libcilkrts/runtime/config/generic/cilk-abi-vla.c:1
06:28: error: \xe2\x80\x98t\xe2\x80\x99 undeclared (first use in this function)
vla_internal_heap_free(t, full_size);
^
Looking at the source coude, indeed t is not declared anywhere that
I can see.
So, two issues:
- Why is it using the /generic subdirectory and not /x86 on
i386-unknown-freebsd10.0?
- What doesn't libcilkrts/runtime/config/generic/cilk-abi-vla.c compile?
Gerald