Page MenuHomeFreeBSD

arichardson (Alexander Richardson)
User

Projects

User Details

User Since
Jan 17 2017, 2:21 PM (99 w, 4 d)

Recent Activity

Today

arichardson created D18569: Fix most shellcheck warnings in newvers.sh.
Sat, Dec 15, 10:56 AM

Yesterday

arichardson committed rS342105: make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH.
make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH
Fri, Dec 14, 11:53 PM
arichardson closed D18376: make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH.
Fri, Dec 14, 11:53 PM
arichardson added a reviewer for D16762: Don't delete the source file when installing links on case-insensitive file systems: brooks.
Fri, Dec 14, 9:24 PM
arichardson added a comment to D16762: Don't delete the source file when installing links on case-insensitive file systems.

Ping?

Fri, Dec 14, 9:24 PM
arichardson updated the diff for D18376: make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH.

Also adjust make_dtbo.sh

Fri, Dec 14, 9:22 PM
arichardson committed rS342101: Allow bootstrapping libnv on macOS and Linux.
Allow bootstrapping libnv on macOS and Linux
Fri, Dec 14, 9:16 PM
arichardson closed D18472: Allow bootstrapping libnv on macOS and Linux.
Fri, Dec 14, 9:16 PM

Mon, Dec 10

arichardson added inline comments to D18450: Implement atomic_swap_xxx() for all platforms.
Mon, Dec 10, 4:14 PM

Fri, Dec 7

arichardson created D18472: Allow bootstrapping libnv on macOS and Linux.
Fri, Dec 7, 3:15 PM

Wed, Dec 5

arichardson committed rS341515: Allow bootstrapping libopenbsd on Linux.
Allow bootstrapping libopenbsd on Linux
Wed, Dec 5, 11:00 AM
arichardson closed D14244: crossbuild: Allow bootstrapping libopenbsd on Linux.
Wed, Dec 5, 10:59 AM
arichardson closed D18377: Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1.
Wed, Dec 5, 10:59 AM
arichardson committed rS341514: Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1.
Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1
Wed, Dec 5, 10:59 AM

Tue, Dec 4

arichardson added inline comments to D17820: Don't hardcode X_ prefix on fallback path for X_COMPILER_*/X_LINKER_*.
Tue, Dec 4, 11:30 PM

Thu, Nov 29

arichardson created D18377: Fix newvers.sh with BUILD_WITH_STRICT_TMPPATH=1.
Thu, Nov 29, 10:36 AM
arichardson created D18376: make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH.
Thu, Nov 29, 10:36 AM

Wed, Nov 21

arichardson created D18291: Align mips crt .init/.fini sections to 4 bytes instead of 16.
Wed, Nov 21, 4:46 PM

Mon, Nov 19

arichardson closed D17971: Add capsicum_helpers.h to -legacy if needed.
Mon, Nov 19, 6:58 PM
arichardson committed rS340645: Add capsicum_helpers.h to -legacy if needed.
Add capsicum_helpers.h to -legacy if needed
Mon, Nov 19, 6:58 PM

Sun, Nov 18

arichardson committed rS340587: Fix -DNO_CLEAN amd64 build after r340463.
Fix -DNO_CLEAN amd64 build after r340463
Sun, Nov 18, 7:55 PM
arichardson closed D18031: Fix -DNO_CLEAN amd64 build after r340463.
Sun, Nov 18, 7:55 PM
arichardson added a comment to D18031: Fix -DNO_CLEAN amd64 build after r340463.

It worked afterward I made this change but I'm not 100% certain that it was because of this patch (not using META_MODE).

Sun, Nov 18, 12:45 PM
arichardson created D18031: Fix -DNO_CLEAN amd64 build after r340463.
Sun, Nov 18, 10:06 AM
arichardson updated the diff for D16762: Don't delete the source file when installing links on case-insensitive file systems.

Rebased and fixed typo in info message

Sun, Nov 18, 9:45 AM
arichardson added a comment to D14244: crossbuild: Allow bootstrapping libopenbsd on Linux.

ping?

Sun, Nov 18, 9:37 AM

Nov 13 2018

arichardson updated the diff for D17971: Add capsicum_helpers.h to -legacy if needed.

Looks like we also need a newer version of libcasper.h in -legacy to build on 11

Nov 13 2018, 10:21 AM
arichardson updated the diff for D17971: Add capsicum_helpers.h to -legacy if needed.

Avoid warning message if /usr/include/capsicum_helpers.h doesn't exist

