Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-05 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21780#msg-21780 -static as opposed to --static results in a less static binary. --static produces: $ ldd cfengine-3.1.5/src/cf-promises

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-05 Thread Mikhail Gusarov
On 05/03/2011 04:03 PM, no-re...@cfengine.com wrote: > # required for static build and tokyocabinet > LDF="--static -L$(PREFIX)/lib" -static, not --static here, I think (with --static I am getting some weird linker errors). Still, unable to reproduce this problem under 32-bit RHE

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21752#msg-21752 Relevant parts of make file if it helps. UNAME=$(shell uname) ARCHITECTURE=$(shell uname -m) PCRE="pcre-8.10" DB="db-4.8

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:32 PM, no-re...@cfengine.com wrote: > $ pwd > /usr/local/groundwork/nwatson/src/cfengine-3.1.5/src > > $ file ./cf-promises > ./cf-promises: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), > statically linked, not stripped > > $ gdb ./cf-promises > GNU gdb Red Hat L

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21750#msg-21750 $ pwd /usr/local/groundwork/nwatson/src/cfengine-3.1.5/src $ file ./cf-promises ./cf-promises: ELF 32-bit LSB executable

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:15 PM, no-re...@cfengine.com wrote: > Symbols still seem to be missing. > > Program received signal SIGSEGV, Segmentation fault. > 0x00d20fd0 in ?? () > (gdb) back > #0 0x00d20fd0 in ?? () > #1 0x00f22f24 in ?? () > #2 0xbfffe3e4 in ?? () > #3 0xbfffe47c in ?? () > #4 0x00d1

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21747#msg-21747 Symbols still seem to be missing. Program received signal SIGSEGV, Segmentation fault. 0x00d20fd0 in ?? () (gdb) back #0

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:12 PM, no-re...@cfengine.com wrote: > I did see this during the make. > cc1: warning: -Wuninitialized is not supported without -O This warning is harmless. ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/m

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21745#msg-21745 I did see this during the make. cc1: warning: -Wuninitialized is not supported without -O ___

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 03:08 PM, no-re...@cfengine.com wrote: > I used the make option. I don't see any more output than I did before. Is > there a specific test you wish me to try? It still segfaults, good (some bugs hide if you enable the debugging symbols). Now please run it under gdb as described o

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21744#msg-21744 I used the make option. I don't see any more output than I did before. Is there a specific test you wish me to try? __

Re: Cfengine Help: Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 02:16 PM, no-re...@cfengine.com wrote: > I did not see anything on that page about how to build with debug symbols. > Did I miss it? Hm, really. I should probably update this page. It boils down to compilation with 'make CFLAGS="-O0 -g"'. _

Cfengine Help: Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21740#msg-21740 Mikhail Gusarov Wrote: --- > Could you try

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread Mikhail Gusarov
On 05/03/2011 01:47 PM, no-re...@cfengine.com wrote: > $ pwd > /usr/local/groundwork/nwatson/src/cfengine-3.1.5/tests > $ ../src/cf-promises -f ./MAIN.cf > Segmentation fault > > $ ../src/cf-promises -f ./default.cf > Segmentation fault Could you try to build with debugging symbols? See the ht

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-03 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21737#msg-21737 $ pwd /usr/local/groundwork/nwatson/src/cfengine-3.1.5/tests $ ../src/cf-promises -f ./MAIN.cf Segmentation fault $ ../

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread Mikhail Gusarov
On 05/02/2011 06:46 PM, no-re...@cfengine.com wrote: > I might have hit a bug. I had a segfault on a Linux 32 build. Anyone else? I suspect a bug in self-diagnostic code. Could you try to run a testsuite (tests/ subdirectory in source code) and see whether any tests fail? _

Re: Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread Mikhail Gusarov
On 02.05.2011 20:16, no-re...@cfengine.com wrote: > I've been using --disable-shared and LDFLAGS=`--static`. It seemed to work > OK this time using autogen instead of configure. I'm not compiling mysql > libs at the moment, if that makes a difference. Note that it is known that static linking

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21723,21729#msg-21729 I've been using --disable-shared and LDFLAGS=`--static`. It seemed to work OK this time using autogen instead of configu

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21728#msg-21728 How do you build static? I've been setting LDFLAGS='--static'. If I remove this then the build is successful although t

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: bbomgardner Link to topic: https://cfengine.com/forum/read.php?3,21723,21727#msg-21727 Mine worked ok on sles 11. Static compile with pcre-8.10, openssl-1.0.0b, and db-5.1.19. ben@ls-am-cf01:~/cfengine-3.1

Cfengine Help: Re: Cfengine 3.1.5 is released -- a bugfix release

2011-05-02 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine 3.1.5 is released -- a bugfix release Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,21723,21725#msg-21725 I might have hit a bug. I had a segfault on a Linux 32 build. Anyone else? $ cd cfengine-3.1.5/src $ gdb ./cf-promises