Menu

#580 Please don't strip binaries in default build from source

None
closed-rejected
nobody
None
4
2022-11-15
2018-08-07
David Gould
No

Currently the Makefile is setup to strip all the binearies after the compiler and auxillary programs are built. Please change this to separate out a "make strip" or "make debuginfo" step. I'm trying to debug a segfault in the tools and not having symbols makes the core file useless.

Discussion

  • Philipp Klaus Krause

    For me debugging (using gdb) works on the sdcc built by "make" (i.e. the one in sdcc/bin/sdcc), but not on the one from "make install"; so far this was fine for me: When debugging SDCC, I use the one that was built, but not installed.

    Philipp

     
  • Benedikt Freisen

    • status: open --> closed-rejected
    • Group: -->
     
  • Benedikt Freisen

    As mentioned above, the binaries are stripped in the installation process, not the build process, and the binaries with symbol information are therefore still there for debugging.

     

Log in to post a comment.

MongoDB Logo MongoDB