Description of problem: When installing nagios-1.0 and running make all, I get a segmentation fault error message. The system is up2date with all recent patches. Version-Release number of selected component (if applicable): gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) How reproducible: Every time Steps to Reproduce: 1. Download nagios-1.0 and extract 2. Create /usr/local/nagios 3. adduser nagios 4. cd <nagios-1.0-extraction-dir> 5. ./configure 6. make all Actual results: [root@tux nagios-1.0]# ./configure <----snip----> Creating sample config files in sample-config/ ... *** Configuration summary for nagios 1.0 11-24-2002 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Default (text file) Object data: Template-based (text file) Comment data: Default (text file) Downtime data: Default (text file) Retention data: Default (text file) Peformance data: Default (external commands) Extended info data: Template-based (text file) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. [root@tux nagios-1.0]# make all cd ./base && make make[1]: Entering directory `/home/software/linux-apps/nagios/nagios-1.0/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c config.c: In function `read_main_config_file': config.c:1102: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. make[1]: *** [config.o] Error 1 make[1]: Leaving directory `/home/software/linux-apps/nagios/nagios-1.0/base' make: *** [all] Error 2 Expected results: Additional info: [root@tux nagios-1.0]# uname -a Linux tux.birkbeck.org.uk 2.4.18-19.8.0 #1 Thu Dec 12 04:37:40 EST 2002 i686 athlon i386 GNU/Linux
Is it reproduceable, always same ICE on the same file/line? If yes, please attach preprocessed source (config.i; created by gcc -save-temps -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c ).
Created attachment 90138 [details] Attachment as requested Preprocessed source as requested. Yes - the error is reproducable.
Are you able to reproduce it on this file (ie. does it segfault if you run gcc -g -O2 -S config.i)? Cannot reproduce it here (tried gcc-3.2-7, gcc-3.2.1-1 and gcc-3.2.2-1).