Commit Graph

36 Commits

Author SHA1 Message Date
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Arne Fitzenreiter
97e10fa539 ccache: update to 4.3 and patch armv6 bus errors
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-07-05 07:42:39 +02:00
Michael Tremer
9003f76300 ccache: Update to 4.2.1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-07-05 07:42:39 +02:00
Michael Tremer
74ee1c7aba ccache: Update to version 4.1
This version has changed its build system to cmake and
can use zstd. We build zstd just before this package, but
depend on cmake from the host system.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-07-05 07:42:39 +02:00
Peter Müller
6f56c219de ccache: update to 3.7.12
Please refer to https://ccache.dev/news.html#2020-10-01 for a list of
all release notes since version 3.4.1, it is unfortunately way too long
to be added here. :-]

Since ccache is not part of the distribution itself, no rootfile updates
were necessary.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-22 11:04:28 +00:00
Arne Fitzenreiter
d83422d1c0 toolchain: fix build with gcc<8 on builder.
gcc-7 not support -fcf-protection so filter it from CFLAGS.
also filter -mtune in first pass because it should optimized for the
actual host.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-09-24 07:36:01 +02:00
Michael Tremer
4e54a8e2d6 ccache: Automatically set size to 8GB
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-05-28 12:01:57 +01:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
d32233aa1b ccache: Update to 3.4.1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 12:12:08 +00:00
Arne Fitzenreiter
11b5e5cb8e toolchain: update to gcc-7.3.0 and enable retpolines on x86_64 and i586
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-02-11 20:56:12 +00:00
Michael Tremer
6c4cc7ea1b Move toolchain from /tools to /tools_${arch}
This will allow us to run multiple builds on the same
system at the same time (or at least have them on disk).

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-23 15:57:28 +00:00
Arne Fitzenreiter
f3c01b39e4 toolchain: filter -mfpu from CFLAGS for first pass
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-07-07 10:12:28 +02:00
Marcel Lorenz
cb0969580b ccache: update to 3.3.4
https://ccache.samba.org/releasenotes.html#_ccache_3_3_4

Signed-off-by: Marcel Lorenz <marcel.lorenz@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-07 09:54:18 +01:00
Michael Tremer
e259f335ae toolchain: Build without hardening
The toolchain will be built without hardening which makes
the entire bootstrapping process way more complicated than
necessary and sometimes fail on some host distribution.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 11:59:00 +01:00
Michael Tremer
8c31790a2f ccache: Cleanup makefile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 11:51:33 +01:00
Arne Fitzenreiter
22a504c69c toolchain: fix build on hosts that not support strong stackprotect
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-01-20 19:28:56 +01:00
Michael Tremer
71ca2447bf ccache: Update to version 3.2.3
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-14 13:36:32 +01:00
Arne Fitzenreiter
62a430f93f toolchain: fix build on arm with hardfloat host distro. 2012-08-28 08:21:47 -04:00
Michael Tremer
4fd1768f7f ccache: Build ccache native to the host system (first pass). 2012-08-20 11:37:29 +02:00
Michael Tremer
2e7e95b87b ccache: Update to 3.1.8.
Fixes #10211.
2012-08-16 18:53:11 +02:00
Michael Tremer
222362c3e2 Don't compile first pass of toolchain with -march=...
Needed to cross compile the i586 toolchain on x86_64.
2012-08-15 18:48:10 +02:00
Michael Tremer
be1925bcab ccache: Activate caching for c++. 2012-08-12 16:35:01 -04:00
Michael Tremer
d3cb99ade2 toolchain: ccache: Make two passes for ccache.
The first pass will compile ccache which is statically linked and
is used for the cross toolchain.
The second pass is dynamically linked and is used to the target
system.
2012-08-11 17:43:42 -04:00
Michael Tremer
c20a0bb980 ccache: Increase max cache size to 5GB. 2012-08-06 22:20:31 +02:00
Michael Tremer
65e6c81f1e ccache: Remove unneeded patch. 2012-08-06 22:07:05 +02:00
Michael Tremer
ad92a4b8ad ccache: Update to 3.1.7. 2012-07-31 22:40:33 +02:00
Michael Tremer
c8c581e025 ccache: Use ccache when compiler is called by its full name. 2011-09-21 22:11:42 +02:00
Arne Fitzenreiter
3534ad5098 ccache: update to 3.1.6. 2011-08-25 11:29:11 +02:00
Arne Fitzenreiter
cfeeb42f7a Toolchain update.
Updated ccache (3.1) and fix ccache bootstrap build.
2010-10-22 18:13:46 +02:00
Arne Fitzenreiter
5e21bae9cd Updated ccache (3.0pre0) 2010-03-22 20:43:35 +01:00
Maniacikarus
fcc535236f Done a whole review of the lfs to make building more paralell
you may need to clean your ccache
2008-10-28 18:14:09 +01:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
dd714b8aad Habe IPFire auf LFS 6.2 gebracht.
Das hier ist der erste Teil.
Nur Toolchain bisher.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@297 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-09-30 16:33:03 +00:00
ms
f417cab6e0 Zweiter Teil des dicken Quellenupdates. Diesmal: C bis D.
Status: 49/230 fertiggestellt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@132 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-05-22 12:47:00 +00:00
ms
8a13df727b Quellen-Update
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@48 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-02-19 17:04:08 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00