------- Comment #7 from jv244 at cam dot ac dot uk 2009-06-09 10:26 ------- (In reply to comment #6) > Couldn't reproduce (just built cp2k on x86_64-linux with trunk gfortran and > .eh_frame_hdr has been created just fine). I'm using binutils 2.19.51.0.2. > > Anyway, you should probably just tar up the .a library and other things you > are > linking together and with that report it in binutils bugzilla. >
It seems to depend on the compilation options as well. The sopt compile (in my case : FCFLAGS = -O2 -ffast-math -funroll-loops -ftree-vectorize -march=native -ffree-form $(DFLAGS) -I$(GFORTRAN_INC) goes fine, while a -O0 compile (sdbg compile with flags: -O0 -g -ffree-form $(DFLAGS) -I$(GFORTRAN_INC) -fbounds-check ) produces warnings. In fact, the number of errors depends on the precise options. With -fbounds-check present, there are more errors than without the flag. Any chance you could try that ? make distclean make ARCH=... VESION=sdbg -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40332