Skip to content
Snippets Groups Projects
  1. Nov 06, 2023
  2. Nov 05, 2023
  3. Nov 02, 2023
  4. Nov 01, 2023
  5. Oct 31, 2023
    • Jeffery To's avatar
      rust: Fix compile error for mipsel_24kc+24kf · 69db0bd9
      Jeffery To authored
      
      Currently, rust fails to build for mipsel_24kc+24kf with "opcode not
      supported on this processor: mips1 (mips1)" errors when building
      libunwind.
      
      Because mipsel_24kc+24kf is hard-float, a certain section of
      src/llvm-project/libunwind/src/UnwindRegistersRestore.S is selected to
      be compiled; the instructions in this section require MIPS II.
      
      mipsel_24kc+24kf is compiled for MIPS32 Release 2 (MIPS32 is based on
      MIPS II), but the C flags used to select this architecture were not
      passed to the rust bootstrap (to be passed back to gcc).
      
      This passes the C flags to rust bootstrap to fix this compile error.
      
      This also adds PKG_BUILD_FLAGS:=no-mips16 as attempting to generate
      MIPS16 code leads to a different compile error.
      
      Signed-off-by: default avatarJeffery To <jeffery.to@gmail.com>
      (cherry picked from commit 54616e7049701996fab1dfb85ba0ebc3189b53ec)
      Unverified
      69db0bd9
    • Jeffery To's avatar
      rust: Fix compile error if build dir and DL_DIR on separate filesystems · ca8eb766
      Jeffery To authored
      The rust bootstrap downloads files into a "tmp" directory then moves the
      files into the "cache" directory using std::fs::rename. There are no
      issues in the original/unpatched case as "tmp" and "cache" are
      subdirectories in the build directory ($(HOST_BUILD_DIR)/build) and so
      are nearly guaranteed to be on the same filesystem.
      
      35768bf31e5867046874dc6fd0374ff8fe575da2 changed where files are
      saved/cached (in $(DL_DIR)/rustc). If HOST_BUILD_DIR and DL_DIR are on
      separate filesystems, then using std::fs::rename to move the files will
      fail.[1]
      
      This updates 0002-rustc-bootstrap-cache.patch to account for this case,
      i.e. if std::fs::rename fails, fall back to copying the file then
      removing the original.
      
      [1]: https://github.com/openwrt/packages/pull/22457
      
      
      
      Fixes: 35768bf31e58 ("rust: Cache bootstrap downloads to $(DL_DIR)/rustc")
      
      Signed-off-by: default avatarJeffery To <jeffery.to@gmail.com>
      (cherry picked from commit f9f1e0220f872263d8f12c38df9984a40625430f)
      Unverified
      ca8eb766
  6. Oct 23, 2023
  7. Oct 20, 2023
    • Drew Young's avatar
      rust: fix build with glibc, ARM and hard floats · 985d0af6
      Drew Young authored
      
      Patch the target triple for Rust with glibc to include hard floating
      point support.
      
      The GNU target triple used elsewhere does not include hard float support,
      instead `-mfloat-abi=hard` is passed separately. For Rust it must be
      included in the target triple. This was already being done for musl,
      this commit adds the same patching for glibc.
      
      Without this patch Rust compilation fails with an error like this
      (abbreviated to fit the line length):
      
          ld: error: libstd.so uses VFP register arguments, ... does not
          ld: failed to merge target specific data of file ...
      
      Signed-off-by: default avatarDrew Young <dyoung@viridiparente.com>
      (cherry picked from commit 3d799c3eeedfe8813ca3fb2debadffb231f621c1)
      Unverified
      985d0af6
  8. Oct 18, 2023
    • Hirokazu MORIKAWA's avatar
      node: Friday October 13 2023 Security Releases · 3658011d
      Hirokazu MORIKAWA authored
      
      This is a security release.
      Notable Changes
      The following CVEs are fixed in this release:
      * CVE-2023-44487: nghttp2 Security Release (High) (Depends on shared library provided by OpenWrt)
      * CVE-2023-45143: undici Security Release (High)
      * CVE-2023-38552: Integrity checks according to policies can be circumvented (Medium)
      * CVE-2023-39333: Code injection via WebAssembly export names (Low)
      More detailed information on each of the vulnerabilities can be found in October 2023 Security Releases blog post.
      
      Signed-off-by: default avatarHirokazu MORIKAWA <morikw2@gmail.com>
      (cherry picked from commit 9101a21e535d2247b3fb85e0660f7bb0dd4a4290)
      3658011d
  9. Oct 16, 2023
  10. Oct 15, 2023
  11. Oct 14, 2023
    • Hirokazu MORIKAWA's avatar
      node: bump to v18.18.1 · c09ba4e6
      Hirokazu MORIKAWA authored
      
      Notable Changes
      
       This release addresses some regressions that appeared in Node.js 18.18.0:
      
          (Windows) FS can not handle certain characters in file name #48673
          18 and 20 node images give error - Text file busy (after re-build images) nodejs/docker-node#1968
          libuv update in 18.18.0 breaks webpack's thread-loader #49911
      
      Signed-off-by: default avatarHirokazu MORIKAWA <morikw2@gmail.com>
      (cherry picked from commit b2079b87d1425f69feb89b8fa9f48f0a913e8fb2)
      c09ba4e6
  12. Oct 12, 2023
  13. Oct 11, 2023
  14. Oct 07, 2023
  15. Oct 04, 2023
  16. Oct 02, 2023
Loading