Commit Graph

302922 Commits

Author SHA1 Message Date
palle ce4c8804b1 Update build instructions for Solaris 11.3 hosts 2023-08-24 19:30:48 +00:00
andvar 8bc05faa38 s/defaut/default/ in comments. 2023-08-24 14:56:03 +00:00
andvar c06ffc206b s/defult/default/ 2023-08-24 14:53:02 +00:00
andvar d3b53f2689 s/MC_DFEAULTHZ/MC_DEFAULTHZ/ for alpha specific default rate definition. 2023-08-24 14:21:40 +00:00
wiz f332bfe366 zlib-1.3 is out 2023-08-24 06:35:57 +00:00
rin 7cacb6761a jemalloc_stub.c: Forgot to update comment. No binary changes. 2023-08-24 06:31:19 +00:00
rin f8b4e528be bsd.own.mk: Switch mips64e[bl] to binutils 2.39 again
Potential fix for PR toolchain/57241 has been committed.
Let us see whether this works fine or not.
2023-08-24 06:18:07 +00:00
rin 68ccb2e473 binutils: mknative mips64e[bl] correctly
The previous version was very broken; SIZEOF_* seem like LP64, even
though this should be, and had been configured for n32 userland.

May fix random build failures reported as PR toolchain/57241.

XXX
There still remain oddies. mknative again soon with update for
configure scripts.
2023-08-24 06:14:56 +00:00
rin a2b123032a jemalloc_stub.c: Provide stubs for HAVE_JEMALLOC > 100
Instead of HAVE_JEMALLOC != 100. Just for sure.
2023-08-24 06:04:40 +00:00
rin aff4e455a9 libjemalloc: Compile in empty jemalloc_stub.c for HAVE_JEMALLOC=100
Fix strange parallel build failures observed on vax and sun2, which
should be due to empty SRCS.

No functional changes as library itself.
2023-08-24 06:02:44 +00:00
rin 1330871fbe t_ptrace_core_wait.h: Increment PC after trap, also for riscv
Fix *:core_dump_procinfo tests for riscv64.
2023-08-24 05:55:25 +00:00
rin d1f3632e87 riscv: tests/lib/csu: Fix typo in check_stack_alignment()
Now, all tests in tests/lib/csu successfully pass for riscv64.
2023-08-24 05:51:55 +00:00
rin ca4bf86fa8 riscv: cpu_setmcontext: Do not unconditionally update tp register
Conserve tp register for _UC_CPU and update later if _UC_TLSBASE is
specified. This is what powerpc does, which also uses a general
purpose register for TLS pointer.

Found by tests/lib/libpthread/t_swapcontext:swapcontext1, which
successfully passes now.
2023-08-24 05:46:55 +00:00
rin 149c01cf1c riscv: Add PTRACE_BREAKPOINT and friends for ATF
Since its size must be determined a priori, explicitly use
c.ebreak for sure.

Now, related tests in ATF successfully pass for riscv64,
as far as I can see.
2023-08-24 05:40:08 +00:00
rillig eb08e01b67 tests/compat/linux: fix typo in comment 2023-08-23 20:05:05 +00:00
riastradh d7414011d3 gdb/psim: Suppress typedef-redefinition errors in the clang build.
Seems clang disagrees with gcc about whether this is allowed under
-std=gnu99.
2023-08-23 19:42:25 +00:00
christos ba958ad86f put variable length structure at the end, so that clang does not complain. 2023-08-23 19:17:59 +00:00
rillig a492c0963b base64: getc and fputc are specified to return EOF, not -1
No binary change.
2023-08-23 19:16:14 +00:00
palle 8ff2783e9b Update build instructions for Solaris 11.3 hosts 2023-08-23 19:09:53 +00:00
rin 916b154777 libkvm: whitespace 2023-08-23 14:00:11 +00:00
rin 6f96d21f98 bpf: Fix SIZEOF_BPF_HDR (for LP64 userland) on mips64
It cannot fit within 18 bytes, of course ;)

As we had never provided working bpf(4) implementation for LP64
userland on mips, just use natural structure size here.
2023-08-23 13:21:17 +00:00
rin 6c2fafb153 libexecinfo: whitespace, missing RCSID, no binary changes 2023-08-23 12:24:59 +00:00
rin 1dbc3f1d79 libunwind: Drop unused/wrong reg_t typedef for alpha 2023-08-23 10:40:10 +00:00
rin 47d267cb66 gdb/mips: Supply zero register as done for other OSes
With this change, gdb/mips 13 becomes working to some extent,
at least for mips{,n}64eb.
2023-08-23 10:37:46 +00:00
rin 51157c88ac mail: Fix regression for recent use-after-free fix
For makemessage(), do not skip thread_fix_old_links() for
newly-allocated message as before.

