[MacPorts] #22198: gdb barfs on gcc44 C++ binaries

MacPorts noreply at macports.org
Sat Jan 23 19:48:52 PST 2010


#22198: gdb barfs on gcc44 C++ binaries
--------------------------------------+-------------------------------------
 Reporter:  dan.colascione@…          |       Owner:  mww@…           
     Type:  defect                    |      Status:  new             
 Priority:  Normal                    |   Milestone:                  
Component:  ports                     |     Version:  1.8.1           
 Keywords:                            |        Port:  gcc44           
--------------------------------------+-------------------------------------
Description changed by ryandesign@…:

Old description:

> Debugging a simple hello world program makes gdb barf.
>
> Consider int main(){}
>
> g++-mp-4.4 foo.cpp -g
> gdb ./a.out
> run
>
> gdb produces hundreds of lines of warnings, all of which complain about
> missing libgcc and libstdc++ debug info.
>
> warning: Could not find object file
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/x86_64
> -apple-darwin10/libgcc/unwind-c_s.o" - no debug information available for
> "../../../gcc-4.4.2/libgcc/../gcc/unwind-c.c".

New description:

 Debugging a simple hello world program makes gdb barf.

 Consider int main(){}

 {{{
 g++-mp-4.4 foo.cpp -g
 gdb ./a.out
 run
 }}}

 gdb produces hundreds of lines of warnings, all of which complain about
 missing libgcc and libstdc++ debug info.

 {{{
 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/x86_64
 -apple-darwin10/libgcc/unwind-c_s.o" - no debug information available for
 "../../../gcc-4.4.2/libgcc/../gcc/unwind-c.c".
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/22198#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list