pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/rust176



Same for me (which is one reason I'm pushing for the update now), but
I've been told it builds fine on NetBSD/aarc64 with llvm18.
 Thomas


On Mon, Jul 08, 2024 at 01:12:42AM +0900, Ryo ONODERA wrote:
> Hi,
> 
> Is this buildable with the latest lang/llvm-18.1.8?
> 
> Rust 1.76.0nb3 from lang/rust emits many segfaults and strange errors
> related to array size
> to break the build under NetBSD/amd64-current of today.
> 
> I can build wip/rust117 under the same NetBSD/amd64-current without any problem.
> 
> On Sun, Jul 7, 2024 at 7:41 PM Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> >
> > Module Name:    pkgsrc
> > Committed By:   wiz
> > Date:           Sun Jul  7 10:41:22 UTC 2024
> >
> > Added Files:
> >         pkgsrc/lang/rust176: DESCR Makefile distinfo options.mk
> >         pkgsrc/lang/rust176/files: gcc-wrap
> >         pkgsrc/lang/rust176/patches:
> >             patch-compiler_rustc__codegen__ssa_src_back_linker.rs
> >             patch-compiler_rustc__llvm_build.rs
> >             patch-compiler_rustc__target_src_spec_base_netbsd.rs
> >             patch-compiler_rustc__target_src_spec_mod.rs
> >             patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs
> >             patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs
> >             patch-library_backtrace_src_symbolize_gimli.rs
> >             patch-library_backtrace_src_symbolize_gimli_elf.rs
> >             patch-library_std_src_sys_unix_mod.rs
> >             patch-library_std_src_sys_unix_thread.rs
> >             patch-library_std_src_sys_unix_thread__parking_netbsd.rs
> >             patch-src_bootstrap_bootstrap.py
> >             patch-src_bootstrap_src_core_build__steps_compile.rs
> >             patch-src_bootstrap_src_core_builder.rs
> >             patch-src_bootstrap_src_lib.rs
> >             patch-src_llvm-project_llvm_CMakeLists.txt
> >             patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake
> >             patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h
> >             patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h
> >             patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h
> >             patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp
> >             patch-src_tools_cargo_src_cargo_core_profiles.rs
> >             patch-src_tools_cargo_tests_testsuite_build.rs
> >             patch-src_tools_rust-installer_install-template.sh
> >             patch-vendor_aho-corasick_src_packed_teddy_builder.rs
> >             patch-vendor_aho-corasick_src_packed_vector.rs
> >             patch-vendor_backtrace_src_symbolize_gimli.rs
> >             patch-vendor_backtrace_src_symbolize_gimli_elf.rs
> >             patch-vendor_cc-1.0.73_src_lib.rs patch-vendor_cc_src_lib.rs
> >             patch-vendor_crossbeam-epoch_no__atomic.rs
> >             patch-vendor_crossbeam-utils-0.8.14-no__atomic.rs
> >             patch-vendor_crossbeam-utils_no__atomic.rs
> >             patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike+netbsd_mips.rs
> >             patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_mod.rs
> >             patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_riscv64.rs
> >             patch-vendor_libc-0.2.148_src_unix_solarish_mod.rs
> >             patch-vendor_libc_src_unix_solarish_mod.rs
> >             patch-vendor_lzma-sys_config.h
> >             patch-vendor_nix-0.26.2_src_sys_signal.rs
> >             patch-vendor_openssl-src_openssl_Configurations_10-main.conf
> >             patch-vendor_openssl-src_src_lib.rs
> >             patch-vendor_openssl-sys_build_find__normal.rs
> >             patch-vendor_openssl-sys_build_main.rs
> >             patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs
> >             patch-vendor_stacker_src_lib.rs
> >             patch-vendor_target-lexicon_src_targets.rs
> >             patch-vendor_valuable_no__atomic.rs
> >
> > Log Message:
> > lang/rust176: import rust-1.76.0nb3
> >
> > Rust is a systems programming language focused on three goals: safety,
> > speed, and concurrency.  It maintains these goals without having a
> > garbage collector, making it a useful language for a number of use cases
> > other languages aren't good at: embedding in other languages, programs
> > with specific space and time requirements, and writing low-level code,
> > like device drivers and operating systems.
> >
> > It improves on current languages targeting this space by having a number
> > of compile-time safety checks that produce no runtime overhead, while
> > eliminating all data races.  Rust also aims to achieve "zero-cost
> > abstractions" even though some of these abstractions feel like those of
> > a high-level language.  Even then, Rust still allows precise control
> > like a low-level language would.
> >
> > This is the old 1.76 version of rust for those platforms where the current
> > version does not work.
> >
> >
> > To generate a diff of this commit:
> > cvs rdiff -u -r0 -r1.1 pkgsrc/lang/rust176/DESCR pkgsrc/lang/rust176/Makefile \
> >     pkgsrc/lang/rust176/distinfo pkgsrc/lang/rust176/options.mk
> > cvs rdiff -u -r0 -r1.1 pkgsrc/lang/rust176/files/gcc-wrap
> > cvs rdiff -u -r0 -r1.1 \
> >     pkgsrc/lang/rust176/patches/patch-compiler_rustc__codegen__ssa_src_back_linker.rs \
> >     pkgsrc/lang/rust176/patches/patch-compiler_rustc__llvm_build.rs \
> >     pkgsrc/lang/rust176/patches/patch-compiler_rustc__target_src_spec_base_netbsd.rs \
> >     pkgsrc/lang/rust176/patches/patch-compiler_rustc__target_src_spec_mod.rs \
> >     pkgsrc/lang/rust176/patches/patch-compiler_rustc__target_src_spec_targets_i586__unknown__netbsd.rs \
> >     pkgsrc/lang/rust176/patches/patch-compiler_rustc__target_src_spec_targets_mips64el__unknown__netbsd.rs \
> >     pkgsrc/lang/rust176/patches/patch-library_backtrace_src_symbolize_gimli.rs \
> >     pkgsrc/lang/rust176/patches/patch-library_backtrace_src_symbolize_gimli_elf.rs \
> >     pkgsrc/lang/rust176/patches/patch-library_std_src_sys_unix_mod.rs \
> >     pkgsrc/lang/rust176/patches/patch-library_std_src_sys_unix_thread.rs \
> >     pkgsrc/lang/rust176/patches/patch-library_std_src_sys_unix_thread__parking_netbsd.rs \
> >     pkgsrc/lang/rust176/patches/patch-src_bootstrap_bootstrap.py \
> >     pkgsrc/lang/rust176/patches/patch-src_bootstrap_src_core_build__steps_compile.rs \
> >     pkgsrc/lang/rust176/patches/patch-src_bootstrap_src_core_builder.rs \
> >     pkgsrc/lang/rust176/patches/patch-src_bootstrap_src_lib.rs \
> >     pkgsrc/lang/rust176/patches/patch-src_llvm-project_llvm_CMakeLists.txt \
> >     pkgsrc/lang/rust176/patches/patch-src_llvm-project_llvm_cmake_modules_AddLLVM.cmake \
> >     pkgsrc/lang/rust176/patches/patch-src_llvm-project_llvm_include_llvm-c_DataTypes.h \
> >     pkgsrc/lang/rust176/patches/patch-src_llvm-project_llvm_include_llvm_Analysis_ConstantFolding.h \
> >     pkgsrc/lang/rust176/patches/patch-src_llvm-project_llvm_lib_Support_BLAKE3_blake3__impl.h \
> >     pkgsrc/lang/rust176/patches/patch-src_llvm-project_llvm_utils_FileCheck_FileCheck.cpp \
> >     pkgsrc/lang/rust176/patches/patch-src_tools_cargo_src_cargo_core_profiles.rs \
> >     pkgsrc/lang/rust176/patches/patch-src_tools_cargo_tests_testsuite_build.rs \
> >     pkgsrc/lang/rust176/patches/patch-src_tools_rust-installer_install-template.sh \
> >     pkgsrc/lang/rust176/patches/patch-vendor_aho-corasick_src_packed_teddy_builder.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_aho-corasick_src_packed_vector.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_backtrace_src_symbolize_gimli.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_backtrace_src_symbolize_gimli_elf.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_cc-1.0.73_src_lib.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_cc_src_lib.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_crossbeam-epoch_no__atomic.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_crossbeam-utils-0.8.14-no__atomic.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_crossbeam-utils_no__atomic.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike+netbsd_mips.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_mod.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_libc-0.2.148_src_unix_bsd_netbsdlike_netbsd_riscv64.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_libc-0.2.148_src_unix_solarish_mod.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_libc_src_unix_solarish_mod.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_lzma-sys_config.h \
> >     pkgsrc/lang/rust176/patches/patch-vendor_nix-0.26.2_src_sys_signal.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_openssl-src_openssl_Configurations_10-main.conf \
> >     pkgsrc/lang/rust176/patches/patch-vendor_openssl-src_src_lib.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_openssl-sys_build_find__normal.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_openssl-sys_build_main.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_rustc-ap-rustc__target_src_spec_aarch64__be__unknown__netbsd.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_stacker_src_lib.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_target-lexicon_src_targets.rs \
> >     pkgsrc/lang/rust176/patches/patch-vendor_valuable_no__atomic.rs
> >
> > Please note that diffs are not public domain; they are subject to the
> > copyright notices on the relevant files.
> >
> 
> 
> -- 
> Ryo ONODERA // ryo%tetera.org@localhost
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3



Home | Main Index | Thread Index | Old Index