Commit Graph

58 Commits

Author SHA1 Message Date
Michael Tremer
a6098f80c2 binutils: Update to 2.39
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-09-11 08:36:17 +00:00
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
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Michael Tremer
c16a83df5a binutils/gcc: Explicitely declare host and build architecture tuple
This will fix cross-compiling the toolchain which I broke before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-05 12:11:46 +00:00
Michael Tremer
be975dab58 binutils: Update to 2.37
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-05 12:11:00 +00:00
Michael Tremer
e111b836b3 binutils+gcc: Fix that the toolchain compiler is trying to link against host libraries
Binutils and GCC were misconfigured and used host libraries to build
toolchain programs. That resulted in that those programs were correctly
linked, but could not be executed, because the runtime linker did not
search in the host system.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-05 12:09:40 +00:00
Michael Tremer
389e8ec2c7 binutils: Update to 2.36.1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-07-05 07:42:39 +02:00
Arne Fitzenreiter
aafdd71b04 switch arm 32 bit arch from armv5tel to armv6l
we have no supported armv5tel board left so we can switch to the higher
arch. This now can use the vpu (still in softfp calling convention to
not break existing installations.)
this fix many compile problems, also boost is now working again.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-07-05 07:42:39 +02:00
Michael Tremer
cac84e16a0 binutils: Update to 2.35.1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-09-29 08:21:08 +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
Peter Müller
cfd2f07cf0 binutils: update to 2.34
Cc: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-21 15:44:06 +00:00
Michael Tremer
3596937440 binutils: Update to 2.32
This patch carries the rootfile for x86_64 only.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-04-28 09:44:37 +01:00
Michael Tremer
25e33293bd binutils: Update to 2.30
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-11 20:56:12 +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
Michael Tremer
8e01581f67 binutils: Remove any host optimisations in toolchain's first pass
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-20 09:33:27 +01:00
Michael Tremer
18f4933922 binutils: Cleanup makefile
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:06:31 +01:00
Michael Tremer
dc7d6b204d make.sh: Cleanup of polluted environment
The build environment is using a number of variables which
occasionally conflicted with some other build systems.

This patch cleans that up by renaming some variables and
later unexporting them in the lfs files.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:02:03 +01:00
Michael Tremer
5d512a1f81 binutils: Drop modifying CFLAGS in PASS=1
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:01:41 +01:00
Michael Tremer
a74272d2bb binutils: Remove some unnecessary compiler options
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 11:59:56 +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
7cefbe1c0d binutils: Update to version 2.28
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 11:58:36 +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
Arne Fitzenreiter
2eb67894ef binutils: update to 2.24
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-01-07 17:41:16 +01:00
Arne Fitzenreiter
11fbf1fab0 binutils: fix build on arm.
MACHINE env variable is needed to be clear.
2015-09-13 18:02:27 +02:00
Michael Tremer
81aa971410 Allow building the toolchain for x86_64
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-08-22 12:25:49 +02:00
Arne Fitzenreiter
d94384214e binutils: fix toolchain build with texinfo-5.x. 2013-09-08 16:08:52 +02:00
Arne Fitzenreiter
2fce30e6a8 binutils: add PT_PAX_FLAGS patch. 2013-08-31 11:14:10 +02:00
Arne Fitzenreiter
62a430f93f toolchain: fix build on arm with hardfloat host distro. 2012-08-28 08:21:47 -04:00
Michael Tremer
fc5076e3d2 binutils: Prevent to install libiberty.a to lib64. 2012-08-15 21:03:25 +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
1d627130ec binutils: Format configure argument list. 2012-08-12 12:25:21 -04:00
Michael Tremer
35a8f5f0a5 toolchain: Cross build binutils. 2012-08-11 17:51:12 -04:00
Michael Tremer
e10e39ce47 binutils: Add --disable-initfini-array to fix a build problem in glibc. 2012-08-07 12:12:44 +02:00
Michael Tremer
93cb6ff233 binutils: Update to 2.22. 2012-08-06 22:02:45 +02:00
Arne Fitzenreiter
538ce515fd binutils: fix toolchain build on arm. 2011-09-23 14:41:27 +00:00
Michael Tremer
7b321c2cbe Merge remote branch 'origin/next' into arm-port
Conflicts:
	config/rootfiles/common/i586/gcc
	lfs/binutils
	lfs/cleanup-toolchain
	lfs/coreutils
	lfs/gcc
	lfs/glibc
	lfs/groff
	src/pakfire/pakfire.conf
	src/patches/gcc-4.1.2-specs-1.patch
2011-09-18 02:58:34 +02:00
Michael Tremer
cc72d5cbcc Introduce MACHINE_TYPE to lfs files. 2011-09-15 23:55:16 +02:00
Arne Fitzenreiter
3529923589 toolchain: cpu-type fixes. 2011-09-11 09:25:16 +02:00
Michael Tremer
51f9e7ace1 Add support to build an ARM toolchain. 2011-09-02 12:06:09 +00:00
Arne Fitzenreiter
965018f4ff binutils: update to 2.18. 2011-08-17 16:35:21 +02:00
Arne Fitzenreiter
46c2a9e353 Fix full-toolchain build on fedora14. 2011-05-10 14:31:37 +02:00
Arne Fitzenreiter
da7a017737 Fix full toolchain build 2009-04-15 13:52:54 +02:00
Arne Fitzenreiter
1bffd938cb Updated binutils to 2.17 2009-04-14 16:55:22 +02: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
a50d04ab1c Installer-Toolchain nochmals ueberarbeitet.
Kompiliert wenigstens schonmal durch...


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@373 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-01-01 10:49:07 +00:00
ms
bc9f0c12b3 Ich hab mal ueber die Feiertage nen kleinen Rewrite von dem Installersystem gemacht.
Ich hoffe somit mal das locale-Problem in den Griff zu bekommen.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@369 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-12-25 20:53:27 +00:00
ms
857d9bf244 Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@305 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-08 14:39:28 +00:00
ms
f97be0a636 Zwischencommit fuer LFS. GCC und Binutils fixed.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@304 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-06 09:08:18 +00:00