[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#813649: emoslib; FTBFS on sparc64, needs different -mcmodel option



Source: emoslib
Version: 2:4.3.3-4
Severity: normal
User: debian-sparc@lists.debian.org
Usertags: sparc64

Hi!

On sparc64, emoslib fails to build from source with:

cd /«PKGBUILDDIR»/obj-sparc64-linux-gnu/libemos-dp && /usr/bin/cc  -DBUFR_TABLES_PATH=\"/usr/share/emos/bufrtables\" -DFOPEN64 -DINTEGER_IS_INT -DINTERPOL_TABLES_PATH=\"/usr/share/emos\" -DLITTLE_ENDIAN -DPOINTER_64 -DREAL_8 -DREAL_BIGGER_THAN_INTEGER -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Dgfortran -Dlinux -I/«PKGBUILDDIR» -I/«PKGBUILDDIR»/obj-sparc64-linux-gnu -I/«PKGBUILDDIR»/interpolation -I/«PKGBUILDDIR»/bufrdc_wmo -I/usr/lib/include  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -pipe -O3 -DNDEBUG -fPIC   -fpic    -o CMakeFiles/emos.dir/__/pbio/readany.c.o   -c /«PKGBUILDDIR»/pbio/readany.c
[ 19%] Building C object libemos-dp/CMakeFiles/emos.dir/__/pbio/readbufr.c.o

This is basically the same issue as in #790078 [1], so building with -mcmodel=large
on sparc64 should be enough to fix the issue.

Thanks,
Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790078


-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: