This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libgomp bootstrap failure on i486-linux with --enable-targets=all
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Matthias Klose <doko at cs dot tu-berlin dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Jakub Jelinek <jakub at redhat dot com>, Janis Johnson <janis187 at us dot ibm dot com>, Richard Henderson <rth at redhat dot com>
- Date: Wed, 03 Jan 2007 21:18:53 +0100
- Subject: Re: libgomp bootstrap failure on i486-linux with --enable-targets=all
- References: <17790.48304.928067.459797@gargle.gargle.HOWL> <20061212143857.GE29911@devserv.devel.redhat.com> <17790.60299.378593.838548@gargle.gargle.HOWL> <17797.19338.695659.120533@gargle.gargle.HOWL> <20061218185423.GA5036@us.ibm.com> <17818.51462.391492.235032@gargle.gargle.HOWL>
Matthias Klose wrote:
# Similar jiggery-pokery for x86_64 multilibs, except here we
Index: libgomp/testsuite/lib/libgomp-dg.exp
===================================================================
--- libgomp/testsuite/lib/libgomp-dg.exp (revision 119778)
+++ libgomp/testsuite/lib/libgomp-dg.exp (working copy)
@@ -130,7 +131,7 @@
}
# We use atomic operations in the testcases to validate results.
- if [istarget i?86-*-*] {
+ if { [istarget i?86-*-*] && [is-effective-target ilp32] } {
lappend ALWAYS_CFLAGS "additional_flags=-march=i486"
}
if [istarget sparc*-*-*] {
Running
/Volumes/development/devel/gcc/head/gcc/libgomp/testsuite/libgomp.c/c.exp
...
ERROR: tcl error sourcing
/Volumes/development/devel/gcc/head/gcc/libgomp/testsuite/libgomp.c/c.exp.
ERROR: can't read "et_cache(ilp32,value)": no such element in array
If I move the libgomp_init call from the lib/libgomp-dg.exp to each
language .exp I'm happy again.
I tried on i686-apple-darwin, linux-ppc, sparc-solaris and darwin-pcc.
To simulate on a non i?86 target I modified the above line to match
powerpc iso i?86. I then see the exact same error as above.
Andreas
Expect version is 5.43.0
Tcl version is 8.4
Framework version is 1.4.4