This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: libgomp bootstrap failure on i486-linux with --enable-targets=all


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



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