Commit Graph

118 Commits

Author SHA1 Message Date
Thomas Trepl
2b810385f9 Set gcc default for building m32 objects with -mstackrealign 2024-11-08 18:56:24 +01:00
Thomas Trepl
d2eb97b78a Automatic merge of trunk into multilib 2024-08-28 00:30:14 +02:00
Bruce Dubbs
2b76c898f5 Minor wording change. 2024-08-27 10:44:59 -05:00
Xi Ruoyao
2ca7fca799
gcc: Don't decrease the stack limit
I've had doubts on this "ulimit -s 32768" command for years.  After
reading GCC code (libiberty/stack-limit.c) I'm pretty sure this command
is not doing what we expected.

In a typical Linux distro, the default "soft" stack limit is 8 MiB and
the default "hard" stack limit is infinite.  And GCC will automatically
increase the soft limit to 64 MiB if the original soft limit is smaller
than 64 MiB, and the hard limit is at least 64 MiB.  So with a typical
default configuration, the real stack limit of GCC is 64 MiB.

But our "ulimit -s 32768" command sets both the soft limit and the hard
limit to 32 MiB.  Thus we are actually *decreasing* the real stack
limit.  Fortunately this has not caused any test failures, but it's just
wrong (contradicting with the explanation of the command).

Thus just raise the hard limit to infinite in case the host distro uses
a not so typical configuration where the hard limit is tight, and let
GCC to set up the soft limit to the expected value on its own.  It's
more future-proof than "ulimit -s 65536" in case GCC changes the
expected stack limit in the future.

It should be safe to make the change in freeze because in jhalfs it only
affects the test suite, and even in a manual build the user can skip
this command if not running the GCC test suite.
2024-08-27 16:58:46 +08:00
Thomas Trepl
1d599b9f97 Adopt instructtion changes to ML 2024-05-12 16:13:33 +02:00
Thomas Trepl
bc33d9d7a0 Merge upstream 2024-05-12 09:26:02 +02:00
Bruce Dubbs
340e17adc6 Package updates.
Update to vim-9.1.0405.
Update to util-linux-2.40.1.
Update to linux-6.8.9.
Update to jinja2-3.1.4 (Python mpdule).
Update to iana-etc-20240502.
Update to gcc-14.1.0.
2024-05-11 15:17:56 -05:00
Thomas Trepl
44b216e805 Automatic merge of trunk into multilib 2024-02-19 00:30:10 +01:00
Xi Ruoyao
5f2ba8ce99
gcc: Decorate test failures, remove outdated comments, ...
move comments for upstream PR links to correct location.

BTW data-model-4.c is also in analyzer directory, so we can just say 7
analyzer tests.
2024-02-18 22:09:54 +08:00
Thomas Trepl
9bc9f437e1 Automatic merge of trunk into multilib 2024-02-15 00:30:09 +01:00
Bruce Dubbs
28614cdda5 Update descriptions for some test failures. 2024-02-14 15:41:22 -06:00
Thomas Trepl
5569a3e112 Automatic merge of trunk into multilib 2024-02-03 00:30:21 +01:00
Xi Ruoyao
9c73d91186
Remove -v from "chown -R tester" commands
It does no good: normally we have -v for chown so once it no longer has
an effect we can know, but in this case these chown commands will never
have no effect.  And a huge amount of output with -v wastes the server
storage and bandwidth (for both the server and the people reading the
build logs).
2024-02-02 15:19:41 +08:00
Thomas Trepl
bb1dfaf649 Automatic merge of trunk into multilib 2024-01-25 12:41:51 +01: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
Thomas Trepl
5d2d864a97 Automatic merge of trunk into multilib 2024-01-19 00:30:10 +01:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Thomas Trepl
6fd9f0658c Automatic merge of trunk into multilib 2023-08-17 00:30:11 +02:00
Xi Ruoyao
cfcc2fe6cd
gcc: Fix a grammar error in text 2023-08-16 12:26:14 +08:00
Thomas Trepl
2b17a82ddc Merge branch 'trunk' into multilib 2023-08-14 21:02:15 +02: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
Thomas Trepl
5c9689cc50 Synchronize instructions dft<-->ML 2023-08-09 09:20:57 +02:00
Thomas Trepl
3a4f80cf24 Merge branch 'trunk' into multilib 2023-08-02 09:54:10 +02: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
Thomas Trepl
da2e8cba81 Automatic merge of trunk into multilib 2023-07-29 09:05:05 +02: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
Thomas Trepl
4e2fc61312 Automatic merge of trunk into multilib 2023-06-22 00:30:10 +02:00
Xi Ruoyao
0fe3bb04a7
Create man page symlinks for awk, cc, pkg-config, and lex 2023-06-21 14:35:58 +08:00
Thomas Trepl
5e61857856 Automatic merge of trunk into multilib 2023-06-05 00:30:15 +02:00
Bruce Dubbs
fb5f62be63 Speling 2023-05-18 15:33:34 -05:00
Thomas Trepl
e233b61123 Automatic merge of trunk into multilib 2023-05-14 00:30:09 +02:00
Xi Ruoyao
6d4ba5f08a
gcc: Note some additional test failures 2023-05-13 15:09:44 +08:00
Thomas Trepl
5975e7e72e Automatic merge of trunk into multilib 2023-05-04 00:30:08 +02: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
Thomas Trepl
b98c8b8659 Automatic merge of trunk into multilib 2023-05-03 00:30:15 +02: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
Thomas Trepl
48df889753 Automatic merge of trunk into multilib 2023-05-02 05:58:54 +02:00
Bruce Dubbs
5336349498 Typo 2023-05-01 22:37:19 -05:00
Thomas Trepl
7a51953cac Automatic merge of trunk into multilib 2023-05-02 05:36:43 +02: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
Thomas Trepl
f0cbef54b1 Merge & fix conflicts 2022-11-23 10:45:41 +00: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
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