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]

Errors building the current trunk


 
All,

In an attempt to develop a patch for the contrib/download_prerequisites script, I cloned the trunk last night and am encountering an error in building gfortran so that I can run the regression tests. The error message is at the bottom of this email.  

My steps were as follows:  

git clone git://gcc.gnu.org/git/gcc.git  
cd gcc
git branch download-prerequisites
git checkout download-prerequisites
./configure --prefix=/opt/gnu/7.0.0/2016-09-23 --enable-languages=c,c++,fortran,lto --disable-multilib --disable-werror
make bootstrap

Could anyone advise me about how to build gfortran successfully? In this case, I was building with GCC 5.4 installed via apt-get on Lubuntu Linux. I also tried building with the trunk itself. 


Damian  



g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././gcc/../libcpp/include -I/home/rouson/Desktop/Builds/gcc/host-x86_64-pc-linux-gnu/gmp -I/home/rouson/Desktop/Builds/gcc/gmp -I/home/rouson/Desktop/Builds/gcc/host-x86_64-pc-linux-gnu/mpfr/src -I/home/rouson/Desktop/Builds/gcc/mpfr/src -I/home/rouson/Desktop/Builds/gcc/mpc/src -I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/bid -I../libdecnumber -I../.././gcc/../libbacktrace -I/home/rouson/Desktop/Builds/gcc/host-x86_64-pc-linux-gnu/isl/include -I/home/rouson/Desktop/Builds/gcc/isl/include -o i386.o -MT i386.o -MMD -MP -MF ./.deps/i386.TPo ../.././gcc/config/i386/i386.c  
In file included from ../.././gcc/target-def.h:106:0,
from ../.././gcc/config/i386/i386.c:81:
./target-hooks-def.h:92:38: error: ‘hook_uint_uintp_false’ was not declared in this scope
#define TARGET_ASM_ELF_FLAGS_NUMERIC hook_uint_uintp_false
^
./target-hooks-def.h:2205:5: note: in expansion of macro ‘TARGET_ASM_ELF_FLAGS_NUMERIC’
TARGET_ASM_ELF_FLAGS_NUMERIC, \
^
./target-hooks-def.h:1792:5: note: in expansion of macro ‘TARGET_ASM_OUT’
TARGET_ASM_OUT, \
^
../.././gcc/config/i386/i386.c:50811:29: note: in expansion of macro ‘TARGET_INITIALIZER’
struct gcc_target targetm = TARGET_INITIALIZER;
^
Makefile:2182: recipe for target 'i386.o' failed
make[3]: *** [i386.o] Error 1
make[3]: Leaving directory '/home/rouson/Desktop/Builds/gcc/host-x86_64-pc-linux-gnu/gcc'
Makefile:4584: recipe for target 'all-stage1-gcc' failed
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory '/home/rouson/Desktop/Builds/gcc'
Makefile:27422: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/rouson/Desktop/Builds/gcc'
Makefile:27822: recipe for target 'bootstrap' failed
make: *** [bootstrap] Error 2



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