[MacPorts] #22198: gdb barfs on gcc44 C++ binaries
MacPorts
noreply at macports.org
Thu Oct 22 02:55:47 PDT 2009
#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
--------------------------------------+-------------------------------------
Changes (by toby@…):
* owner: macports-tickets@… => mww@…
* port: => gcc44
Old description:
> Debug a trivial 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:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list