This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Please help with building gfortran 4.2.1 on OpenBSD


Hi,

OpenBSD has a system of scripts to build various software. Unfortunately
gfortran is not building on the current version of OpenBSD running on a
Fuloong (mips64el). I read there is a Fuloong in gcc's build farm so I
hope somebody has already figured this problem out and can tell me how to
fix it.

I got the following error messages:

/usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/../libdecnumber -I../libdecnumber -DL_enable_execute_stack -c /usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/libgcc2.c -o libgcc/./_enable_execute_stack.o
/usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/libgcc2.c: In function '__enable_execute_stack':
/usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/libgcc2.c:2000: warning: implicit declaration of function 'GET_MODE_SIZE'
/usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/libgcc2.c:2000: error: 'ptr_mode' undeclared (first use in this function)
/usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/libgcc2.c:2000: error: (Each undeclared identifier is reported only once
/usr/ports/pobj/gfortran-4.2.1/gcc-4.2.1/gcc/libgcc2.c:2000: error: for each function it appears in.)
gmake[3]: *** [libgcc/./_enable_execute_stack.o] Error 1
gmake[3]: Leaving directory `/usr/ports/pobj/gfortran-4.2.1/build-mips64el/gcc'
gmake[2]: *** [libgcc.a] Error 2
gmake[2]: Leaving directory `/usr/ports/pobj/gfortran-4.2.1/build-mips64el/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory `/usr/ports/pobj/gfortran-4.2.1/build-mips64el'
gmake: *** [all] Error 2
*** Error code 2

I do have the whole build output but I didn't think it would be welcomed
here on the list. If anybody can help and needs more info I can supply it.

Thank you very much for your assistance.

John Long

-- 
ASCII ribbon campaign ( ) Powered by Lemote Fuloong
 against HTML e-mail   X  Loongson MIPS and OpenBSD
   and proprietary    / \    http://www.mutt.org
     attachments            Code Blue or Go Home!


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]