Hi Jakub, >> FLOCK is also substituted into testsuite/libgomp-site-extra.exp.in, >> which gets included into site.exp. That one has >> >> ## Begin content included from file libgomp-site-extra.exp. Do not modify. >> ## >> set FLOCK {$(abs_top_srcdir)/testsuite/flock} >> >> So expect tries to literally execute '$(abs_top_srcdir)/testsuite/flock' >> which cannot work. > > Does the following work then? > > Using autoconf's internal _AC_SRCDIRS macro doesn't seem to be a good idea > to me, so I've copied what e.g. libobjc configure does instead.
The patch worked just fine (tested on i386-pc-solaris2.11 by rebuilding/testing libgomp from scratch). site.exp is as expected: set FLOCK {/vol/gcc/src/hg/master/local/libgomp/testsuite/flock} Thanks a lot. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University