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
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
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
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
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
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
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
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
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
___
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
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?
__
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"'.
_
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
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
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
$ ../
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?
_
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
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
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
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
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
21 matches
Mail list logo