- Modified build-toolchain.sh to copy env.sh from the scripts directory instead of the top-level directory, ensuring proper organization.
- Updated README.md to reflect the new version of uClibc-ng and clarify the structure of the output archive, including the location of env.sh within the archive.
- Updated build-libraries.sh to set up environment variables for the arm-uclinuxfdpiceabi toolchain, including compiler flags and paths.
- Removed the dependency on env.sh for initial environment setup, simplifying the script logic.
- Streamlined the export and unset of environment variables to ensure a clean build environment.
- Adjusted the handling of CFLAGS and related variables for better clarity and consistency in the build process.
- Introduced a check in build-libraries.sh to add the <sys/stat.h> include directive to apps/s_server.c if it is missing.
- This patch ensures compatibility with systems that require this header for proper functionality of the OpenSSL s_server application.
- Updated build-libraries.sh to use --global and --path options for environment registration, enhancing clarity and consistency.
- Modified env.sh to support custom paths and improved error handling for the --path argument, streamlining toolchain path resolution.
- Removed redundant SYSROOT_DIR assignments to simplify the script logic.
- Simplified toolchain path resolution logic to support custom paths and global mode.
- Improved error handling and user feedback for toolchain detection.
- Streamlined environment variable exports and clarified usage instructions for better user experience.
- Removed several disabled options from the OpenSSL build configuration to simplify the setup process.
- Enhanced clarity by reducing the complexity of the configuration flags used during the build.
- Removed redundant export statements for environment variables in env.sh.
- Clarified default architecture and mode settings for improved readability.
- Enhanced output messages for better user feedback during environment activation.
- Added bzip2 to the list of required tools for building.
- Provided a command snippet for installing the necessary packages, enhancing clarity for users setting up the environment.
- Added detailed instructions for two modes of operation in env.sh: normal mode and full toolchain mode.
- Updated the deactivation command to reflect changes in the toolchain registration process.
- Revised default CFLAGS for host/toolset builds to enhance clarity and consistency.
- Created a dedicated directory for the target toolchain within the temporary working directory.
- Copied the environment script to the working directory for inclusion in the archive.
- Updated the tar command to include the target directory and environment script in the final archive, enhancing organization and clarity.
- Updated build-libraries.sh to consistently use the --toolchain flag for environment registration and unregistration.
- Modified env.sh to clarify usage instructions and enforce the --toolchain option for environment setup, improving user experience and consistency in toolchain management.
- Changed SYSROOT_DIR to directly reference SYSROOT for clarity.
- Removed --disable-tls option from GCC build configuration to streamline the build process.
- Updated usage instructions to clarify default behavior and options.
- Improved path resolution for toolchain installation, checking for both ./bin and ./arm-uclinuxfdpiceabi directories.
- Added automatic registration when no arguments are provided, streamlining the user experience.
Stack protector on ARM reads the canary via TLS (__aeabi_read_tp), which
is unavailable since the toolchain is built with --disable-tls and uClibc
runs on uClinux without TLS support. This caused linker errors in d3des.c.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
env.sh now appends /bin internally, so callers pass the install root
(e.g. build/install) consistently, both when using the default path
and when specifying it explicitly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All hardcoded versions are now defined once in versions.sh and sourced
by build-toolchain.sh, download_prerequisites.sh, and build-libraries.sh,
eliminating the need to update multiple files when changing a version.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>