Date: Tue, 24 Jan 95 16:00:23 GMT From: wkk@eng.warwick.ac.uk To: hackers@FreeBSD.org Subject: Assembler error Message-ID: <11463.9501241600@eng.warwick.ac.uk>
next in thread | raw e-mail | index | archive | help
Hello, I am trying to compile mach4 server on FreeBSD. Theoretically it should compile but I get the following error in file that has some assembler code. I am not an assembler expert but looking at the error it look likes the assembler is getting confused with the text and data segment (I think). Can anyone help? Thanks very much. khondkar. ************************************************************************ error ************************************************************************ gcc -c -MD -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1 -Di386 -DMACH -DCMU -I- -I. -I../../mach4-i386/boot -I../../mach4-i386/include -I../../mach4/include -nostdinc -DASSEMBLER -MD ../../mach4-i386/boot/bmod_head.S assertion "seg == SEG_DATA || seg == SEG_TEXT" failed: file "/usr/src/gnu/usr.bin/as/subsegs.c", line 174 gcc: Internal compiler error: program as got fatal signal 6 gmake[1]: *** [bmod_head.o] Error 1 gmake[1]: Leaving directory `/usr/src/local/mach4-obj/boot' gmake: *** [install_subdirs] Error 1 ************************************************************************ assembler file while it gets bombed out ************************************************************************ #include <mach/boot.h> .globl _mach_bmod_text,_mach_bmod_data,_mach_bmod_bss .text .align 4 _mach_bmod_text: .data .align 4 _mach_bmod_data: .long BMOD_MAGIC .long _mach_bmod_init .long _mach_bmod_text .long _mach_bmod_etext .long _mach_bmod_data .long _mach_bmod_edata .long _mach_bmod_bss .long _mach_bmod_ebss .bss .align 4 _mach_bmod_bss:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?11463.9501241600>