Date: Tue, 24 Jan 1995 16:20:06 -0600 (CST) From: faulkner@mpd.tandem.com (Boyd Faulkner) To: wkk@eng.warwick.ac.uk Cc: hackers@FreeBSD.org Subject: Re: Assembler error Message-ID: <9501242220.AA13016@olympus> In-Reply-To: <11463.9501241600@eng.warwick.ac.uk> from "wkk@eng.warwick.ac.uk" at Jan 24, 95 04:00:23 pm
next in thread | previous in thread | raw e-mail | index | archive | help
Are you using the ancient FreeBSD assembler or the recommended binutils-2.5.2 compiled to cross assemble for mach. That cleared this up for me. Boyd > > 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: > > -- _______________________________________________________________________ Boyd Faulkner faulkner@isd.tandem.com _______________________________________________________________________
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9501242220.AA13016>