bug-wget
[Top][All Lists]
Advanced

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

[bug #62110] HSTS broken on 32 bit big endian devices


From: Petr Pisar
Subject: [bug #62110] HSTS broken on 32 bit big endian devices
Date: Fri, 18 Mar 2022 02:43:02 -0400 (EDT)

Follow-up Comment #11, bug #62110 (project wget):

Indeed. A 32-bit big-endian MIPS:

$ file
staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/crtbegin.o

staging_dir/toolchain-mips_24kc_gcc-8.4.0_musl/lib/gcc/mips-openwrt-linux-musl/8.4.0/crtbegin.o:
ELF 32-bit MSB relocatable, MIPS, MIPS32 rel2 version 1 (SYSV), not stripped

I compiled with it a simple code to check the sizes: time_t is 4 bytes, int is
4 bytes, int64_t is supported and has 8 bytes.

I tried adding glibc's -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64, but that did
not change anything. musl C library does not support it. musl supports 64-bit
time_t since version 1.2.0 <https://musl.libc.org/time64.html>. And of course
on needs "recent" Linux. I guess this is not the case of OpenWRT.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62110>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]