Opened 15 years ago

Last modified 8 years ago

#22198 assigned defect

gdb barfs on gcc44 C++ binaries

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

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

comment:2 Changed 15 years ago by SiggyF

Cc: f.baart@… added

Cc Me!

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

Description: modified (diff)

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned
Note: See TracTickets for help on using tickets.