This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiple Simulators Link Failure on Head
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: gdb at sourceware dot org
- Date: Sun, 22 Mar 2015 17:46:05 -0500
- Subject: Re: Multiple Simulators Link Failure on Head
- Authentication-results: sourceware.org; auth=none
- References: <550C1D9D dot 6060704 at oarcorp dot com> <20150320153851 dot GG11803 at vapier> <550C6342 dot 104 at oarcorp dot com> <20150323022905 dot GA6113 at vapier>
On 3/22/2015 9:29 PM, Mike Frysinger wrote:
> 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.
> when it fails, can you attach the full build log ?
>
> what gcc version are you using ? there might be some misbehavior with the usage
> of extern inline. i think the code base expects gnu_inline semantics but just
> uses "extern inline" directly. maybe try including -fgnu89-inline in your
> CFLAGS and see if that helps ?
I am not in good position to send build logs or try the alternative CFLAGS
until another long build finishes.
But the idea of the gcc version sounds promising. I am building with a gcc
from near the head. The default version of C has changed to C11 and I
know that has caused a few odd issues with RTEMS. Maybe this has
impacted the the compilation of this method.
$ gcc --version
gcc (GCC) 5.0.0 20150211 (experimental)
I will try the suggestions as soon as I can.
> -mike
--joel