Opened 7 years ago

Last modified 7 years ago

#22198 new defect

gdb barfs on gcc44 C++ binaries

Reported by: dan.colascione@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: f.baart@…
Port: gcc44

Description (last modified by ryandesign (Ryan Schmidt))

Debugging a simple hello world program makes gdb barf.

Consider int main(){}

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

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 (3)

comment:1 Changed 7 years ago by tobypeterson

  • Description modified (diff)
  • Owner changed from macports-tickets@… to mww@…
  • Port gcc44 added

comment:2 Changed 7 years ago by f.baart@…

  • Cc f.baart@… added

Cc Me!

comment:3 Changed 7 years ago by ryandesign (Ryan Schmidt)

  • Description modified (diff)
Note: See TracTickets for help on using tickets.