From owner-freebsd-current Fri Sep 25 16:21:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA04380 for freebsd-current-outgoing; Fri, 25 Sep 1998 16:21:07 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pozo.pozo.com (pozo.pozo.com [207.201.8.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA04375 for ; Fri, 25 Sep 1998 16:21:04 -0700 (PDT) (envelope-from mantar@netcom.com) Received: from dual (DUAL [192.168.0.2]) by pozo.pozo.com (8.9.1/8.9.1) with SMTP id QAA12592; Fri, 25 Sep 1998 16:20:48 -0700 (PDT) (envelope-from mantar@netcom.com) Message-Id: <199809252320.QAA12592@pozo.pozo.com> X-Sender: null@192.168.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1.0.63 (Beta) Date: Fri, 25 Sep 1998 16:20:47 -0700 To: brian@worldcontrol.com, freebsd-current@FreeBSD.ORG From: Manfred Antar Subject: Re: egcs port fails to compile In-Reply-To: <19980925135154.A10680@top.worldcontrol.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 01:51 PM 9/25/98 -0700, brian@worldcontrol.com wrote: > ./xgcc -B./ -O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2 >-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I./config -c -DL${name} \ > ./libgcc2.c -o ${name}.o; \ > if [ $? -eq 0 ] ; then true; else exit 1; fi; \ > ` if [ -f /uss/ports/lang/egcs/work/egcs-1.1b/gcc/../binutils/ar ] ; then >echo /uss/ports/lang/egcs/work/egcs-1.1b/gcc/../binutils/ar ; else if [ >"i386-unknown-freebsd" = "i386-unknown-freebsd" ] ; then echo ar; else >t='s,x,x,'; echo ar | sed -e $t ; fi; fi` rc tmplibgcc2.a ${name}.o; \ > rm -f ${name}.o; \ >done >_muldi3 >... >_floatdidf >/var/tmp/ccVF1so1.s: Assembler messages: >/var/tmp/ccVF1so1.s:127: Error: Alignment not a power of 2 >gmake[2]: *** [libgcc2.a] Error 1 > >I'm running a -current elf system. I've seen this error a couple >of time. They seem related to an ALIGN(3) assembler directive, >which I presume means the syntax of that directive has changed. > >How do I fix? New gas? > Change this line in /usr/ports/lang/egcs/Makefile from GNUHOST= i386-unknown-freebsd to GNUHOST= i386-unknown-freebsdelf You will have to start a new build. Remove the work directory then type make That worked for me Manfred ============================== || mantar@netcom.com || || pozo@infinex.com || || Ph. (415) 681-6235 || ============================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message