Nov 13 2018, 9:42 AM
arichardson added a member for capsicum: arichardson.
Nov 13 2018, 9:40 AM
arichardson added a reviewer for D17971: Add capsicum_helpers.h to -legacy if needed: capsicum.
Nov 13 2018, 9:39 AM
arichardson created D17971: Add capsicum_helpers.h to -legacy if needed.
Nov 13 2018, 9:39 AM

Nov 7 2018

arichardson closed D17867: Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD.
Nov 7 2018, 3:05 PM
arichardson committed rS340218: Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD.
Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD
Nov 7 2018, 3:05 PM

Nov 6 2018

arichardson committed rS340196: Turn off BUILD_WITH_STRICT_TMPPATH by default.
Turn off BUILD_WITH_STRICT_TMPPATH by default
Nov 6 2018, 6:07 PM
arichardson created D17867: Handle the DT_MIPS_RLD_MAP_REL dynamic tag in RTLD.
Nov 6 2018, 12:08 PM
arichardson committed rS340176: Remove btxld from symlinked host tools.
Remove btxld from symlinked host tools
Nov 6 2018, 9:37 AM
arichardson added a comment to D16842: Fix non-FreeBSD host lib32 build for TARGET=amd64.
In D16842#381595, @jhb wrote:
In D16842#359095, @jhb wrote:

Agreed that as a followup we should define a single variable in src/Makefile.inc1 to hold 'freebsd12.0'. Will be useful since we are about to bump it to 13 in a few weeks.

It's called TARGET_TRIPLE

I feel like TARGET_TRIPLE alone doesn't work. For example for mips I have to use 'mips-unknown-freebsd12.0' for lib32 when TARGET_TRIPLE is 'mips64-unknown-freebsd12.0'.

Nov 6 2018, 12:11 AM

Nov 5 2018

arichardson added a comment to D16842: Fix non-FreeBSD host lib32 build for TARGET=amd64.

I don't get emails for phabricator emails.
I do get and respond to IRC usually instantly.
Please get my feedback for further build changes.

Nov 5 2018, 11:50 PM
arichardson committed rS340167: Keep inheriting $PATH when using system linker/compiler.
Keep inheriting $PATH when using system linker/compiler
Nov 5 2018, 10:52 PM
arichardson committed rS340162: Fix -DNO_CLEAN build after r340157.
Fix -DNO_CLEAN build after r340157
Nov 5 2018, 9:30 PM
arichardson committed rS340158: Build the elftoolchain libraries as part of bootstrap-tools.
Build the elftoolchain libraries as part of bootstrap-tools
Nov 5 2018, 7:51 PM
arichardson closed D17800: Build the elftoolchain libraries as part of bootstrap-tools.
Nov 5 2018, 7:51 PM
arichardson committed rS340157: Allow building world without inheriting $PATH.
Allow building world without inheriting $PATH
Nov 5 2018, 7:51 PM
arichardson closed D16815: Allow building world without inheriting $PATH.
Nov 5 2018, 7:51 PM

Nov 2 2018

arichardson updated the diff for D16815: Allow building world without inheriting $PATH.

Fixed comments.

Nov 2 2018, 1:39 PM

Nov 1 2018

arichardson abandoned D14170: Initial changes to Makefile.inc1 to allow crossbuilding on Linux and Mac.

Will split this into various separate reviews once https://reviews.freebsd.org/D16815 lands.

Nov 1 2018, 8:21 PM
arichardson added inline comments to D17800: Build the elftoolchain libraries as part of bootstrap-tools.
Nov 1 2018, 1:36 PM
arichardson added a comment to D17799: Stop using ld -r + objcopy to create i386 crt1.o.
In D17799#380357, @dim wrote:

I've already integrated the upstream fix for lld into the clang700-import branch, and a review is already open for including the same patch into the llvm70 port. Is there any need for this particular change?

