Thomas Trepl (Moody)
c093e6b9d5
Automatic merge of trunk into multilib
2022-10-02 00:30:12 +02:00
Bruce Dubbs
670f55f539
Typos
2022-09-19 15:38:35 -05:00
Thomas Trepl (Moody)
9d18322451
Automatic merge of trunk into multilib
2022-09-14 00:30:10 +02:00
Xi Ruoyao
0d487e09e6
gcc: update sanity check command and output for default PIE
...
Scrt1.o is used for PIE, instead of crt1.o.
2022-09-14 00:03:45 +08:00
Thomas Trepl (Moody)
21a9c25f43
Automatic merge of trunk into multilib
2022-09-13 14:07:02 +02:00
Xi Ruoyao
fb5ad92588
gcc: document that libssp is normally unused
...
We are enabling default SSP now, so if someone runs "ldd /usr/bin/true"
and see libssp is not used he/she may be puzzled.
2022-09-13 17:59:05 +08:00
Thomas Trepl (Moody)
1835fca016
Adopt PIE/SSP changes
2022-09-13 10:07:14 +02:00
Thomas Trepl (Moody)
c49c1fb77f
Automatic merge of trunk into multilib
2022-09-12 00:30:10 +02:00
Pierre Labastie
7bd0378b41
Remove trailing spaces
2022-09-11 18:54:49 +02:00
Xi Ruoyao
c10a327376
gcc: fix link to PIE & SSP note
...
DocBook does not handle xref to note properly (#pie-ssp-info not
generated).
2022-09-11 13:57:47 +08:00
Xi Ruoyao
e502de1ab0
gcc: some reword of PIE/SSP/ASLR note
...
Expand tabs to 8 spaces like everywhere else in the book.
Explain that shared libraries are already covered by ASLR, PIE expands
the ASLR to cover the exetutables.
In 2022, stack smashing attackings are mostly constructing a sequence of
faked returning addresses to exectute a series of function already
existing in the programs or libraries itself (ret2lib). Returning into
the code injected by the attacker is almost impossible because on
i686 (with a PAE/NX enabled kernel) or x86_64, running injected code
needs W/X mappings and those are very rare these days.
2022-09-11 11:35:06 +08:00
Thomas Trepl (Moody)
530771a7bb
Automatic merge of trunk into multilib
2022-09-11 00:30:11 +02:00
Pierre Labastie
1bade3f439
Document the --enable-default-pie/ssp options
...
Also document test failures in gcc chapter 8
2022-09-10 13:41:38 +02:00
Thomas Trepl (Moody)
3c20ad9381
Automatic merge of trunk into multilib
2022-09-10 00:30:10 +02:00
Pierre Labastie
0611f706d5
Use default-pie and default-ssp flags in gcc
...
Committing only the commands for now, so that others can test the
build. TODO:
- add command explanations
- add changelog
- comment on failing tests in binutils and gcc
2022-09-09 16:15:06 +02:00
Thomas Trepl (Moody)
192dda3521
Automatic merge of trunk into multilib
2022-08-23 21:34:26 +02:00
Bruce Dubbs
f2af13d7a0
Intermediate update prior to lfs-11.2-rc1
2022-08-20 10:35:01 -05:00
Thomas Trepl (Moody)
3ebe8768cc
Merge upstream
2022-08-07 11:00:44 +02:00
Bruce Dubbs
1b11115cd2
Package updates.
...
Update to binutils-2.38.
Update to util-linux-2.38.1.
Update to Python3-3.10.6.
Update to glibc-2.36.
2022-08-06 17:40:17 -05:00
Thomas Trepl (Moody)
3a72ffa858
Adopt upstream changes
2022-05-11 08:56:48 +02:00
Xi Ruoyao
6edc3b46e0
gcc-12: update test status
...
The analyzer tests fixed at https://gcc.gnu.org/r12-7119 .
The PR100400 status is discussed in the thread started with
https://gcc.gnu.org/pipermail/gcc-patches/2022-May/593931.html .
2022-05-07 10:51:21 +08:00
Xi Ruoyao
bd08757bab
gcc-12: remove unnecessary workaround for PR91085
...
Reference: https://gcc.gnu.org/r12-1924
2022-05-07 05:20:53 +08:00
Thomas Trepl (Moody)
481b2e0584
Merge upstream
2022-05-02 14:52:30 +02:00
Bruce Dubbs
813ab55675
Package updates and nobody uid change.
...
Change nobody/nogroup uid/git to 65534.
Update to meson-0.62.1.
Update to libpipeline-1.5.6.
Update to elfutils-0.187.
Update to Jinja2-3.1.2.
Update to vim-8.2.4814.
Update to sysvinit-3.03.
Update to linux-5.17.5.
Update to gcc-11.3.0.
Update to coreutils-9.1.
Update to bc-5.2.4.
2022-04-30 09:38:48 -05:00
Thomas Trepl (Moody)
02c702c62e
Automatic merge of trunk into multilib
2022-03-17 15:30:05 +01:00
Thomas Trepl (Moody)
d9bec1e96a
Automatic merge of trunk into multilib
2022-03-17 15:28:37 +01:00
Xi Ruoyao
9c4380393e
gcc: use $(gcc -dumpmachine) instead of *linux-gnu
...
It's consistent with other commands in the same page, and also helpful
for porting to targets with different triplets (-musl or -gnuabi64).
2022-03-05 03:03:19 +08:00
Xi Ruoyao
a4f63e494b
remove adjusting.xml
...
Now adjusting.xml only serves as a historical reference, and a "snip
library" for gcc.xml. Put all relevant content into gcc.xml directly
and remove adjusting.xml. If someone needs a historical reference, he
can always get adjusting.xml in Git history.
2022-02-27 23:36:55 +08:00
Thomas Trepl (Moody)
77ea132a9f
Automatic merge of trunk into multilib
2022-02-18 05:45:10 +01:00
Xi Ruoyao
e5b4b3fff6
gcc: update contents and descriptions
...
Add lto-dump and libitm, and reword description for liblto_plugin
because it's actually used by libbfd (from binutils).
2022-02-17 19:39:07 +08:00
Thomas Trepl (Moody)
2590473cf0
Automatic merge of trunk into multilib
2022-02-06 05:45:15 +01:00
Xi Ruoyao
51e4ab228f
gcc: add "or later" for "Glibc-2.34", as we have 2.35 now
2022-02-05 17:03:36 +08:00
Thomas Trepl (Moody)
d960243410
Switch --with-isl not even required (gets pulled automatically if installed in standard location)
2022-01-21 18:44:16 +01:00
Thomas Trepl (Moody)
c4595c3bd1
Fix usage of ISL in gcc
2022-01-20 23:31:05 +01:00
Thomas Trepl (Moody)
d352b982d6
Automatic merge of trunk into multilib
2021-11-01 05:45:09 +01:00
Bruce Dubbs
1f201845a3
Package updates
...
Update to gawk-5.1.1.
Update to meson-0.60.0.
Update to libcap-2.60.
Update to gdbm-1.22.
Update to file-5.41.
Update to linux-5.14.15.
Update to iana-etc-20211025.
Update to tzdata-2021e.
Change /bin to /usr/bin in passwd, and revisedchroot.
Fix systemd for new meson.
2021-10-31 14:00:21 -05:00
Thomas Trepl (Moody)
716db1f765
Merge upstream
2021-09-20 09:37:34 +02:00
Pierre Labastie
d672ab7d66
Remove spaces at end o lines - chapter08
2021-09-07 22:33:18 +02:00
Thomas Trepl (Moody)
eeecd8910f
Automatic merge of trunk into multilib
2021-08-13 09:26:01 +02:00
Xi Ruoyao
89250241d4
minor typo
2021-08-13 12:24:15 +08:00
Thomas Trepl (Moody)
81f8f6e436
Automatic merge of trunk into multilib
2021-08-07 05:45:09 +02:00
Xi Ruoyao
a04b3d3931
gcc: fix PR101749
...
https://wiki.linuxfromscratch.org/blfs/ticket/15350
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101749
2021-08-06 21:37:01 +08:00
Thomas Trepl (Moody)
31ff88ba10
Automatic merge of trunk into multilib
2021-08-03 16:09:11 +02:00
Xi Ruoyao
2cc15c335f
gcc: document new test failures with glibc-2.34
...
The links to gcc bugzilla is in XML comments.
2021-08-03 20:53:14 +08:00
Thomas Trepl (Moody)
6ff520fb98
Automatic merge of trunk into multilib
2021-08-02 05:45:10 +02:00
Bruce Dubbs
c2d234220b
Update test results for several packages.
...
Most of the changes were removing documentation of failed tests
that no longer fail.
2021-08-01 12:53:19 -05:00
Thomas Trepl (Moody)
00e8b5325a
Merge upstream changes
2021-07-28 15:43:47 +02:00
Xi Ruoyao
7f9a48070e
package update
...
Update to GCC-11.2.0 (#4883 )
Update to inetutils-2.1 (#4892 )
Update to automake-1.16.4 (#4894 )
SHA256 checksum entities for the three packages are added. I think we
can start a transition to SHA256 now.
2021-07-28 19:01:48 +08:00
Thomas Trepl (Moody)
cf65195a94
Automatic merge of trunk into multilib
2021-07-02 09:18:52 +02:00
Bruce Dubbs
d8a492a200
Fix gcc patch name in Chapter 8.
2021-07-01 16:24:16 -05:00
Ken Moffat
33505d67f8
Patch gcc :
...
Fix some regressions, and cope with removal of a kernel header in
linux-5.13 which broke the build in chapter 8's bootstrap.
2021-07-01 19:34:12 +01:00
Xi Ruoyao
e3d0e26c73
gcc: correct desc of locale related tests
2021-06-30 11:52:11 +08:00
Xi Ruoyao
3d08653292
gcc: correct the desc of constexpr-52830 XPASS and FAIL
2021-06-30 11:47:09 +08:00
Ken Moffat
cefe50534a
Add more locales used in gcc's libstdc++ testsuite.
2021-06-29 01:28:36 +01:00
Thomas Trepl (Moody)
c5750ecfca
Automatic merge of trunk into multilib
2021-06-23 05:45:09 +02:00
Ken Moffat
075d35fb3d
Some updates re test failures.
2021-06-22 21:56:42 +01:00
Thomas Trepl (Moody)
6a724046cf
Automatic merge of trunk into multilib
2021-06-10 05:45:09 +02:00
Ken Moffat
9c3ce2ac8b
For consistency, make the cpp link in /usr/lib.
2021-06-09 19:34:33 +01:00
Thomas Trepl (Moody)
0ebda11158
Remove entities for multilib pathes
...
Add usage of libc_cv_rtlddir
2021-05-14 12:47:43 +02:00
Thomas Trepl (Moody)
df462a9511
Merge pre-LFS-11-0 changes
2021-05-12 07:26:46 +02:00
Douglas R. Reno
d7a942197e
Merge Xi's changes into trunk
...
Update to meson-0.58.0
Update to systemd-248
Update to gcc-11.1.0
Update to linux-5.12.1
Update to iproute2-5.12.0
Update to Python-3.9.5
Make /bin, /sbin, and /lib symlinks to their counterparts in /usr.
Thanks again for a significant portion of this work goes to Xi, I only
really merged it and made a couple of modifications for my updates. To
LFS 11.x we go!
2021-05-11 23:24:11 -05:00
Thomas Trepl
9da9d0146a
Merge changes from trunk to multilib
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12118 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:41 +08:00
Thomas Trepl
4ea78e038f
Merge changes from trunk to multilib
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12021 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
032dc4e8e8
Merge changes from trunk to multilib
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12012 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:40 +08:00
Thomas Trepl
6dfcfecca3
Update to new lfs structure
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-03-31 18:41:39 +08:00
Xi Ruoyao
f36db31a45
ch08/gcc: /usr/lib/bfd-plugins is already created by binutils
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12116 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-03 03:00:59 +00:00
Bruce Dubbs
d89ac35722
Tweak a comment
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12110 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2021-02-02 17:01:48 +00:00
Xi Ruoyao
1d527ce6ff
chapter08/gcc: typo
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12015 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-08 11:39:38 +00:00
Bruce Dubbs
c8fd7fe8f6
Update to vim-8.2.1361.
...
Update to glibc-2.32.
Update to bison-3.7.1.
Update to bc-3.1.5.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12011 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-08-06 17:14:46 +00:00
Pierre Labastie
6e18f2f842
Move iana-etc and the creation of a test /etc/hosts earier in the build, so
...
that 2 more gcc tests pass.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-14 20:03:03 +00:00
Bruce Dubbs
6a156bab1b
Mostly text updates in Chapter 8.
...
There are a couple of minor command changes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11924 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-12 04:40:07 +00:00
Thomas Trepl
fb386e05f1
Rename package entities to be independent of chapter numbering
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11921 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-11 12:55:28 +00:00
Pierre Labastie
a89ab79538
Add an explanation for LD=ld in the final gcc configure parameters
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11909 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-09 07:57:40 +00:00
Bruce Dubbs
fcc027677d
Initial commit of alternative cross LFS
...
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2020-06-07 20:16:00 +00:00