Commit Graph

75 Commits

Author SHA1 Message Date
Xi Ruoyao
d8c2d84f9b
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-24 20:26:42 +08:00
Xi Ruoyao
46b5c6b63b
gcc: Fix libcc1 description
libcpp is the preprocessor library, but it's a static library which is
only used by GCC itself and not installed.

libcc1 is actually a library for GDB to "compile" expressions, so we can
use fancy expressions in commands, like "print sin(x + 2.0)": the
expression sin(x + 2.0) needs to be "compiled" for evaluation.
2024-01-22 03:21:08 +08:00
Xi Ruoyao
9f894d5ab9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-20 02:08:26 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Xi Ruoyao
6786b0cde8
arm64: gcc: Update the comment for xtreme-* test failure 2023-08-29 20:48:25 +08:00
Xi Ruoyao
b6ff6a8c95
arm64: Document new g++.dg/modules/xtreme-* failures 2023-08-28 23:57:25 +08:00
Xi Ruoyao
64e8131dd8
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-08-27 11:06:02 +08:00
Xi Ruoyao
cfcc2fe6cd
gcc: Fix a grammar error in text 2023-08-16 12:26:14 +08:00
Bruce Dubbs
f7d3b6ed21 Package updates.
Update to xz-5.4.4.
Update to less-643.
Update to meson-1.2.1.
Update to linux-6.4.10.
Update to iana-etc-20230810.
Update to pkgconf-2.0.1.

All build times and sizes were also checked and updated as needed.
2023-08-14 13:47:25 -05:00
Xi Ruoyao
f40b2e7be5
gcc: Document new test failures with Glibc-2.38
Well, the analyzer failures are introduced by literally *my* Glibc
change [1] and I'll sort them out for GCC 14...

And the ASAN failures seem caused by the introduction of
__isoc23_strtol (the libsanitizer does not know to intercept it).  I'll
test with LLVM once I reach it in BLFS (LLVM is the upstream of
libsanitizer) and make a bug report.

limits-exprparen.c also fails to me, it needs "ulimit -s 65536" instead
of "ulimit -s 32768" in my build but maybe it's caused by my custom
*FLAGS.

[1]:https://sourceware.org/git/?p=glibc.git;a=commit;h=71d9e0fe766a
2023-08-02 14:05:51 +08:00
Bruce Dubbs
6de383a262 Package updates.
Update udev-lfs tarball to remove obsolete
       cdrom rules and references to ISDN devices.
Update to wheel-0.41.0 (Python Module).
Update to tar-1.35.
Update to systemd-254.
Update to meson-1.2.0.
Update to linux-6.4.7.
Update to gcc-13.2.0.
Update to file-5.45.
2023-07-28 19:23:11 -05:00
Xi Ruoyao
0eb03e9da7
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-06-28 04:59:47 +08:00
Xi Ruoyao
0fe3bb04a7
Create man page symlinks for awk, cc, pkg-config, and lex 2023-06-21 14:35:58 +08:00
Xi Ruoyao
e131becf8f
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-05-19 14:34:49 +08:00
Bruce Dubbs
fb5f62be63 Speling 2023-05-18 15:33:34 -05:00
Xi Ruoyao
6feda35983
arm64: gcc: Update test info for 13.1.0
I've (personally) fixed those failures about SSP or PIE.  It seems the
test result is much cleaner now (except hwasan issue).
2023-05-15 18:33:18 +08:00
Xi Ruoyao
45d1335cbe
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-05-14 19:38:32 +08:00
Xi Ruoyao
6d4ba5f08a
gcc: Note some additional test failures 2023-05-13 15:09:44 +08:00
Xi Ruoyao
465ada75f3
gcc: Add libhwasan and libstdc++exp into contents and short desc
TODO: HWAsan needs Linux 6.4 (not released yet) and a recent Intel CPU.
So it the kernel and hardware support is available, we may see more
test failures.  I'll try it out on my new system...
2023-05-03 11:15:43 +08:00
Xi Ruoyao
9781ec5bae
gcc: Document the meaning of --disable-fixincludes 2023-05-02 22:49:48 +08:00
Xi Ruoyao
050335d4bd
gcc: Update known test failures for GCC 13 2023-05-02 21:25:09 +08:00
Bruce Dubbs
5336349498 Typo 2023-05-01 22:37:19 -05:00
Bruce Dubbs
04be2abd11 Package updates.
Update to vim-9.0.1503.
Update to iana-etc-20230418.
Update to sysvinit-3.07.
Update to iproute2-6.3.0.
Update to linux-6.3.1.
2023-05-01 12:48:53 -05:00
Bruce Dubbs
bd5b888ad3 Create new branch for gcc13 2023-04-27 10:01:17 -05:00
Xi Ruoyao
60f6d26fb6
arm64: gcc: Comment out 32-bit x86 sanity check results 2023-03-01 10:08:28 +08:00
Xi Ruoyao
19eb392776
arm64: gcc: Update known test failures 2023-03-01 10:06:39 +08:00
Xi Ruoyao
a747ea2a67
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-12-09 15:53:09 +08:00
David Bryant
30f3041a7d Rewrote a cumbersome sentence to make it clearer. Capitalized the
names of packages. Clarified verbiage in re PIE & ASLR. Improved the
description of SSP, and tightened it up. Clarified the instructions
for running tests concurrently. Modified descriptions of tests that
fail. Patched up punctuation. Spelled "set up" correctly: "setup" is
a noun. The phrasal verb used here is spelled as two words. Use the
word "directives" to describe "#include" and similar preprocessor
instructions. Add periods to some otherwise complete sentences.
2022-11-22 16:19:04 -06:00
Xi Ruoyao
54eb9b78da
arm64: gcc: document test failures with PIE/SSP 2022-09-24 15:38:53 +08:00
Xi Ruoyao
f4facc457f
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2022-09-24 00:06:19 +08:00
Bruce Dubbs
670f55f539 Typos 2022-09-19 15:38:35 -05: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
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
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
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
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
Xi Ruoyao
0d3452ac89
arm64: gcc: update sanity check output
It looks like a simple "s/x86_64-pc/aarch64-unknown/".
2022-08-26 20:31:33 +08:00
Xi Ruoyao
317f014c21
arm64: gcc: document test failures 2022-08-26 20:31:33 +08:00
Xi Ruoyao
8b9efe6786
arm64: update ELF loader paths
See https://sourceware.org/glibc/wiki/ABIList#aarch64.
2022-08-26 20:31:32 +08:00
Xi Ruoyao
9334a3f2dc
arm64: adapt GCC lib64 -> lib quirk for aarch64 2022-08-26 20:31:32 +08:00
Bruce Dubbs
f2af13d7a0 Intermediate update prior to lfs-11.2-rc1 2022-08-20 10:35:01 -05: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
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
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
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
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