5.2 RC2: Semi-deterministic gcc segfault during buildworld
Hello, I had just installed a fresh 5.2 RC2 system and cvsup:ed the latest source (only 5-10 files changed; nothing related to this problem as far as I could see). I wanted to add Coda client support. so I created a GENERIC derivative configuration with Coda support added. I proceeded to compile as usual: make cleandir make cleandir make buildkernel KERNCONF=WHITESTAR However every time I do this I encounter the exact same problem: /usr/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_handle_scsiint': /usr/src/sys/dev/aic7xxx/aic79xx.c:1719: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Except for once when I got this instead: /usr/src/sys/pci/if_dc.c: In function `dc_init': /usr/src/sys/pci/if_dc.c:3593: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 I've been running some memtests on the machine and so far no problems have been reported. Besides I would expect memory related problems to be much more random than the above. The same hardware (minus a new disk) has been running FreeBSD 4.x without problems for quite a while before this. I tried booting back into 4.9-RELEASE to recompile the kernel - it completed successfully. I have also tried some rudimentary write/read/md5sum tests on the disk used for 5.2 to try to determine if there are random read errors on the drive (which has happened to me before on one disk). Has anyone seen this? Could it be a hardware problem in spite of the above? -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2 RC2: Semi-deterministic gcc segfault during buildworld
On Thu, Jan 01, 2004 at 02:55:23AM +0100, Peter Schuller wrote: Hello, I had just installed a fresh 5.2 RC2 system and cvsup:ed the latest source (only 5-10 files changed; nothing related to this problem as far as I could see). I wanted to add Coda client support. so I created a GENERIC derivative configuration with Coda support added. I proceeded to compile as usual: make cleandir make cleandir make buildkernel KERNCONF=WHITESTAR However every time I do this I encounter the exact same problem: /usr/src/sys/dev/aic7xxx/aic79xx.c: In function `ahd_handle_scsiint': /usr/src/sys/dev/aic7xxx/aic79xx.c:1719: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 I had this exact problem. It was due to optimisation flag -O3 in my CFLAGS in make.conf (the handbook says to not use too much optimisation). I had no problems after I removed it. hth Gautam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2 RC2: Semi-deterministic gcc segfault during buildworld
I had this exact problem. It was due to optimisation flag -O3 in my CFLAGS in make.conf (the handbook says to not use too much optimisation). I had no problems after I removed it. Thanks a lot for responding! Unfortunately this does not seem to be the cause in this case. /etc/make.conf does not contain any modifications to gcc optimization parameters, and indeed gcc is invoked with only '-O' when compiling. It's more or less a fresh install; I haven't touched make.conf. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrieval: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]