Re: Multiple Simulators Link Failure on Head

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <20150320201524.GP11803@vapier>
On 20 Mar 2015 13:13, Joel Sherrill wrote:
> This looks to be an issue with the "make -j8".
> I did it again with "-j8" and it failed. I did a simple "make clean all"
> in that directory and it failed again.
> 
> I then changed my script to drop the -j8 and it built ok again.
> 
> My suspicion is something in the dependencies isn't 100% right
> and there is a race condition. sim/common/cconfig.h is the same
> in a tree built with -j1 vs -j8.

a high level note: it's not possible to race between common/ and other subdirs.  
the configure script explicitly runs configure for all subdirs first, and that 
is how config.h/cconfig.h get generated.  the common/ subdir otherwise does not 
produce any objects.
-mike
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVDH/cAAoJEEFjO5/oN/WBOOsQALyY8wASEpYtFHgG+05/3xDb
xG0HCpX/C18gh0C1uKdD7/w6YLXnWt600Rx5F3Y1gdztOFgrVDtWe7teJ6OsQlQ+
H7JRuQCEjBOXvgOGZZ/O72Z5pgvbwjuxBzVlGNEm7slgn3GqlPMFY6nNJEfPELT7
eHMtsc6E4ajoPmT4oKZhMal4KjRCRmpGUht7QVgJf6rXKFh8qFiHGawU3sndq0Js
82aG/tMO80aEA56OGgCgLxhKKD/KGZfxF5d4WR/leRJ5K0naUmqF94ggMBEBQsgg
1NSEA+GL25tN8olwzYnrGp/ZWdMoC47H3bZ8e2p2NFo2l5hHoP0igWTnB5lcKHZ8
djhx4X3MHVKv1vx2qyHijAVY0cu2nFG9DRevfPp86oiLz9rpHBeyrE70xoAWE24k
RQ3MVoWAs+xCuYj7Pd7RNmizlphX5WE7A22/aiZSrQ8+gSV18Nr+Cc+XIoSYKr5/
ZnCkGZ25xsXYVHmgFtdVdD2GyLaJ2YZ9M6VfMRCF4IyAd9B1vYm9aRiuzAFfkZ9N
QhqBKzGdd+gSOVL9gjfWotnWT1uyo5njvsUOIRT2xI+DkmVxjMwyYMj9Rlmnf8bT
33SspruqutAe7IGdHc6t86BdI+LiJQwiHknwsFKOq39GBSDo157gDyXRjWxaWsCI
O7xccHoxO1v5n8uz9NsX
=9K7c
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.