[tlbuild] _FILE_OFFSET_BITS on Solaris

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Feb 10 12:37:00 CET 2017


Hi,

One of the build warnings I get on i386-solaris is the following:

In file included from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/splinefont.h:31:0,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforge.h:38,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforgevw.h:30,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/asmfpst.c:27:
../../../config.h:230:0: warning: "_FILE_OFFSET_BITS" redefined
 #define _FILE_OFFSET_BITS 64
 ^
In file included from /usr/include/stdio.h:21:0,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/inc/basics.h:31,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforge.h:32,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/fontforgevw.h:30,
                 from
../../../../../../texk/dvisvgm/dvisvgm-src/libs/ff-woff/fontforge/asmfpst.c:27:
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/sys/feature_tests.h:196:0:
note: this is the location of the previous definition
 #define _FILE_OFFSET_BITS 32
 ^

In fact the configure reports:

checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for dirent.h that defines DIR... yes

I don't know if that causes any problems or not, but it seems weird
enough that two conflicting values are used.

Mojca


More information about the tlbuild mailing list