Date: Fri, 25 Sep 1998 16:20:47 -0700 From: Manfred Antar <mantar@netcom.com> To: brian@worldcontrol.com, freebsd-current@FreeBSD.ORG Subject: Re: egcs port fails to compile Message-ID: <199809252320.QAA12592@pozo.pozo.com> In-Reply-To: <19980925135154.A10680@top.worldcontrol.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809252320.QAA12592>