Hi Lee,
Several RH 7.0 users reported that GCC in that RH distribution
produces broken code with level 2 or 3 optimization. Please try
decreasing optimization level to 1:
# make distclean
# env CXXFLAGS="-O1 -Wall -g" ./configure --prefix=/usr/local/poly
# make; make install
If the problem persists, please send a stack trace to
polygraph-bugs@ircache.net:
# gdb bin/polysrv core
(gdb) where
Please report all bugs to polygraph-bugs.
Thank you,
Alex.
P.S. You can use --cfg_dirs option to help Polygraph find include
files (instead of editing #include paths).
On Fri, 23 Feb 2001, Lee, Myoung Ho wrote:
> Hi.
>
> I patched and compiled poly-2.5.4 in redhat 7.0.
>
> but polysrv occurred seg. fault.
>
> I tried following
>
> polysrc # patch -s < patch-file
> polysrc # ./configure --prefix=/usr/local/poly
> polysrc # make; make install
> polysrc # cd /usr/local/poly
> poly # cp -rf .../polysrc/workload .
> poly # vi workloads/polymix-2.pg
> ......
> #include "/usr/local/poly/workloads/include/contents.pg"
> #include "/usr/local/poly/workloads/include/phases.pg"
> #include "/usr/local/poly/workloads/include/pipes.pg"
> ---> edited this because "can't open contents.pg" error.
> .....
> addr[] srv_ips = ['172.31.200.1-250:80', '172.31.201.1-250:80' ,'172.31.202.1-5:80'];
> addr[] rbt_ips = ['172.31.120.1-125'];
> .... -> 50 req/sec
>
> poly # ./bin/polysrv --config workloads/polymix-2.pg --verb_lvl 5
> segmentation fault(core dumped)
>
> thanks for any help
>
> Lee.
>
>
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:17 MDT