summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-05-21Add script for testing ipconfigHEADmasterBen Hutchings1-0/+120
2023-02-12status.md: Add results with QEMU 7.2Ben Hutchings1-0/+20
QEMU 7.2 has some regressions, but earlier versions don't emulate the time64 system calls for 32-bit architectures.
2023-02-12status.md: Add versions 2.0.11, 2.0.12Ben Hutchings1-1/+1
2023-01-14test-many-klibcs: Apply timeout to test programsBen Hutchings1-1/+1
Sometimes bugs cause test programs to run indefinitely. Use timeout to kill them after 30 seconds, which should be long enough for any one test program to complete.
2023-01-14test-many-klibcs: Run strsearch test programBen Hutchings1-0/+1
2022-10-02status.md: Update test failuresBen Hutchings1-3/+6
- arm64 builds with LLVM now seem to be fine - mipsisa64r6{,el} fails to build (not a regression) - sh4 builds have regressed with gcc 12, and all test programs hang (at least under QEMU)
2022-08-28test-many-klibcs: Add MIPS r6 variantsBen Hutchings1-0/+8
As if there weren't enough already...
2022-08-06status.md: Update for regression fixed on arm64Ben Hutchings1-3/+1
2022-08-04status.md: Add status with current git masterBen Hutchings1-0/+15
I fixed the build failure, but not the arm64 problems. Nothing seems to have regressed.
2022-08-04status.md: Add regressions of 2.0.10 with current kernel and toolchainsBen Hutchings1-0/+4
2022-08-04test-many-klibcs: Re-enable mips build with GNU toolchainBen Hutchings1-2/+1
Debian has a cross-compiler again.
2022-08-03test-many-klibcs: Add m4, git to requirementsBen Hutchings1-0/+2
2021-12-30Add summary of test statusBen Hutchings1-0/+52
2021-12-30test-many-klibcs: Always use GNU ld for ppc64Ben Hutchings1-2/+2
Yet another architecture where LLD 13 fails. I didn't investigate this very far but it looked like the global register was not being initialised correctly.
2021-12-29test-many-klibc: Always use GNU ld for mips and mips64Ben Hutchings1-4/+4
LLD 13 is somehow replacing nops in branch delay slots with trap instructions (sigrie). For now, test MIPS builds with a mixed toolchain instead of pure LLVM.
2021-12-29test-many-klibcs: Disable CONFIG_REGPARM as broken on llvm/i386Ben Hutchings1-1/+1
When Clang 13 optimises printf() to puts() - and presumably in other similar cases - it ignores the use of -mregparm and puts arguments on the stack. For now, disable CONFIG_REGPARM in this configuration.
2021-12-29test-many-klibcs: Make sure shell runs external commands with local QEMUBen Hutchings1-5/+8
Due to bugs in QEMU user-mode emulation, I want to be able to run all klibc tests with a locally built QEMU in a chroot or container, and not whatever version the host may have registered with binfmt_misc. Currently run_built explicitly invokes QEMU, but the shell test invoking an external command does not. Fix that.
2021-12-29test-many-klibcs: Don't patch longer interpreter name into test execsBen Hutchings1-2/+5
Patching in a longer interpreter name may cause the base load address to be lower, which results in failure to map the executable on some architectures. Shorten the name by: - Creating a symlink "k.so" in the build directory to klibc.so - Using the relative filename of k.so
2021-12-27test-many-klibc: Always use GNU ld for riscv64, s390x, and sparc64Ben Hutchings1-4/+23
* LLD 13 doesn't implement linker relaxation for RISC-V, which makes it fairly useless. Having made relaxation work, I don't want to go back and make it conditional. * LLD 13 doesn't seem to handle SPARC-specific relocations yet. * Debian's build of LLD 13 doesn't seem to include IBM Z (s390x) support. So introduce a "mixed" toolchain of Clang + GNU ld, and test that instead of pure LLVM for these architectures.
2021-12-27test-many-klibcs: Add options to limit which configurations are testedBen Hutchings1-0/+69
Testing all configurations takes quite a long time, so currently I make local edits to limit which configurations are tested. This is silly. Add command-line options to do this.
2021-12-26test-many-klibs: Update armhf compiler options for gcc 11Ben Hutchings1-1/+1
With the current options, gcc 11 complains: cc1: error: '-mfloat-abi=hard': selected architecture lacks an FPU We explicitly specify the architecture version (v7-A), and now must also explicitly enable VFP as an extension to that.
2021-12-26test-many-klibc: Disable mips as Debian no longer provies a cross-compilerBen Hutchings1-1/+2
2020-08-29test-many-klibc: Don't clean the build directory after a failureBen Hutchings1-1/+1
After a build or test failure it's useful to leave the build directory behind for investigations.
2020-08-29test-many-klibcs: Use patchelf to allow running shared-library binariesBen Hutchings1-58/+11
Building a chroot requires using sudo, which is a bit unfortunate. Instead, use patchelf to edit the interpreter filename so we can run shared-library binaries without installing klibc.so.
2020-08-25test-many-klibc: Enable sparcBen Hutchings1-2/+1
Debian's sparc64 toolchain can still build for sparc 32-bit.
2020-08-25test-many-klibc: Change $makeflags to an array variableBen Hutchings1-9/+10
We will need to add arguments containing spaces, which is not possible at present.
2020-08-20test-many-klibc: Add tests using LLVM tools (clang and ld.lld)Ben Hutchings1-1/+33
These still mostly fail, but it's now possible to build for most architectures and run static executables for some.
2020-08-20test-many-klibcs: Prepare to add non-GNU toolsBen Hutchings1-48/+49
* Rename $gnuarch to $toolsarch * Rename build to build_gnu * Add a tools parameter to process, and pass "gnu" for now * Include tools name in build and log filenames
2020-08-20test-many-klibcs: Delete cris architectureBen Hutchings1-2/+0
It's no longer supported in klibc, and I couldn't actually test it due to lack of support in Debian.
2020-08-20test-many-klibcs: Add header comment for arguments to process functionBen Hutchings1-0/+1
2020-02-29test-many-klibcs: Re-enable mips big-endian configsBen Hutchings1-3/+2
Debian is providing cross-compilers for these again.
2019-10-07fixup! test-many-klibcs: Add comment about script dependenciesBen Hutchings1-0/+1
2019-10-07test-many-klibcs: Delete build directory before buildingBen Hutchings1-0/+1
Currently we clean the source directory. That's probably worth continuing to do, but in case I change the build configurations or tools the build directory really needs to be cleaned too.
2019-10-07test-many-klibcs: Add comment about script dependenciesBen Hutchings1-0/+5
2019-10-07test-many-klibcs: Disable mips 32-bit big-endianBen Hutchings1-3/+3
Debian removed it from the archive, and no longer provides a cross-compiler. If it comes back as an unofficial port we can enable it again.
2019-10-07test-many-klibcs: Remove powerpcspe, which is dead upstreamBen Hutchings1-1/+0
gcc 9 dropped support for it so Debian no longer has a cross-compiler package. (There is still some support in the kernel, but it was frequently broken in the past few years.)
2019-01-25test-many-klibcs: Build out-of-tree and don't clean every timeBen Hutchings2-13/+16
Out-of-tree builds are working again. We can build for each tested architecture in a separate directory and then don't need to clean between builds.
2019-01-21test-many-klibcs: Fix emulation of ppc SPE binariesBen Hutchings1-2/+12
We need to set an environment variable to make QEMU do the right thing.
2019-01-20Add .gitignore fileBen Hutchings1-0/+6
2019-01-20test-many-klibc: Use different log files for static and shared testsBen Hutchings1-1/+1
2019-01-20test-many-klibcs: Test shared library build in a chrootBen Hutchings1-26/+117
2019-01-20test-many-klibcs: Update patch to static dashBen Hutchings1-1/+1
2019-01-20test-many-klibcs: Enable parallel buildBen Hutchings1-1/+4
Parallel builds will make this less tedious.
2019-01-20newklibc: Customise for my usageBen Hutchings1-7/+3
* Change repo, signkey and releasedir * Remove setting of KUP_HOST in favour of .kuprc * Remove setting of PATH
2019-01-20newklibc: Include name and version in tag messagesBen Hutchings1-1/+1
The tag name is *not* part of the signed data, so we should specify the name and version in the message. Also fix the typo "relased".
2019-01-20newklibc: Use a securely-created temporary directoryBen Hutchings1-9/+3
Don't hardcode directory names in /tmp. Use mktemp -d to create a temporary directory and put everything under that.
2019-01-20newklibc: Add hpa's release scriptBen Hutchings1-0/+95
2019-01-20test-many-klibcs: Run i386 and x86_64 programs natively, not using qemuBen Hutchings1-2/+14
2019-01-20test-many-klibcs: Build and run (some) klibc self-test programsBen Hutchings1-6/+63
Only run self-test programs that don't require any input and have clear success/failure reporting. We can enable more later.
2019-01-20test-many-klibcs: Make per-arch variables global rather than localBen Hutchings1-19/+10
It's getting tedious to repeat the same assignments in multiple functions.
2019-01-18Add script to (cross-)build and test klibc for many architecturesBen Hutchings1-0/+92
This script assumes Debian conventions for cross-compilers etc.