Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2001 11:27:17 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        current@freebsd.org
Subject:   as segfaulting during world-build
Message-ID:  <200102201627.f1KGRLa20988@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
No, I don't think it is hardware. It died on the same spot for the
third time in a row:

tail -15 /var/tmp/w.log*
==> /var/tmp/w.log <==
cd /opt/src/lib/csu/i386-elf; make _EXTRADEPEND
cc -O -pipe -march=i686  -elf -Wall -fkeep-inline-functions  -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include -c /opt/src/lib/csu/i386-elf/crt1.c -o crt1.o
cc -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include  -c /opt/src/lib/csu/i386-elf/crti.S -o crti.o
cc -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include  -c /opt/src/lib/csu/i386-elf/crtn.S -o crtn.o
cc: Internal compiler error: program as got fatal signal 11
*** Error code 1
cc: Internal compiler error: program as got fatal signal 11
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

==> /var/tmp/w.log.11 <==
cd /opt/src/lib/csu/i386-elf; make _EXTRADEPEND
cc -O -pipe -march=i686  -elf -Wall -fkeep-inline-functions  -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include -c /opt/src/lib/csu/i386-elf/crt1.c -o crt1.o
cc -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include  -c /opt/src/lib/csu/i386-elf/crti.S -o crti.o
cc -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include  -c /opt/src/lib/csu/i386-elf/crtn.S -o crtn.o
cc: Internal compiler error: program as got fatal signal 11
cc: Internal compiler error: program as got fatal signal 11
*** Error code 1
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

==> /var/tmp/w.log.11-2 <==
cd /opt/src/lib/csu/i386-elf; make _EXTRADEPEND
cc -O -pipe -march=i686  -elf -Wall -fkeep-inline-functions  -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include -c /opt/src/lib/csu/i386-elf/crt1.c -o crt1.o
cc -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include  -c /opt/src/lib/csu/i386-elf/crti.S -o crti.o
cc -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include  -c /opt/src/lib/csu/i386-elf/crtn.S -o crtn.o
cc: Internal compiler error: program as got fatal signal 11
cc: Internal compiler error: program as got fatal signal 11
*** Error code 1
*** Error code 1
2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

This is my regular home machine, it usually runs SETI@Home, when I'm not
here and is a NON-overclocked dual Pentium-II 300MHz. It has 320Mb of RAM
and 390Mb of swap:
Device          1K-blocks     Used    Avail Capacity  Type
/dev/rda0b         393088       36   393052     0%    Interleaved

I tried building the elf/as manually, and it chokes on this file just the same.
Here are my attempts to issue the same commands make and cc issue:
# /usr/libexec/cpp0 -lang-asm -v -I/opt/src/lib/csu/i386-elf/../common -I/usr/obj/opt/src/i386/usr/include -$ -Di386 -Dunix -D__FreeBSD__=5 -D__FreeBSD_cc_version=500002 -D__i386__ -D__unix__ -D__FreeBSD__=5 -D__FreeBSD_cc_version=500002 -D__i386 -D__unix '-Acpu(i386)' '-Amachine(i386)' '-Asystem(unix)' '-Asystem(FreeBSD)' -D__ASSEMBLER__ '-Acpu(i386)' '-Amachine(i386)' -Di386 -D__i386 -D__i386__ -D__ELF__ /opt/src/lib/csu/i386-elf/crtn.S crtn.s
# wc -l crtn.s
      33 crtn.s
# /usr/libexec/elf/as -v -o crtn.o crtn.s
GNU assembler version 2.10.1 (i386-unknown-freebsdelf5.0) using BFD version 2.10.1
Segmentation fault - core dumped

The crtn.s is rather simple:

	----------------------
# 1 "/opt/src/lib/csu/i386-elf/crtn.S"
 
[.... empty lines ....]

	.section .init,"ax",@progbits
	ret

	.section .fini,"ax",@progbits
	ret
	----------------------

Yours,

	-mi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102201627.f1KGRLa20988>