Skip to content

Commit

Permalink
v31082020 3.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban committed Aug 31, 2020
1 parent 340f360 commit 013c2f7
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 3.5.{build}
version: 3.6.{build}
max_jobs: 4
environment:
matrix:
Expand Down
22 changes: 22 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@

ChangeLog file for safeclib

Changes in v31082020 3.6.0
- Added smokers for more architectures and distros:
ubuntu, debian, centos, fedora, rhel /
x86_64, i386, arm32, aarch64, s390x, ppc64le on travis and drone.
just ubuntu arm32, arm64 and s390x are broken. (GH #81)
Big-endian works.
- Updated Unicode to version 13. Very few changes only.
- Use __attribute__format printf and scanf checks, and prepared for the
eventual wprintf and wscanf formats which are waiting to be added into gcc
since 2008. (GH #85)
- favor gcc-{ar,ranlib,nm} to find the plugin paths (e.g. for lto)
- move typedef rsize_t below def. of size_t (GH #89)
- kernel module: detect new time64_t and use old_time32_t for our API.
We didn't add the new time64_t API's yet.
- tests: add 2 missing HAVE_CT_BOS_OVR comptime overflows
- tests: fixes for latest msys2, new HAVE_MINGW64 now also defines __MINGW32__
- travis: improve distchecks timeouts.
- hardened compiler flags: -fstack-protector-strong -fstack-clash-protection
-fcf-protection
- Move SAFECLIB_HAVE_C99 to public safe_config.h (Hauke Mehrtens)
- Fix wcslwr_s error msg prefixes.

Changes in v05112019 3.5.2
- Fixed musl compilation by don't undefining _GNU_SOURCE
with getenv_s (PR #83, Fabrice Fontaine)
Expand Down
33 changes: 33 additions & 0 deletions Dockerfile-fedora-aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Docker >= 17.05.0-ce allows using build-time args (ARG) in FROM (#31352).
# https://github.com/moby/moby/releases/tag/v17.05.0-ce
ARG BASE_IMAGE=fedora
#FROM ${BASE_IMAGE}
FROM multiarch/fedora:30-aarch64

# Test with non-root user.
ENV TEST_USER tester
ENV WORK_DIR "/work"

#RUN uname -a
#RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf
# Disable modular repositories to save a running time of "dnf update"
# if they exists.
#RUN ls /etc/yum.repos.d/*.repo
RUN sed -i '/^enabled=1$/ s/1/0/' /etc/yum.repos.d/*-modular.repo || true
# RUN dnf -y update
RUN dnf -y --allowerasing --repo fedora install \
file gcc git make redhat-rpm-config sudo \
automake autoconf libtool perl-Text-Diff pkgconf-pkg-config strace gdb
#RUN dnf -y --repo fedora install m4 libtool perl-Text-Diff pkgconf-pkg-config strace gdb
#RUN dnf -y --repo fedora install strace gdb

# Create test user and the environment
RUN useradd "${TEST_USER}"
WORKDIR "${WORK_DIR}"
COPY . .
RUN chown -R "${TEST_USER}:${TEST_USER}" "${WORK_DIR}"

# Enable sudo without password for convenience.
RUN echo "${TEST_USER} ALL = NOPASSWD: ALL" >> /etc/sudoers

USER "${TEST_USER}"
6 changes: 6 additions & 0 deletions run-aarch64.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
# ./configure --host=aarch64-linux-gnu --disable-shared --enable-debug
# echo to avoid libssp
# sed -i 's,-fstack-protector-strong -fstack-clash-protection,,' Makefile */Makefile
docker build --rm -f Dockerfile-fedora-aarch64 -t aarch64 .
docker run --rm -t aarch64 $@

0 comments on commit 013c2f7

Please sign in to comment.