Date: Wed, 19 Feb 2003 10:27:43 -0800 From: "L. S. Colby" <ls.colby@verizon.net> To: eischen@vigrid.com Cc: ports@FreeBSD.org Subject: FreeBSD Port: gnat-3.15p - install fails on gcc 2.8.1 on freebsd 5.0-release Message-ID: <3E53CC9F.9080803@verizon.net>
next in thread | raw e-mail | index | archive | help
Freebsd 5.0-release with compat 4 and 4.3 options in kernel. Install of 20030218 compat4 4.7 was successful. Colby error mesage at end is: ld: unrecognised emulation mode: elf_i386 Supported emulations: elf_i386_fbsd gmake[1]: *** [enquire] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/gcc28/work/gcc-2.8.1' gmake: *** [bootstrap] Error 2 *** Error code 2 portinstall context is: Building fixed headers in include Checking /usr/include/math.h Fixed math.h rm -f include/syslimits.h if [ -f include/limits.h ]; then \ mv include/limits.h include/syslimits.h; \ else \ cp ./gsyslimits.h include/syslimits.h; \ fi chmod a+r include/syslimits.h touch stmp-fixinc for file in .. ./cp/inc/typeinfo ./cp/inc/exception ./cp/inc/new ./cp/inc/new.h ; do \ if [ X$file != X.. ]; then \ realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \ touch include/$realfile; \ rm -f include/$realfile; \ cp $file include; \ chmod a+r include/$realfile; \ fi; \ done rm -f include/limits.h cp xlimits.h include/limits.h chmod a+r include/limits.h rm -f include/README cp ./README-fixinc include/README chmod a+r include/README touch stmp-int-hdrs rm -f include/float.h if [ -f /usr/include/float.h ] && if grep 'ifndef _FLOAT_H___' /usr/include/float.h >/dev/null; then false; else :; fi; then \ SYS_FLOAT_H_WRAP=1; \ else :; \ SYS_FLOAT_H_WRAP=0; \ fi; \ ./xgcc -B./ -DIN_GCC -g -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 \ -DSYS_FLOAT_H_WRAP=$SYS_FLOAT_H_WRAP \ -I. -c ./enquire.c if [ -f libgcc2.ready ] ; then \ true; \ else \ touch libgcc2.ready; \ fi case " c " in \ *" "[cC]"++ "*) \ echo tinfo.o tinfo2.o new.o new1.o new2.o exception.o > cplib2.new;; \ *) \ echo "" > cplib2.new;; \ esac mv -f cplib2.new cplib2.txt rm -f tmplibgcc2.a for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _eh_compat _pure; \ do \ echo ${name}; \ ./xgcc -B./ -O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c -DL${name} \ ./libgcc2.c -o ${name}.o; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ ar rc tmplibgcc2.a ${name}.o; \ rm -f ${name}.o; \ done _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _op_new _op_vnew _new_handler _op_delete _op_vdel _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh _eh_compat _pure for file in ./frame.c cplib2.txt ; do \ name=`echo ${file} | sed -e 's/[.][cSo]$//' -e 's/[.]asm$//' -e 's/[.]txt$//'`; \ oname=` echo ${name} | sed -e 's,.*/,,'`; \ if [ ${name}.txt = ${file} ]; then \ for f in .. `cat ${file}`; do if [ x${f} != x.. ]; then \ gmake GCC_FOR_TARGET="./xgcc -B./" \ AR="ar" AR_FLAGS="rc" CC="cc" \ CFLAGS="-g" HOST_PREFIX="" \ HOST_PREFIX_1="loser-" \ LANGUAGES="c " \ LIBGCC2_CFLAGS="-O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions" ${f}; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ ar rc tmplibgcc2.a ${f}; \ rm -f ${f}; \ else true; \ fi; done; \ else \ echo ${name}; \ if [ ${name}.asm = ${file} ]; then \ cp ${file} ${name}.s || exit 1; file=${name}.s; \ else true; fi; \ ./xgcc -B./ -O2 -DIN_GCC -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions -I. -I. -I./config -c ${file}; \ if [ $? -eq 0 ] ; then true; else exit 1; fi; \ ar rc tmplibgcc2.a ${oname}.o; \ rm -f ${name}.s ${oname}.o; \ fi; \ done ./frame mv tmplibgcc2.a libgcc2.a rm -rf tmplibgcc.a libgcc.a tmpcopy mkdir tmpcopy if [ xlibgcc1.a != x ]; \ then (cd tmpcopy; ar x ../libgcc1.a); \ else true; \ fi (cd tmpcopy; chmod +w * > /dev/null 2>&1) (cd tmpcopy; ar x ../libgcc2.a) (cd tmpcopy; ar rc ../tmplibgcc.a *.o) rm -rf tmpcopy if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib tmplibgcc.a; else true; fi mv tmplibgcc.a libgcc.a ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire ld: unrecognised emulation mode: elf_i386 Supported emulations: elf_i386_fbsd gmake[1]: *** [enquire] Error 1 gmake[1]: Leaving directory `/usr/ports/lang/gcc28/work/gcc-2.8.1' gmake: *** [bootstrap] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc28. *** Error code 1 Stop in /usr/ports/lang/gnat. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall24200.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! lang/gnat (unknown build error) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E53CC9F.9080803>