Well, I think avoiding calls ld -r and objcopy for something that can be done with a few lines of inline assembly is a good idea. There have been tons of bugs in lld -r in the past (and others probably still exist but haven't been hit yet).

Also this bug makes it impossible to build with the latest released version of clang on Linux/macOS.

Nov 1 2018, 1:32 PM
arichardson added a comment to D17799: Stop using ld -r + objcopy to create i386 crt1.o.
In D17799#380357, @dim wrote:

I've already integrated the upstream fix for lld into the clang700-import branch, and a review is already open for including the same patch into the llvm70 port. Is there any need for this particular change?

Nov 1 2018, 1:31 PM
arichardson updated the diff for D16815: Allow building world without inheriting $PATH.

Fix build of some kernels by adding "stat" to the required tools

Nov 1 2018, 12:58 PM
arichardson added a child revision for D16815: Allow building world without inheriting $PATH: D17800: Build the elftoolchain libraries as part of bootstrap-tools.
Nov 1 2018, 12:43 PM
arichardson added a parent revision for D17800: Build the elftoolchain libraries as part of bootstrap-tools: D16815: Allow building world without inheriting $PATH.
Nov 1 2018, 12:43 PM
arichardson created D17800: Build the elftoolchain libraries as part of bootstrap-tools.
Nov 1 2018, 12:42 PM
arichardson retitled D16815: Allow building world without inheriting $PATH from Allow building world without inhering $PATH to Allow building world without inheriting $PATH.
Nov 1 2018, 11:51 AM
arichardson updated the test plan for D16815: Allow building world without inheriting $PATH.
Nov 1 2018, 11:50 AM
arichardson added a comment to D16762: Don't delete the source file when installing links on case-insensitive file systems.

ping?

Nov 1 2018, 11:49 AM
arichardson added a comment to D16849: Fix generation of krb5-config with LC_CTYPE=*.UTF-8.

ping?

Nov 1 2018, 11:48 AM
arichardson abandoned D14166: crossbuild: handle bmake and uname reporting x86_64 instead of amd64.

No longer needed

Nov 1 2018, 11:47 AM
arichardson updated the diff for D16771: Allow bootstrapping elftoolchain on MacOS and Linux.

Style fix

Nov 1 2018, 11:46 AM
arichardson abandoned D13938: Include <stdint.h> in libc/inconv.

No longer needed

Nov 1 2018, 11:42 AM
arichardson updated the diff for D14244: crossbuild: Allow bootstrapping libopenbsd on Linux.

Fix typo in comment

Nov 1 2018, 11:41 AM
arichardson updated the diff for D14244: crossbuild: Allow bootstrapping libopenbsd on Linux.

Simplify and remove .MAKE.OS check

Nov 1 2018, 11:40 AM
arichardson added a comment to D16864: Fix building when using a shell with -o pipefail for bmake.

ping?

Nov 1 2018, 11:33 AM
arichardson added a comment to D17002: Fix compilation with upstream clang builtin headers.

ping?

Nov 1 2018, 11:32 AM
arichardson added inline comments to D17799: Stop using ld -r + objcopy to create i386 crt1.o.
Nov 1 2018, 11:19 AM
arichardson created D17799: Stop using ld -r + objcopy to create i386 crt1.o.
Nov 1 2018, 11:17 AM

Oct 31 2018

arichardson abandoned D17779: Build kernel-toolchain before kernel during make universe.

Ah that makes sense. If make kernel-toolchains is already a requirement for MAKE_JUST_KERNELS, I'll drop this and just run make kernel-toolchains first in cheribuild.

Oct 31 2018, 6:35 PM
arichardson added a comment to D17779: Build kernel-toolchain before kernel during make universe.
In D17779#380013, @imp wrote:

I'm uneasy about doing this automatically... What if I already have a good compiler? Last thing I want is to rebuild clang a bazillion times while I'm iterating through kernel build issues on N platforms.

Oct 31 2018, 5:58 PM
arichardson created D17779: Build kernel-toolchain before kernel during make universe.
Oct 31 2018, 2:00 PM
arichardson committed rS339946: Don't run cc --version during cleandir/obj stages.
Don't run cc --version during cleandir/obj stages
Oct 31 2018, 10:45 AM
arichardson closed D16814: Don't run cc --version during cleandir/obj stages.
Oct 31 2018, 10:45 AM

Oct 30 2018

arichardson updated the diff for D16815: Allow building world without inheriting $PATH.
  • rebased on HEAD
  • fixed an incorrect defined()
Oct 30 2018, 2:43 PM
arichardson added a reviewer for D16814: Don't run cc --version during cleandir/obj stages: brooks.
Oct 30 2018, 2:12 PM
arichardson added a comment to D17512: Fix dpcpu and vnet panics with complex types at the end of the section.

Ideally we could place the padding outside of the section instead of inside and then just use <=. However, the linker can place any orphan section inbetween so there might be some relocations...
Since that is not possible this solution looks fine to me.

Oct 30 2018, 11:49 AM

Oct 29 2018

arichardson added a comment to D17682: Fix get_maxfds() in jevents.

Yes, the current set of patches required (for macos and linux) can be seen here: https://github.com/arichardson/freebsd/tree/crossbuild-aug2018?files=1

That's excellent. How much more work would it take to get FreeBSD or parts of it building in some of the various public Linux centric CI systems?

Oct 29 2018, 9:13 PM
arichardson committed rS339878: rtld-elf: compile with WANRS=4 warnings other than -Wcast-align.
rtld-elf: compile with WANRS=4 warnings other than -Wcast-align
Oct 29 2018, 9:08 PM
arichardson closed D17682: Fix get_maxfds() in jevents.
Oct 29 2018, 9:08 PM
arichardson committed rS339880: Fix get_maxfds() in jevents.
Fix get_maxfds() in jevents
Oct 29 2018, 9:08 PM
arichardson closed D17153: rtld-elf: fix WANRS=4 warnings other than -Wcast-align.
Oct 29 2018, 9:08 PM
arichardson committed rS339879: rtld-elf: fix more warnings to allow compiling with WARNS=6.
rtld-elf: fix more warnings to allow compiling with WARNS=6
Oct 29 2018, 9:08 PM
arichardson closed D17154: rtld-elf: fix more warnings to allow compiling with WARNS=6.
Oct 29 2018, 9:08 PM
arichardson committed rS339877: rtld-elf: make it compile with WARNS=3.
rtld-elf: make it compile with WARNS=3
Oct 29 2018, 9:08 PM
arichardson closed D17150: rtld-elf: make it compile with WARNS=3.
Oct 29 2018, 9:08 PM
arichardson committed rS339876: rtld: set obj->textsize correctly.
rtld: set obj->textsize correctly
Oct 29 2018, 9:08 PM
arichardson closed D17117: rtld: set obj->textsize correctly.
Oct 29 2018, 9:08 PM

Oct 25 2018

arichardson added a comment to D17682: Fix get_maxfds() in jevents.

Yes, the current set of patches required (for macos and linux) can be seen here: https://github.com/arichardson/freebsd/tree/crossbuild-aug2018?files=1

Oct 25 2018, 7:45 PM
arichardson updated the summary of D17154: rtld-elf: fix more warnings to allow compiling with WARNS=6.
Oct 25 2018, 11:21 AM
arichardson updated the diff for D17154: rtld-elf: fix more warnings to allow compiling with WARNS=6.
  • Fixed all issues found by universe build with WARNS=6
  • Silenced a false positive GCC warning
Oct 25 2018, 11:21 AM

Oct 24 2018

arichardson created D17682: Fix get_maxfds() in jevents.
Oct 24 2018, 8:39 AM

Oct 23 2018

arichardson abandoned D12916: Allow setting the initial LDFLAGS for the cross environment with XLDFLAGS.

Should no longer be needed

Oct 23 2018, 7:01 PM
arichardson added a comment to D17587: Implement a BSD licensed crtbegin/crtend.

Could you add your initfini test as a (ATF?) test here?

Oct 23 2018, 6:23 PM
arichardson added a comment to D17153: rtld-elf: fix WANRS=4 warnings other than -Wcast-align.

Thanks for reviewing this annoyingly big diff and finding all the style issues. Too bad we can't just use git-clang-format :(

Oct 23 2018, 6:21 PM
arichardson updated the diff for D17153: rtld-elf: fix WANRS=4 warnings other than -Wcast-align.

More coding style fixes

Oct 23 2018, 6:20 PM
arichardson closed D16867: Fix ncurses fallback.c build with a strict build shell.
Oct 23 2018, 6:31 AM
arichardson committed rS339637: Fix ncurses fallback.c build with a strict build shell.
Fix ncurses fallback.c build with a strict build shell
Oct 23 2018, 6:31 AM
arichardson committed rS339636: Only compute the X_COMPILER_*/X_LINKER_* variables when needed.
Only compute the X_COMPILER_*/X_LINKER_* variables when needed
Oct 23 2018, 6:31 AM
arichardson closed D17046: Only compute the X_COMPILER_*/X_LINKER_* variables when needed.
Oct 23 2018, 6:31 AM
arichardson committed rS339635: Fix regex for extracting SHM_* values for libsysdecode.
Fix regex for extracting SHM_* values for libsysdecode
Oct 23 2018, 6:31 AM
arichardson closed D17069: Fix regex for extracting SHM_* values for libsysdecode.
Oct 23 2018, 6:31 AM

Oct 22 2018

arichardson updated the diff for D17153: rtld-elf: fix WANRS=4 warnings other than -Wcast-align.

Fix error building aarch64

Oct 22 2018, 10:08 PM