[Buildroot] [PATCH 1/3] package/infozip: fix LARGE_FILE_SUPPORT check

Richard Genoud richard.genoud at gmail.com
Fri Jan 23 14:41:40 UTC 2015


Hi Romain !

2015-01-23 0:44 GMT+01:00 Romain Naour <romain.naour at openwide.fr>:
> LARGE_FILE_SUPPORT check was dropped in commit cc4dedd9.
>
> Since then there is a runtime error:
> zip warning : Not supported (uzoff_t not same size as zoff_t)
>
> So remove the previous patch and rework and split each
> cross-compilation fixes to differents patches.
>
> Signed-off-by: Romain Naour <romain.naour at openwide.fr>
> ---
>  ...emove-Check-C-compiler-type-optimization-.patch | 130 +++++++++++
>  .../0002-configure-Don-t-use-host-CPP.patch        |  37 ++++
>  ...003-Makefile-Use-CFLAGS-from-command-line.patch |  30 +++
>  ...4-configure-use-LDFLAGS-from-command-line.patch |  35 +++
>  .../infozip-0001-configure-fix-cross-build.patch   | 237 ---------------------
>  5 files changed, 232 insertions(+), 237 deletions(-)
>  create mode 100644 package/infozip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch
>  create mode 100644 package/infozip/0002-configure-Don-t-use-host-CPP.patch
>  create mode 100644 package/infozip/0003-Makefile-Use-CFLAGS-from-command-line.patch
>  create mode 100644 package/infozip/0004-configure-use-LDFLAGS-from-command-line.patch
>  delete mode 100644 package/infozip/infozip-0001-configure-fix-cross-build.patch
>

I reverted my fix and applied your 3 patches series, but I still have :
zip error: Not supported (uzoff_t not same size as zoff_t)

I'm on 2014.11, with Linaro ARM 2014.09 (BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM)
(for a cortex-A15 cpu)

I noticed some messages during configure :
[...]
Check for size_t
Check for off_t
Check size of UIDs and GIDs
(Now zip stores variable size UIDs/GIDs using a new extra field.  This
 tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage
 should also be used for backward compatibility.)
/lib/ld-linux-armhf.so.3: No such file or directory
-- test failed - conftest returned 255 - disabling old 16-bit UID/GID support
Check for Large File Support
/lib/ld-linux-armhf.so.3: No such file or directory
-- no Large File Support - conftest returned 255
Check for wide char support
-- have wchar_t - enabling Unicode support
Check for gcc no-builtin flag
Check for rmdir
[...]

regards,
Richard


More information about the buildroot mailing list