OSX tool build warnings->errors with gdb
Andrei Chichak
groups at chichak.ca
Mon Jun 15 04:41:16 UTC 2009
Hi all,
I got DarwinPorts and wget installed, ran Alan Cudmore's script and
everything was going very well until the build blew up trying to build
gdb.
There seems to be an issue with the DEF_VEC_P macro in vec.h when
compiling m68k-tdep.c. Checking the 'net it looks like it has been
seen before with gdb 6.8 for various architectures.
I get the messages:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_last’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_index’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_space’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_quick_push’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_pop’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_truncate’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_replace’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_quick_insert’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_ordered_remove’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_unordered_remove’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_block_remove’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h: In function
‘VEC_breakpoint_p_safe_grow’:
/Users/andreichichak/Projects/gdb-6.8/gdb/breakpoint.h:456: warning:
format not a string literal, argument types not checked
which wouldn't be much of a problem, but the compile is set up with -
Werror so these warnings, and others, are now errors.
I suspect that someone has dealt with this before.
Anybody?
Thanks,
Andrei
On 2009-June-11, at 3:03 PM, Alan Cudmore wrote:
> I'm still refining this script, but it I have it working on OS X,
> Linux, and Cygwin so far.
>
>> Hello all,
>>
>> We go sick and tired of being sick and tired and bought a bunch of
>> Macs (perfectly good UNIX boxen).
>>
>> I am in need of scripts to build the tools and compilers for m68k
>> hosted on a Mac.
>>
>> I could run the whole thing on a virtual XP box, but I'd rather eat
>> worms^H^H^H^H^H^H^H^H^H just have it work.
>>
>> Thanks
>> Andrei
---------------------
Andrei Chichak
Systems Developer
CBF Systems Inc.
4-038 NINT Innovation Centre
11421 Saskatchewan Drive
Edmonton, Alberta
T6G 2M9
Phone: 780-628-2072
Skype: andrei.chichak
More information about the users
mailing list