| #
4dce7c7a |
| 06-Sep-2023 |
jca <jca@openbsd.org> |
Use -std=gnu89 to fix the build with clang-16
This is ancient GNU software that tends to break whenever clang adds more warnings about deprecated features in new languages versions or turns them int
Use -std=gnu89 to fix the build with clang-16
This is ancient GNU software that tends to break whenever clang adds more warnings about deprecated features in new languages versions or turns them into errors. Using -std=gnu89 (the defaults for base-gcc) for those packages means we'll probably avoid most new warnings, errors, and possible miscompilations when updating clang.
ok robert@
show more ...
|
| #
726716d7 |
| 27-Jan-2023 |
kettenis <kettenis@openbsd.org> |
Recommit the switch to use llvm-strip on architectures that use ld.lld.
ok naddy@, sthen@
|
| #
9517c337 |
| 19-Jan-2023 |
kettenis <kettenis@openbsd.org> |
Revert previous commit (but leave the man page around); llvm-strip behaves differently on files that are hardlinked and this is tripping up ports.
requested by naddy@
|
| #
ec641ddb |
| 19-Jan-2023 |
kettenis <kettenis@openbsd.org> |
The binutils strip damages GNU_RELRO on binaries linked by ld.lld on at least amd64. Fix this by switching to the llvm strip on architectures that use ld.lld.
ok deraadt@
|
| #
afab9586 |
| 23-Mar-2022 |
robert <robert@openbsd.org> |
use llvm-ranlib where llvm-ar is used so that they are in line with each other
|
| #
00c8a032 |
| 17-Feb-2022 |
phessler <phessler@openbsd.org> |
binutils-2.17 does not have ld or gas available for the aarch64, powerpc64, or riscv64 family of platforms, so we don't try to build there.
However we mis-nested the arch check, causing some uninten
binutils-2.17 does not have ld or gas available for the aarch64, powerpc64, or riscv64 family of platforms, so we don't try to build there.
However we mis-nested the arch check, causing some unintended side effects, most notably installing binutils-2.17's ar(1) which overwrote the intended llvm-ar(1).
Fix the if nesting so it only applies where intended.
tested on aarch64 by me, powerpc64 by gkoehler@, and riscv64 by jca@
OK miod@ robert@ gkoehler@ jca@
show more ...
|
| #
dfa91a89 |
| 17-Dec-2021 |
jca <jca@openbsd.org> |
Avoid errors about clang13-only options here, to ease transition
As pointed out by deraadt@ we can do better than ask people to follow instructions. Note that you still need an up-to-date clang if
Avoid errors about clang13-only options here, to ease transition
As pointed out by deraadt@ we can do better than ask people to follow instructions. Note that you still need an up-to-date clang if you update your kernel Makefiles, as those use clang13-only options.
Also -Werror doesn't bring much in binutils context. It's an outdated codebase with lots of warts, which frequently breaks due to -Werror during clang updates.
"This is the right fix" deraadt@
show more ...
|
| #
b59965a8 |
| 17-Dec-2021 |
patrick <patrick@openbsd.org> |
Disable a few warning flags that were introduced and enabled by default with LLVM 13.
|
| #
d5a92f23 |
| 23-Nov-2021 |
robert <robert@openbsd.org> |
add llvm-ar(1) to the build with its two dependencies libLLVMDlltoolDriver and libLLVMLibDriver;
switch LLD_ARCHs to llvm-ar(1) by skipping the installation of binutils' ar(1) and linking llvm-ar(1)
add llvm-ar(1) to the build with its two dependencies libLLVMDlltoolDriver and libLLVMLibDriver;
switch LLD_ARCHs to llvm-ar(1) by skipping the installation of binutils' ar(1) and linking llvm-ar(1) to ar(1)
tested on amd64, i386, arm64 and mips64
ok patrick@, kettenis@
show more ...
|
| #
18a81a05 |
| 21-Jun-2021 |
deraadt <deraadt@openbsd.org> |
correct riscv64 blocks discussion with espie kettenis jsg
|
| #
cab9e935 |
| 05-May-2021 |
drahn <drahn@openbsd.org> |
riscv64 binutils 'support' Enable just enough of binutils to be a functional compilation system with llvm doing the heavy lifting. With corrections suggested by reviewers. ok jsg@ kettenis@
|
| #
9539e45e |
| 30-May-2020 |
drahn <drahn@openbsd.org> |
Initial set of changes to build powerpc64 toolchain.
Disable PIC/PIE for powerpc64 for now.
|
| #
e22fe1b6 |
| 03-Jan-2020 |
espie <espie@openbsd.org> |
avoid build race condition: our make has an "expensive job" heuristic which means we do stop creating other jobs as soon as we run something looking like "make" to avoid unwanted recursion, so you wo
avoid build race condition: our make has an "expensive job" heuristic which means we do stop creating other jobs as soon as we run something looking like "make" to avoid unwanted recursion, so you would never hit that.
But in binutils-2.17, the developers changed all/info to do recursive makes with some of the same dependencies. Calling both at the same time becomes an obvious race, and should be fixed for no other reason than correctness.
okay guenther@
show more ...
|
| #
3367dcf5 |
| 21-Dec-2019 |
espie <espie@openbsd.org> |
a few depend:-related thingies that were still in.
okay millert@, tb@
|
| #
c3778fa1 |
| 17-May-2019 |
schwarze <schwarze@openbsd.org> |
stop using the moribund MLINKS bsd.man.mk feature; no functional change intended; OK millert@
|
| #
d125f366 |
| 24-Feb-2019 |
kn <kn@openbsd.org> |
Remove -S from install commands
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and install(1) will always create files safely, thus clean the option usage from the tree.
Diff from La
Remove -S from install commands
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and install(1) will always create files safely, thus clean the option usage from the tree.
Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.
show more ...
|
| #
bc4695b6 |
| 14-Sep-2018 |
naddy <naddy@openbsd.org> |
Pass CC/CFLAGS/LDFLAGS to the configure script. ok millert@
|
| #
2e93fd86 |
| 26-Jul-2018 |
kettenis <kettenis@openbsd.org> |
Add infrastructure to install lld as the default linker. The old GNU linker will be installed as /usr/bin/ld.bfd on supported systems. This allows users to fall back on the old linker by using the
Add infrastructure to install lld as the default linker. The old GNU linker will be installed as /usr/bin/ld.bfd on supported systems. This allows users to fall back on the old linker by using the -fuse-ld=bfd option on systems where lld is the default linker.
Switch armv7 to use lld as the default linker. On arm64 we already use lld as the default linker. Other platforms will keep using the GNU linker for now.
ok patrick@, deraadt@, phessler@
show more ...
|
| #
752051c1 |
| 12-Jun-2017 |
espie <espie@openbsd.org> |
destroy lint remnants. okay millert@ deraadt@
|
| #
9620689e |
| 05-Mar-2017 |
jsg <jsg@openbsd.org> |
Go back to only specifying --target when building cross.
The OpenBSD triple includes the OpenBSD version. When this recently changed binutils started building prefixed tools when moving to a new Op
Go back to only specifying --target when building cross.
The OpenBSD triple includes the OpenBSD version. When this recently changed binutils started building prefixed tools when moving to a new OpenBSD version which isn't what we want.
ok kettenis@
show more ...
|
| #
80dca7d7 |
| 25-Jan-2017 |
kettenis <kettenis@openbsd.org> |
Stub out aarch64 support and avoid building gas and ld on this architecture.
ok mpi@, patrick@
|
| #
a6f733a9 |
| 03-Oct-2016 |
natano <natano@openbsd.org> |
Fix ownership for install on a noperm filesystem. joint work with tb
|
| #
4e86a40a |
| 18-Sep-2016 |
natano <natano@openbsd.org> |
Use ${INSTALL} instead of install, like in all the other Makefile's. ok guenther
|
| #
719322df |
| 11-Sep-2016 |
guenther <guenther@openbsd.org> |
Install programs with ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} Install info and data files with -o ${DOCOWN} -g ${DOCGRP} -m ${NONBINMODE}
Prompted by natano@ Tweaks and oks deraadt@
Install programs with ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} Install info and data files with -o ${DOCOWN} -g ${DOCGRP} -m ${NONBINMODE}
Prompted by natano@ Tweaks and oks deraadt@ natano@
show more ...
|
| #
6231a781 |
| 05-Jul-2013 |
miod <miod@openbsd.org> |
ELF_TOOLCHAIN bye bye.
|