From owner-freebsd-hackers Tue Jan 24 08:50:50 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA01543 for hackers-outgoing; Tue, 24 Jan 1995 08:50:50 -0800 Received: from eagle.eng.warwick.ac.uk (eagle.eng.warwick.ac.uk [137.205.144.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id IAA01530 for ; Tue, 24 Jan 1995 08:50:35 -0800 From: wkk@eng.warwick.ac.uk Received: from eng.warwick.ac.uk by eagle.eng.warwick.ac.uk with SMTP id QAA03543; Tue, 24 Jan 1995 16:00:22 GMT Date: Tue, 24 Jan 95 16:00:23 GMT Message-Id: <11463.9501241600@eng.warwick.ac.uk> To: hackers@FreeBSD.org Subject: Assembler error Sender: hackers-owner@FreeBSD.org Precedence: bulk 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 .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: