This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB 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: GNU gdb (GDB) 7.8.50.20141016-cvs s390x-ibm-linux-gnu GIT commit: 459609d6f8f65d4b4440385499b84cc8c1804f65


On Thu, Oct 16 2014, Pedro Alves wrote:

> On 10/16/2014 03:58 AM, Andreas Krebbel wrote:
>> Test Run By dailybuild on Thu Oct 16 04:50:52 2014
>> Native configuration is s390x-ibm-linux-gnu
>> 
>> 		=== gdb tests ===
>> 
>> [...]
>> gdb compile failed, /gdb/testsuite/gdb.base/run.c: In function 'main':
>> /gdb/testsuite/gdb.base/run.c:28:18: warning: implicit declaration of function 'factorial' [-Wimplicit-function-declaration]
>>   printf ("%d\n", factorial (atoi (argv[1])));
>>                   ^
>> gdb compile failed, /gdb/testsuite/gdb.base/advance.c: In function 'func':
>> /gdb/testsuite/gdb.base/advance.c:19:3: warning: implicit declaration of function 'func2' [-Wimplicit-function-declaration]
>>    func2 ();
>>    ^
>
> This sounds like fallout from gcc trunk's switch to gnu11 by default.

Exactly.

> I'm assuming that if we got as far as testing, then GDB itself
> built with that, which is the good part.  :-)

Right, and even testing didn't go too bad either.  The test suite always
barks "gdb compile failed" whenever gcc yields any unwanted output, but
then it continues anyhow.

I guess I'll provide a patch for fixing the GCC warnings in the GDB test
cases.  Another option might be to suppress them (like with -std=gnu89),
but I'd rather clean the mess than hide it.


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