[Linux-ha-dev] RH compiler error??

Horms horms at verge.net.au
Mon Sep 13 01:44:43 MDT 2004


On Fri, Sep 10, 2004 at 12:18:30PM +0100, David Lee wrote:
> 
> Ouch!!  I've just been attempting to build STABLE_1_2 (a simple
> "./ConfigureMe) here on a Redhat system:
> 
>    "/etc/redhat-release" -> "Fedora Core release 2 (Tettnang)"
> 
>    "gcc --version" -> "gcc (GCC) 3.5-tree-ssa 20031016 (merged 20031005)"
> 
> and got the following nasty surprise:

Sounds like you should get a version of gcc that works :)

> ============================= snip =====================
> if gcc -DHAVE_CONFIG_H -I. -I../../heartbeat -I../linux-ha -I../include -I../include -I../../include -I../linux-ha -I../../linux-ha -I../libltdl -I../../libltdl  -I/usr/include/glib-1.2 -I/usr/lib/glib/include   -I/usr/include/libxml2 -g -O2 -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror  -ggdb3 -DVAR_RUN_D='"/var/run"' -DVAR_LIB_D='"/var/lib/heartbeat"' -DHA_D='"/etc/ha.d"' -DHALIB='"/usr/lib/heartbeat"' -g -O2 -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror  -ggdb3 -MT heartbeat-config.o -MD -MP -MF ".deps/heartbeat-config.Tpo" -c -o heartbeat-config.o `test -f 'config.c' || echo '../../heartbeat/'`config.c; \
> then mv -f ".deps/heartbeat-config.Tpo" ".deps/heartbeat-config.Po"; else rm -f ".deps/heartbeat-config.Tpo"; exit 1; fi
> ../../heartbeat/config.c: In function `init_config':
> 
> ../../heartbeat/config.c:208: internal compiler error: in optimize_function_tree, at tree-optimize.c:154
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> ============================= snip =====================
> 
> Unfortunately, I'm squeezing all this in very much in background mode.
> Also, in that mode, the heartbeat stuff I really want to do is checking
> Solaris/pkg (this Redhat thing was simply a compatibility check I was
> doing off to one-side).  So, alas, I'm not going to be able to follow up
> this particular gcc compiler bug.  But I thought you might want to know,
> so that someone closer to heartbeat's core team could try to reproduce it
> and follow it up.
> 
> 
> 
> -- 
> 
> :  David Lee                                I.T. Service          :
> :  Systems Programmer                       Computer Centre       :
> :                                           University of Durham  :
> :  http://www.dur.ac.uk/t.d.lee/            South Road            :
> :                                           Durham                :
> :  Phone: +44 191 334 2752                  U.K.                  :
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

-- 
Horms


More information about the Linux-HA-Dev mailing list