Skip to content

Commit 013c2f7

Browse files
committed
v31082020 3.6.0 release
1 parent 340f360 commit 013c2f7

File tree

4 files changed

+62
-1
lines changed

4 files changed

+62
-1
lines changed

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 3.5.{build}
1+
version: 3.6.{build}
22
max_jobs: 4
33
environment:
44
matrix:

ChangeLog

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11

22
ChangeLog file for safeclib
33

4+
Changes in v31082020 3.6.0
5+
- Added smokers for more architectures and distros:
6+
ubuntu, debian, centos, fedora, rhel /
7+
x86_64, i386, arm32, aarch64, s390x, ppc64le on travis and drone.
8+
just ubuntu arm32, arm64 and s390x are broken. (GH #81)
9+
Big-endian works.
10+
- Updated Unicode to version 13. Very few changes only.
11+
- Use __attribute__format printf and scanf checks, and prepared for the
12+
eventual wprintf and wscanf formats which are waiting to be added into gcc
13+
since 2008. (GH #85)
14+
- favor gcc-{ar,ranlib,nm} to find the plugin paths (e.g. for lto)
15+
- move typedef rsize_t below def. of size_t (GH #89)
16+
- kernel module: detect new time64_t and use old_time32_t for our API.
17+
We didn't add the new time64_t API's yet.
18+
- tests: add 2 missing HAVE_CT_BOS_OVR comptime overflows
19+
- tests: fixes for latest msys2, new HAVE_MINGW64 now also defines __MINGW32__
20+
- travis: improve distchecks timeouts.
21+
- hardened compiler flags: -fstack-protector-strong -fstack-clash-protection
22+
-fcf-protection
23+
- Move SAFECLIB_HAVE_C99 to public safe_config.h (Hauke Mehrtens)
24+
- Fix wcslwr_s error msg prefixes.
25+
426
Changes in v05112019 3.5.2
527
- Fixed musl compilation by don't undefining _GNU_SOURCE
628
with getenv_s (PR #83, Fabrice Fontaine)

Dockerfile-fedora-aarch64

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Docker >= 17.05.0-ce allows using build-time args (ARG) in FROM (#31352).
2+
# https://github.com/moby/moby/releases/tag/v17.05.0-ce
3+
ARG BASE_IMAGE=fedora
4+
#FROM ${BASE_IMAGE}
5+
FROM multiarch/fedora:30-aarch64
6+
7+
# Test with non-root user.
8+
ENV TEST_USER tester
9+
ENV WORK_DIR "/work"
10+
11+
#RUN uname -a
12+
#RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf
13+
# Disable modular repositories to save a running time of "dnf update"
14+
# if they exists.
15+
#RUN ls /etc/yum.repos.d/*.repo
16+
RUN sed -i '/^enabled=1$/ s/1/0/' /etc/yum.repos.d/*-modular.repo || true
17+
# RUN dnf -y update
18+
RUN dnf -y --allowerasing --repo fedora install \
19+
file gcc git make redhat-rpm-config sudo \
20+
automake autoconf libtool perl-Text-Diff pkgconf-pkg-config strace gdb
21+
#RUN dnf -y --repo fedora install m4 libtool perl-Text-Diff pkgconf-pkg-config strace gdb
22+
#RUN dnf -y --repo fedora install strace gdb
23+
24+
# Create test user and the environment
25+
RUN useradd "${TEST_USER}"
26+
WORKDIR "${WORK_DIR}"
27+
COPY . .
28+
RUN chown -R "${TEST_USER}:${TEST_USER}" "${WORK_DIR}"
29+
30+
# Enable sudo without password for convenience.
31+
RUN echo "${TEST_USER} ALL = NOPASSWD: ALL" >> /etc/sudoers
32+
33+
USER "${TEST_USER}"

run-aarch64.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
# ./configure --host=aarch64-linux-gnu --disable-shared --enable-debug
3+
# echo to avoid libssp
4+
# sed -i 's,-fstack-protector-strong -fstack-clash-protection,,' Makefile */Makefile
5+
docker build --rm -f Dockerfile-fedora-aarch64 -t aarch64 .
6+
docker run --rm -t aarch64 $@

0 commit comments

Comments
 (0)