Lots of warnings from gdb 7.2

Rainer Müller raimue at macports.org
Wed Apr 13 12:15:52 PDT 2011


On 2011-04-13 18:56, Richard Stanton wrote:
> Actually, /usr/bin/gdb does show the same (or very similar) behavior. It's
> the upgrade to gcc45 that causes the problem. The warnings go away (a
> suggestion from  Russell Jones) if you install gcc45 with the -k option.

Okay, so it has to be something gcc generates different here in Apple's patched 
version.

To debug this behaviour, using dwarfdump(1) on the same binary compiled with 
/usr/bin/gcc-4.2 and /opt/local/bin/gcc-mp-4.5 might be a good start.

Rainer


More information about the macports-users mailing list