Source: flexpart
Version: 9.02-2
Severity: serious
Justification: fails to build from source

Builds of flexpart on amd64 and kfreebsd-amd64 have been failing:

  gfortran *.o -o flexpart.gfs -Wl,-z,relro -O2 -fdefault-real-8 
-fconvert=little-endian -frecord-marker=4 -I/usr/include  -L/usr/lib 
-Wl,--as-needed  -lgrib_api_f90 -lgrib_api -lm -ljasper
  FLEXPART.o: In function `MAIN__':
  FLEXPART.f90:(.text+0x2c): relocation truncated to fit: R_X86_64_32S against 
symbol `__com_mod_MOD_rannumb' defined in .bss section in com_mod.o
  FLEXPART.f90:(.text+0x10d): relocation truncated to fit: R_X86_64_PC32 
against symbol `__com_mod_MOD_nested_output' defined in .bss section in 
com_mod.o
  [...]

Searching for these messages brings me to
http://stackoverflow.com/questions/12916176/gfortran-for-dummies-what-does-mcmodel-medium-do-exactly
which indicates that they stem from having too many large static
arrays and recommends either making some of them dynamic (allocatable)
or, if that's not feasible, building with -mcmodel=medium.  It's not
clear whether code built with that flag will safely be able to use
libraries built without it, though.

At any rate, could you please take a look?

Thanks!


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to