Re: [dev] slock segfault on rhel7

From: Alexander Huemer <alexander.huemer_AT_xx.vu>
Date: Mon, 10 Nov 2014 14:41:42 +0100

Hi.

On Mon, Nov 10, 2014 at 03:31:26PM +0200, Johan Guldmyr wrote:
> $ gdb -q slock
> Reading symbols from /usr/local/bin/slock...(no debugging symbols
> found)...done.

There are no symbols in your binary.
Adding '-g' to CFLAGS isn't sufficient.
You have to remove '-s' from LDFLAGS.

From LD(1):

        -s
        --strip-all
            Omit all symbol information from the output file.

Kind regards,
-Alex
Received on Mon Nov 10 2014 - 14:41:42 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 10 2014 - 14:48:09 CET