Opened 15 years ago

Last modified 7 years ago

#22198 assigned defect

gdb barfs on gcc44 C++ binaries — at Initial Version

Reported by: dan.colascione@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gcc44

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".

Change History (0)

Note: See TracTickets for help on using tickets.