Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --enable-debug flag to musl CI build script #49849

Merged
merged 1 commit into from
Apr 12, 2018
Merged

Add --enable-debug flag to musl CI build script #49849

merged 1 commit into from
Apr 12, 2018

Commits on Apr 10, 2018

  1. Add --enable-debug flag to musl CI build script

    Building for x86_64-unknown-linux-musl currently results in an executable lacking debug information for musl libc itself. If you request a backtrace in GDB while control flow is within musl – including sycalls made by musl – the result looks like:
    
    #0  0x0000000000434b46 in __cp_end ()
    #1  0x0000000000432dbd in __syscall_cp_c ()
    #2  0x0000000000000000 in ?? ()
    
    i.e. not very helpful. Adding --enable-debug resolves this, and --enable-optimize re-enables optimisations which default to off given the previous flag.
    alecmocatta committed Apr 10, 2018
    Configuration menu
    Copy the full SHA
    18e9532 View commit details
    Browse the repository at this point in the history