summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2020-10-12Disable retguard for clang build.mortimer
Fixes build on powerpc
2020-10-12Add RETGUARD implementation for powerpc and powerpc64.mortimer
ok deraadt@ kettenis@
2020-09-30Add minimal support for OpenBSD/powerpc64.Mark Kettenis
2020-09-16Avoid generating a core dump during make build. The Perl configureAlexander Bluhm
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@
2020-08-09Update build infrastructure for LLVM 10.0.1.Patrick Wildt
2020-08-03Update build infrastructure for LLVM 10.0.0.Patrick Wildt
ok hackroom@ tested by plenty
2020-07-31Use consistent types in comparison to fix build with clang 10.Visa Hankala
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@
2020-07-23change bfd amd64 ELF_MAXPAGESIZE from 1M to 4KJonathan Gray
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@
2020-07-22Add a few missing elocations.Mark Kettenis
ok jasper@
2020-07-04Don't build gdb on powerpc64.Mark Kettenis
2020-07-02We need the same header files on powerpc64 as we have on powerpc.Mark Kettenis
ok deraadt@
2020-07-01Re-enable silent mode in perl ConfigureAndrew Fresh
Lost in the cleanup. Noticed by deraadt@
2020-06-27Remove some customizations from the perl buildAndrew Fresh
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@
2020-06-18avoid -Wpointer-compare warning which broke build with clang 10Jonathan Gray
2020-06-04Sync to perl 5.30.3Andrew Fresh
All functional changes were committed already, this updates the version number, Module::Corelist, and documentation.
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2020-06-01Fix various overflows and state corruption in perlAndrew Fresh
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
2020-05-31Don't build the rs6000coff_vec and rs6000coff64_vec targets. TheseMark Kettenis
generate fatal compiler warnings at least when cross-compiling and fixing the code isn't trivial. ok patrick@, drahn@
2020-05-30Initial set of changes to build powerpc64 toolchain.Dale Rahn
Disable PIC/PIE for powerpc64 for now.
2020-05-29Adjust some PPC ELF code to return -1 instead of doing pointerPatrick Wildt
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@
2020-04-25Note extra Term-ReadKey build dependency on CwdAndrew Fresh
Avoids using the installed Cwd module while building perl
2020-04-09Make sure that we generate a PLT when a plabel is required even forMark Kettenis
symbols that were hidden. Fixes building Mesa on hppa. ok deraadt@
2020-04-09Update perl manpage listAndrew Fresh
Missed somehow in perl update
2020-04-09Update perl to 5.30.2Andrew Fresh
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@
2006-03-28perl 5.8.8 importTodd C. Miller
2002-10-27stock perl 5.8.0 from CPANTodd C. Miller
2020-03-06Update perl Term::ReadKey to 2.38Andrew Fresh
ok bluhm@
2020-03-04crank major versions of libLLVM libc++ libc++abigkoehler
OpenBSD macppc builds these libs with clang. Their ABI is changing because of clang -msvr4-struct-return
2020-01-03avoid build race condition: our make has an "expensive job" heuristicMarc Espie
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@
2019-12-30Apply pre-built unicore patch, remove excess files - perl-5.30.1Andrew Fresh
Timing is good deraadt@, OK sthen@
2019-12-30Apply local patches, remove excess files - perl-5.30.1Andrew Fresh
Timing is good deraadt@, OK sthen@
2019-12-30Fix merge issues, remove excess files - match perl-5.30.1 distAndrew Fresh
Timing is good deraadt@, OK sthen@
2019-12-30Import perl-5.30.1Andrew Fresh
Timing is good deraadt@, OK sthen@
2014-03-24Import perl-5.18.2Andrew Fresh
OK espie@ sthen@ deraadt@
2013-03-25import perl 5.16.3 from CPAN - worked on by Andrew Fresh and myselfStuart Henderson
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2019-12-23Teach gdb that the trap frame should be used for alltraps_kern_meltdown().YASUOKA Masahiko
ok bluhm kettenis
2019-12-21a few depend:-related thingies that were still in.Marc Espie
okay millert@, tb@
2019-12-21Add arm64 support for lldb.mortimer
"Go for it" kettenis@
2019-12-17not renaming those temp files should be fatalMarc Espie
this got fixed in recent binutils, but it's GPLv3. So do the same thing in a slightly different way okay guenther@
2019-12-06Like Targets.def include AMDGPU lines in generated .def files forJonathan Gray
AsmParsers.def AsmPrinters.def and Disassemblers.def. Required so that LLVM headers will have prototypes for LLVMInitializeAMDGPUAsmPrinter() and LLVMInitializeAMDGPUAsmParser().
2019-11-27In lldb, use a OpenBSD signal map instead of leveraging the FreeBSD one.mortimer
ok kettenis@
2019-11-26Revert previous "honour DEBUG", otherwise clang uses -g resulting in hugeStuart Henderson
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')
2019-11-25Honour DEBUGkn
OK mortimer
2019-11-09Add lldb support for debugging running binaries on amd64.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@
2019-11-08Silence the compiler on 64bits archs where sizeof(void *) != sizeof(int).Martin Pieuchot
ok partrick@, kettenis@
2019-10-25Add retguard for octeon/mips64.mortimer
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@
2019-10-21Fix backtrace across signals on amd64Kurt Miller
okay guenther@ kettenis@
2019-09-01Update clang build infrastructure for LLVM 8.0.1.Patrick Wildt
2019-08-11Various fixes to make this compile with clang on powerpc.Mark Kettenis
ok visa@