[Vm-dev] latest sources removal platforms/unix/vm/sunos.h
stes@PANDORA.BE
stes at telenet.be
Mon Nov 9 10:49:47 UTC 2020
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Also see an interesting bug report for Debian Linux:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=158969
So arguably this is some sort of "bug" (or feature?) of "GNU configure"
and the AC_SYS_LARGEFILE macro.
The documentation says that it will append
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
but this is apparently in my version of configure to "DEFS".
The Debian Linux guy correctly states that the variable is DEFS.
I just tested it and for me on Solaris 11.3 at least, the configure
AC_SYS_LARGEFILE
tests and expands than in the Makefile :
@DEFS@ expands to
- -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -D_FILE_OFFSET_BITS=64
Note that it appends the -D_FILE_OFFSET_BITS=64 to @DEFS@ !
So it is not so clear to me whether to patch the "mvm" script to set
- -D_FILE_OFFSET_BITS=64 or whether this is some sort of GNU configure bug ...
Anyway an easy solution would be to just patch the SunOS mvm script and set
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
in the mvm script.
However that duplicates part of the autoconf configure script functionality
(the AC_SYS_LARGEFILE macro).
David Stes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJfqR50AAoJEAwpOKXMq1Main4H/1uQ84SNt3ZJVEhO6PFe+GGP
qBReQhzrt2n0SAUkY/p/sn14lX9czBOumwXcDNwiE3AaE1+i/2r+F+XRMXfQp8Bn
WjyoehUDdO/qZIC580OBBDKTbiLMM7Zp5PJ7IWKrT7ue4QQZOmTbZvrroT9z3Ja4
dn8a44xesheY7e5JHi+rrZ0W0nr+vdhPdNNDZ6oU6N4SabIAYcys7QxnfTsfXYVr
Of7ZM0dYnDffoW7wJbaoxdcIr/qu+JmrCfcNC7jXDHhHppF2onnUibH0PNWlf6v4
H3tHFCdhlBCiZ0cb+SSjYWahSjJIVuC10d2u5oaC7a10WfhSaGv4sH7zlxKW9Es=
=TMvm
-----END PGP SIGNATURE-----
More information about the Vm-dev
mailing list