Thanks jun@ for report.
2023-08-23 03:49:00 +00:00
christos a7f1bde315 Remove PROGDPLIBSSTATIC from ec and threads; dh still needs it because it
references internal symbols in libcrypto like ossl_dh_compute_key which
have been made static by the linker script (they are still visible in the
archive version).
2023-08-22 17:27:48 +00:00
christos 6ecdc2761e aarch64 does not have sys_inotify_init()... 2023-08-22 12:02:34 +00:00
christos 62f0fb475e remove compat linux debugging sets (again) 2023-08-22 11:56:49 +00:00
andvar c27785fcfe remove global sndebug definition. looks like historical leftover replaced
by SNDEBUG definition.
2023-08-22 08:33:50 +00:00
andvar ce23af690a newsmips: fix build with SNDEBUG option enabled.
It was broken since rev 1.21 24 years ago, and got more broken code later on:
remove leftover device_xname(sc->sc_dev) param from aprint_debug_dev in one block.
fix wrong method name devoce_xname to device_xname in second block.
rename et to eh for consistency, and define it (definition was removed in the past).
while here, improve the code with riastradh help to make it safer.

pullup to at least netbsd-10 is needed.
2023-08-22 07:13:33 +00:00
rin ee1dd380bf riscv/trap.c: Dump cause register for unhandled page fault 2023-08-22 07:11:15 +00:00
rin aedae9d693 riscv/trap.c: Handle userland breakpoint exception
Now, gdb 13 works for riscv64 to some extent :)
2023-08-22 07:10:39 +00:00
macallan 433d001a85 tsleep()/wakeup() -> cv_* 2023-08-22 06:43:34 +00:00
rin 142ea824f9 gdb/aarch64: Fix misplaced comment. No binary changes. 2023-08-22 06:22:36 +00:00
rin 26ff2d23d5 gdb/riscv: Specify lwpid for PT_[GS]ETREGS 2023-08-22 06:20:32 +00:00
rin e4d4de6a73 gdb/bfd: Add support to NetBSD-style core file for riscv 2023-08-22 06:16:50 +00:00
rin c6043cc0c0 gdb/bfd: mknative riscv{64,32} 2023-08-22 06:14:06 +00:00
rin 16019c8df2 gdb/bfd: Stop compiling in useless netbsd-core.c for riscv
netbsd-core.c is for the old-style core format, which has
never been used for riscv.

Note that:
- binutils/bfd does not use this file for riscv.
- Up-to-date core file format is supported by elf.c.
2023-08-22 06:12:10 +00:00
rin 9b45ffed94 t_ipsec_{gif,l2tp}: Adjust for tcpdump 4.99.4
It does not longer output redundant `` (ipip-proto-4)'':
cba9b77a98

Now, these tests become passing again.

Thanks mlelstv@ for finding out upstream commit.
OK ozaki-r@
2023-08-22 05:40:50 +00:00
christos a183ba5d34 add inotify tests, sort 2023-08-21 22:37:17 +00:00
christos ad38bef429 Add inotify (thanks Ryo) 2023-08-21 19:43:22 +00:00
palle d189132c86 PR57519: Fix awk script script (escape opening curly) so building with non-gnu versions of awk is possible (e.g. Solaris 11.4) 2023-08-21 18:46:57 +00:00
nia befa299d89 doc: ch-ch-changes 2023-08-21 10:10:39 +00:00
martin 9aeda966c7 Remove the compat linux (linux binaries) helpers *.debug files - they
are not installed (and probably would be useless if they were)
2023-08-21 09:54:07 +00:00
dholland 52043314dd paxctl(8): it is not a bug that paxctl settings are persistent.
Nor is it a bug that they're applied to the file rather than stored in
some magic secret database where they survive reinstalls, which the
prior wording seems to suggest was the eventual intention.

It is worth noting that they change the target file, so still say that.
2023-08-21 00:41:49 +00:00
rillig 0871f1c309 tests/make: show a difference between 'export' and '.export' 2023-08-20 20:48:32 +00:00
sjg 90280d3b93 make.1: note that %s should only be used with :localtime 2023-08-20 19:58:15 +00:00
riastradh 1b6a62ea92 distrib/sets/lists/tests: Correction: h_inotify_* are MI.
Debug lists are probably still wrong, though -- looks like there's no
rule to change h_inotify_*.out.debug to h_inotify_*.debug.  Out of
energy to look into this further, though; please fix me!
2023-08-20 19:36:56 +00:00
christos ed30ecde8c fix locking: eliminate using mutex_owned() (Theodore Preduta) 2023-08-20 18:09:25 +00:00
christos 812b354ccc add inotify (forgot to commit this) 2023-08-20 18:08:57 +00:00