Page MenuHomeFreeBSD
Feed Advanced Search

Nov 13 2019

brooks added inline comments to D22357: Combine ELF sysvecs for MIPS to reduce code duplication..
Nov 13 2019, 11:24 PM
brooks accepted D22355: Add a sv_copyout_auxargs() hook in sysentvec..

LGTM. This makes much more sense.

Nov 13 2019, 11:19 PM
brooks committed rS354695: MFC r354420:.
MFC r354420:
Nov 13 2019, 10:26 PM
brooks accepted D22322: Conduct/reporting split.

The concept seems fine with me and IIRC no one objected at the last core meeting.

Nov 13 2019, 10:12 PM
brooks committed rS354694: elf_aux_info: Add support for AT_EXECPATH..
elf_aux_info: Add support for AT_EXECPATH.
Nov 13 2019, 9:52 PM
brooks closed D22353: elf_aux_info: Add support for AT_EXECPATH..
Nov 13 2019, 9:52 PM
brooks added a comment to D22353: elf_aux_info: Add support for AT_EXECPATH..

`

Nov 13 2019, 9:40 PM
brooks created D22353: elf_aux_info: Add support for AT_EXECPATH..
Nov 13 2019, 9:28 PM
brooks closed D22338: Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro..
Nov 13 2019, 6:11 PM
brooks committed rS354688: Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro..
Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro.
Nov 13 2019, 6:11 PM
brooks created D22338: Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro..
Nov 13 2019, 12:07 AM

Nov 12 2019

brooks committed rS354663: libcompat: Correct rtld MLINKS.
libcompat: Correct rtld MLINKS
Nov 12 2019, 10:32 PM

Nov 8 2019

brooks committed rS354523: Turn the error about a lack of LIBCOMPAT into a warning..
Turn the error about a lack of LIBCOMPAT into a warning.
Nov 8 2019, 3:14 AM

Nov 7 2019

brooks committed rS354519: Revert r354518 and commit the intented fix rather than the diagnostic.
Revert r354518 and commit the intented fix rather than the diagnostic
Nov 7 2019, 11:55 PM
brooks committed rS354518: Fix the ARCH check for LIB32 from Makefile.inc1..
Fix the ARCH check for LIB32 from Makefile.inc1.
Nov 7 2019, 11:50 PM
brooks committed rS354491: libcompat: build 32-bit rtld and ldd as part of "everything".
libcompat: build 32-bit rtld and ldd as part of "everything"
Nov 7 2019, 10:58 PM
brooks accepted D22271: Create /etc/os-release file..
Nov 7 2019, 10:20 PM
brooks committed rS354467: Fix declaration of S1 by swapping misplaced ',' and ';'..
Fix declaration of S1 by swapping misplaced ',' and ';'.
Nov 7 2019, 7:32 PM
brooks committed rS354466: Revert change accidentally included in r354465..
Revert change accidentally included in r354465.
Nov 7 2019, 7:28 PM
brooks committed rS354465: Revert r354449: libcompat: build 32-bit rtld and ldd as part of "everything".
Revert r354449: libcompat: build 32-bit rtld and ldd as part of "everything"
Nov 7 2019, 7:23 PM
brooks added inline comments to D22271: Create /etc/os-release file..
Nov 7 2019, 6:42 PM
brooks added a comment to D22147: Add freebsd-gcc6 port..
In D22147#486635, @jhb wrote:
In D22147#486621, @imp wrote:

Nothing caught my eye, though the PLIST is getting to be rather long and a bit of a PITA to deal with :(

What I would really like is to have a shared pkg-plist and separate pkg-plist.${TARGETARCH} files. There doesn't seem to be an easy way to do this currently.

Nov 7 2019, 6:10 PM
brooks committed rS354449: libcompat: build 32-bit rtld and ldd as part of "everything".
libcompat: build 32-bit rtld and ldd as part of "everything"
Nov 7 2019, 5:10 PM
brooks closed D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
Nov 7 2019, 5:10 PM
brooks updated the summary of D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
Nov 7 2019, 4:42 PM
brooks added a comment to D22251: libcompat: build 32-bit rtld and ldd as part of "everything".

link command:

cc -target x86_64-unknown-freebsd13.0 --sysroot=/home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/tmp -B/home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/tmp/usr/bin -O2 -pipe -DCOMPAT_32BIT -march=i686 -mmmx -msse -msse2 -target x86_64-unknown-freebsd13.0 -m32 -L/home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/obj-lib32/tmp/usr/lib32 --sysroot=/home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/obj-lib32/tmp -B/home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/obj-lib32/tmp/usr/lib32 -Wall -DFREEBSD_ELF -DIN_RTLD -ffreestanding -I/home/bed22/git/freebsd/lib/csu/common -I/home/bed22/git/freebsd/libexec/rtld-elf/i386 -I/home/bed22/git/freebsd/libexec/rtld-elf -fpic -DPIC -fvisibility=hidden -I/home/bed22/git/freebsd/libexec/rtld-elf/rtld-libc -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -g -std=gnu99 -Wno-format-zero-length -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wformat=2 -Wno-format-extra-args -Werror -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments  -nostdlib -e .rtld_start -shared -Wl,-Bsymbolic -Wl,-z,defs -Wl,--version-script=Version.map   -o ld-elf32.so.1.full rtld_start.o reloc.o rtld.o rtld_lock.o rtld_malloc.o rtld_printf.o map_object.o xmalloc.o debug.o libmap.o opendir.o closedir.o readdir.o telldir.o rtld_libc.o reallocf.o realpath.o getenv.o merge.o reallocarray.o errlst.o getcwd.o getprogname.o raise.o sigsetops.o sysctlnametomib.o __xuname.o  /home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/libexec/rtld-elf32/rtld_libc.a

file output:

~/git/freebsd/libexec/rtld-elf32 buildenv> file `make -V .OBJDIR`/ld-elf32.so.1
/home/bed22/obj/home/bed22/git/freebsd/amd64.amd64/libexec/rtld-elf32/ld-elf32.so.1: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
Nov 7 2019, 4:15 PM
brooks committed rP516936: Update to a more recent snapshot..
Update to a more recent snapshot.
Nov 7 2019, 12:59 AM
brooks committed rS354420: Fix the alignment of struct xunpcb on systems with >64-bit pointers..
Fix the alignment of struct xunpcb on systems with >64-bit pointers.
Nov 7 2019, 12:08 AM
brooks closed D22268: Fix the alignment of struct xunpcb on systems with >64-bit pointers..
Nov 7 2019, 12:08 AM

Nov 6 2019

brooks updated the diff for D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
  • Default LIB32 to on where supported and mark broken elsewhere.
Nov 6 2019, 11:07 PM
brooks created D22268: Fix the alignment of struct xunpcb on systems with >64-bit pointers..
Nov 6 2019, 10:57 PM
brooks added a comment to D22147: Add freebsd-gcc6 port..
In D22147#486624, @jhb wrote:

@brooks suggested he would consider merging the llvm-xtoolchain ports into the llvm ports as well. I think it is nice that you can 'pkg install <foo>' to get the bits for 'make CROSS_TOOLCHAIN=<foo>'

Nov 6 2019, 10:48 PM
brooks added a comment to D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
In D22251#486697, @jhb wrote:

If this permits easily doing something like 'make buildenv; cd rtld-elf32; make' then this really will be nicer than our current approach.

Nov 6 2019, 10:11 PM
brooks added a comment to D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
In D22251#486698, @kib wrote:

I do not quite understand how even ld-elf32.so.1 can be built during non-compat build, not to mention normal binaries. For rtld, we need some object files from libc build. For binaries, we need libc.so.7 to link with. So how this stuff would work now ?

Nov 6 2019, 10:09 PM
brooks closed D22188: libstats: Fix ABI assertion..
Nov 6 2019, 7:45 PM
brooks committed rS354409: libstats: Improve ABI assertion..
libstats: Improve ABI assertion.
Nov 6 2019, 7:45 PM
brooks added a reviewer for D22251: libcompat: build 32-bit rtld and ldd as part of "everything": jhb.
Nov 6 2019, 7:38 PM
brooks added reviewers for D22251: libcompat: build 32-bit rtld and ldd as part of "everything": imp, bdrewery, kib.

I've now testing this in an amd64 VM with i386 binaries so it's ready for review.

Nov 6 2019, 7:28 PM
brooks created D22251: libcompat: build 32-bit rtld and ldd as part of "everything".
Nov 6 2019, 12:38 AM

Nov 5 2019

brooks updated the summary of D22188: libstats: Fix ABI assertion..
Nov 5 2019, 5:44 PM

Nov 4 2019

brooks committed rS354340: Remove an outdated assertion..
Remove an outdated assertion.
Nov 4 2019, 9:06 PM

Oct 31 2019

brooks committed rS354232: truss: centralize pointer-constructing casts..
truss: centralize pointer-constructing casts.
Oct 31 2019, 10:29 PM
brooks closed D22212: truss: centralize pointer-constructing casts..
Oct 31 2019, 10:29 PM
brooks added a comment to D22212: truss: centralize pointer-constructing casts..

For the records, the CheriBSD commit is: https://github.com/CTSRD-CHERI/cheribsd/commit/805aa75408d105dd2c069c04e3b551caae24c558

Oct 31 2019, 10:28 PM
brooks added a comment to D22212: truss: centralize pointer-constructing casts..

This is extracted from CheriBSD. I'm not 100% it's something we want, but figure we should either upstream it (so I don't have compile errors every time a call to get_struct() is added) or remove it.

Oct 31 2019, 9:55 PM
brooks created D22212: truss: centralize pointer-constructing casts..
Oct 31 2019, 9:54 PM
brooks abandoned D22211: libstats: Fix ABI assertion..

ARG, this was forked form the wrong branch. Will redo

Oct 31 2019, 9:53 PM
brooks added a comment to D22211: libstats: Fix ABI assertion..

This is extracted from CheriBSD. I'm not 100% it's something we want, but figure we should either upstream it (so I don't have compile errors every time a call to get_struct() is added) or remove it.

Oct 31 2019, 9:51 PM
brooks created D22211: libstats: Fix ABI assertion..
Oct 31 2019, 9:49 PM
brooks committed rS354227: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Allow bsd.compat.mk to be reliably included outside Makefile.inc1.
Oct 31 2019, 8:37 PM
brooks closed D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 31 2019, 8:37 PM

Oct 30 2019

brooks updated the diff for D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
  • Allow bsd.compat.mk to be reliably included outside Makefile.inc1.
  • Get ARCH and CPUTYPE from contextually appropriate sources.
  • Require that bsd.compat.mk be explicitly included and update docs.
Oct 30 2019, 11:04 PM
brooks added inline comments to D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 30 2019, 11:03 PM
brooks added a comment to D20799: Eliminate the last MI difference in AT_* definitions (for powerpc)..

I'm assuming this is something the powerpc people are going to want to land since it's a flag day change.

Oct 30 2019, 10:53 PM
brooks updated the summary of D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 30 2019, 10:32 PM
brooks updated the diff for D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
  • Apply patch that arc applied, but didn't submit?!?!
Oct 30 2019, 10:31 PM
brooks updated the diff for D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
  • libstats: Fix ABI assertion.
  • Require that bsd.compat.mk be explicitly included and update docs.
Oct 30 2019, 10:29 PM
brooks updated the diff for D21949: Use "^" refer to the base URL of the SVN repository..
  • Add a metion that "^" may need to be escaped.
Oct 30 2019, 7:18 PM
brooks added a comment to D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..

Any further comments on this version?

Oct 30 2019, 6:24 PM
brooks committed rS354195: MFC r353325, r353875.
MFC r353325, r353875
Oct 30 2019, 6:22 PM
brooks committed rS354191: MFC r353325, r353875.
MFC r353325, r353875
Oct 30 2019, 5:06 PM
brooks created D22188: libstats: Fix ABI assertion..
Oct 30 2019, 3:35 AM

Oct 28 2019

brooks committed rP515935: MFH: r513490 r514194 r515213.
MFH: r513490 r514194 r515213
Oct 28 2019, 9:04 PM
brooks added a comment to D19433: [new driver] tn40xx(4): Tehuti networks tn40xx device driver..

A least AQR105_phy.c is still missing license headers. Please add headers to all source and header files.

Oct 28 2019, 5:17 PM
brooks added a comment to D19386: [new driver] tn40xx: Tehuti networks tn40xx device driver..

A number of files are missing license headers including at least AQR105_phy.c and CX4.c. Please add headers to all source and header files.

Oct 28 2019, 5:15 PM

Oct 24 2019

brooks closed D21911: binutils: Fix bugs found by -Wpointer-compare.
Oct 24 2019, 10:35 PM
brooks committed rS354057: binutils: Fix bugs found by -Wpointer-compare.
binutils: Fix bugs found by -Wpointer-compare
Oct 24 2019, 10:35 PM
brooks accepted D21911: binutils: Fix bugs found by -Wpointer-compare.

LGTM

Oct 24 2019, 10:24 PM
brooks committed rS354054: nda(4): Remove unnecessary union and avoid Clang -Wsizeof-array-divwarning.
nda(4): Remove unnecessary union and avoid Clang -Wsizeof-array-divwarning
Oct 24 2019, 10:24 PM
brooks closed D21912: nda(4): Remove unnecessary union and avoid Clang -Wsizeof-array-div warning.
Oct 24 2019, 10:24 PM

Oct 23 2019

brooks committed rS353939: MFC r353569:.
MFC r353569:
Oct 23 2019, 5:28 PM

Oct 22 2019

brooks committed rS353901: MFC r353569:.
MFC r353569:
Oct 22 2019, 9:25 PM
brooks committed rP515213: Fix build without CLANG enabled. [0].
Fix build without CLANG enabled. [0]
Oct 22 2019, 7:07 PM
brooks committed rP515208: Fix typo in patch to fix clang build..
Fix typo in patch to fix clang build.
Oct 22 2019, 6:40 PM

Oct 21 2019

brooks committed rP515154: Update to a new snapshot..
Update to a new snapshot.
Oct 21 2019, 11:53 PM
brooks closed D22100: llvm-devel on powerpc64: add configure option to select ELFv2 ABI.
Oct 21 2019, 11:53 PM
brooks closed D22099: Merge from vendor: fix potential infinite loop in when executing -c command.
Oct 21 2019, 9:21 PM
brooks committed rS353875: Update tcsh to git revision 83c5be0 bringing in a number of bug fixes..
Update tcsh to git revision 83c5be0 bringing in a number of bug fixes.
Oct 21 2019, 9:21 PM
brooks accepted D22100: llvm-devel on powerpc64: add configure option to select ELFv2 ABI.

This looks good. I would like to commit it myself along with an update of the port to limit needless rebuilds (options changes require PORTREVISION bumps).

Oct 21 2019, 9:14 PM
brooks committed rS353870: Tag import of git 83c5be0..
Tag import of git 83c5be0.
Oct 21 2019, 6:27 PM
brooks committed rS353835: Update vendor/tcsh to git 83c5be0:.
Update vendor/tcsh to git 83c5be0:
Oct 21 2019, 6:09 PM
brooks edited reviewers for D22099: Merge from vendor: fix potential infinite loop in when executing -c command, added: releng; removed: ache.

I believe the correct way to handle this is to update the vendor tree and then merge. I'm happy to do that.

Oct 21 2019, 5:46 PM

Oct 18 2019

brooks committed rS353709: Remove obsolete, non-use of CLANG_NO_IAS..
Remove obsolete, non-use of CLANG_NO_IAS.
Oct 18 2019, 12:00 AM

Oct 17 2019

brooks added inline comments to D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 17 2019, 7:02 PM
brooks updated the summary of D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 17 2019, 6:59 PM
brooks updated the diff for D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
  • Get ARCH and CPUTYPE from contextually appropriate sources.
Oct 17 2019, 6:57 PM
brooks added a comment to D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
In D22059#482035, @imp wrote:

The question is, do we need them to be TARGET_* in this makefile.inc1 usage?
I kinda think it does. Checking into *that* detail...

Oct 17 2019, 5:18 PM

Oct 16 2019

brooks created D22059: Allow bsd.compat.mk to be reliably included outside Makefile.inc1..
Oct 16 2019, 5:31 PM
brooks committed rS353659: Install bsd.compat.mk..
Install bsd.compat.mk.
Oct 16 2019, 5:21 PM

Oct 15 2019

brooks committed rS353601: Fix including bsd.compat.mk outside Makefile.libcompat on mips64..
Fix including bsd.compat.mk outside Makefile.libcompat on mips64.
Oct 15 2019, 11:55 PM
brooks committed rS353597: Add the ability to link programs against a compat ABI..
Add the ability to link programs against a compat ABI.
Oct 15 2019, 9:27 PM
brooks closed D22023: Optionally build/link programs against the compat ABI..
Oct 15 2019, 9:27 PM
brooks added a comment to D22023: Optionally build/link programs against the compat ABI..

Preparatory commits done in rS353592 rS353593 rS353594, rS353595.

Oct 15 2019, 9:24 PM
brooks committed rS353595: Build compat libraries before "everything"..
Build compat libraries before "everything".
Oct 15 2019, 9:22 PM
brooks committed rS353594: Allow OBJDIR to be overridden for LIB*DIR variables..
Allow OBJDIR to be overridden for LIB*DIR variables.
Oct 15 2019, 9:15 PM
brooks committed rS353593: Rename top-level LIBCOMPAT to _LIBCOMPAT..
Rename top-level LIBCOMPAT to _LIBCOMPAT.
Oct 15 2019, 9:11 PM
brooks committed rS353592: Move the per-ARCH definitions to bsd.compat.mk..
Move the per-ARCH definitions to bsd.compat.mk.
Oct 15 2019, 9:09 PM
brooks committed rS353591: MFC r353329:.
MFC r353329:
Oct 15 2019, 8:11 PM
brooks committed rS353590: MFC r353329:.
MFC r353329:
Oct 15 2019, 8:08 PM
brooks committed rS353589: MFC r353326:.
MFC r353326:
Oct 15 2019, 8:04 PM