Age | Commit message (Collapse) | Author |
|
Fixes build on powerpc
|
|
ok deraadt@ kettenis@
|
|
|
|
test program "try" already has a signal handler for SIGSEGV, but
OpenBSD generates a SIGBUS. Also set a handler for the latter to
exit cleanly.
from deraadt@; OK afresh1@
|
|
|
|
ok hackroom@
tested by plenty
|
|
Instead of just checking if *namep is NULL, also check if the string
pointed by *namep is empty. This is probably the original intent of
the code.
OK kettenis@ jsg@ deraadt@
|
|
An amd64 clang 10 binary built with lld 10 would abort after calling
execve(2) if it had been stripped. PT_LOAD segment aligment being
changed by strip was the cause.
Changing to 4K matches lld and results in a working binary after strip.
Introducing ELF_MINPAGESIZE of 4K (which is ELF_MAXPAGESIZE if not
defined by the arch) would have also worked but we don't support large
pages in userland.
ok kettenis@
|
|
ok jasper@
|
|
|
|
ok deraadt@
|
|
Lost in the cleanup.
Noticed by deraadt@
|
|
This was originally done so that other things in-tree such as vi could link
to libperl and to support non-shared vax.
This brings us more in-line with upstream and makes things more understandable.
It now links libperl.so to libm, which some software needs, and stops building
and installing libperl.a.
OK bluhm@
|
|
|
|
All functional changes were committed already, this updates the
version number, Module::Corelist, and documentation.
|
|
|
|
Found by: ManhND of The Tarantula Team, VinCSS (a member of Vingroup),
Hugo van der Sanden, Slaven Rezic, and Sergey Aleynikov
Fixed by: John Lightsey, Hugo van der Sanden, and Karl Williamson
Addresses:
* CVE-2020-10543
* CVE-2020-10878
* CVE-2020-12723
|
|
generate fatal compiler warnings at least when cross-compiling and
fixing the code isn't trivial.
ok patrick@, drahn@
|
|
Disable PIC/PIE for powerpc64 for now.
|
|
arithmetics on NULL, like we did in r1.21 on elflink.c, to stop
clang from complaining when setting up a cross-toolchain.
ok kettenis@
|
|
Avoids using the installed Cwd module while building perl
|
|
symbols that were hidden. Fixes building Mesa on hppa.
ok deraadt@
|
|
Missed somehow in perl update
|
|
https://metacpan.org/pod/release/SHAY/perl-5.30.2/pod/perldelta.pod
Incompatible Changes
There are no changes intentionally incompatible with 5.30.0.
Updated Modules and Pragmata
* Compress::Raw::Bzip2 has been upgraded from version 2.084 to 2.089.
* Module::CoreList has been upgraded from version 5.20191110 to 5.20200314.
Selected Bug Fixes
* printf() or sprintf() with the %n format no longer cause a panic
on debugging builds, or report an incorrectly cached length value
when producing SVfUTF8 flagged strings.
* A memory leak in regular expression patterns has been fixed.
* A read beyond buffer in grok_infnan has been fixed.
* An assertion failure in the regular expression engine has been fixed.
* (?{...}) eval groups in regular expressions no longer unintentionally
trigger "EVAL without pos change exceeded limit in regex".
Proceed when you feel comfortable. deraadt@
|
|
|
|
|
|
ok bluhm@
|
|
OpenBSD macppc builds these libs with clang. Their ABI is changing
because of clang -msvr4-struct-return
|
|
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@
|
|
Timing is good deraadt@, OK sthen@
|
|
Timing is good deraadt@, OK sthen@
|
|
Timing is good deraadt@, OK sthen@
|
|
Timing is good deraadt@, OK sthen@
|
|
OK espie@ sthen@ deraadt@
|
|
|
|
|
|
ok bluhm kettenis
|
|
okay millert@, tb@
|
|
"Go for it" kettenis@
|
|
this got fixed in recent binutils, but it's GPLv3.
So do the same thing in a slightly different way
okay guenther@
|
|
AsmParsers.def AsmPrinters.def and Disassemblers.def.
Required so that LLVM headers will have prototypes for
LLVMInitializeAMDGPUAsmPrinter() and LLVMInitializeAMDGPUAsmParser().
|
|
ok kettenis@
|
|
objects and it running out of memory in the "building shared LLVM library"
stage (at least on i386).
building standard LLVM library
building shared LLVM library (version 1.0)
cc -shared -Wl,-soname,libLLVM.so.1.0 -fpic -o libLLVM.so.1.0 `echo AMDGPUAsmParser.so AMDGPUInstPrinter.so AMDGPUAliasAnalysis.so AMDGPUAlwaysInlinePass.so AMDGPUAnnotateKernelFeatures.so AMDGPUAnnotateUniformValues.so AMDGPUArgumentUsageInfo.so [...snip lots of .so...] ThinLTOBitcodeWriter.so WholeProgramDevirt.so | tr ' ' '\n' | sort -R` -Wl,--start-group -Wl,--end-group
LLVM ERROR: out of memory
cc: error: unable to execute command: Abort trap
cc: error: linker command failed due to signal (use -v to see invocation)
ar: libLLVM.a: No space left on device
*** Error 1 in gnu/usr.bin/clang/libLLVM (<bsd.lib.mk>:193 'libLLVM.a': @ar cqD libLLVM.a `lorder AMDGPUAsmParser.o AMDGPUIn
stPrinter.o AMDG...)
*** Error 254 (<bsd.lib.mk>:225 'libLLVM.so.1.0')
|
|
OK mortimer
|
|
Follows a similar model as NetBSD. Much help from patrick, kettenis and guenther.
lldb and lldb-server remain not installed by default.
ok patrick@
|
|
ok partrick@, kettenis@
|
|
For this architecture we use separate retguard prologue and epilogue code
for static or PIC code. In the PIC case we use some additional code before
the retguard epilogue to recover the function start address and the GOT
pointer in order to get the per-function random cookie. Much thanks to
visa@ for suggestions and advice making it all work.
ok deraadt@ visa@
|
|
okay guenther@ kettenis@
|
|
|
|
ok visa@
|