summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Never automatically rewrite perl/dist/Devel-PPPort/t/01_test.tafresh12021-03-041-1/+1
| | | | | | | | | We are never going to update the files that generate this test and the interaction with "cvs up" means we can accidentally hit it when they hange between releases but permissions when building the system prevent us from writing the update and breaks the build. Found by naddy@, krw@, and deraadt@
* Apply pre-built unicore patch, remove excess files - perl-5.32.1afresh12021-03-01550-124170/+216104
| | | | OK sthen@
* Apply local patches, remove excess files - perl-5.32.1afresh12021-03-0154-525/+363
| | | | OK sthen@
* Fix merge issues, remove excess files - match perl-5.32.1 distafresh12021-03-01981-71740/+84299
| | | | OK sthen@
* Import perl-5.32.1afresh12021-03-01752-17266/+45020
| | | | OK sthen@
* Recommit upstream alignment fix plus libperl version bumpafresh12021-02-204-25/+41
| | | | | | | This reapplies commit e0lLUzj1XNW7pJMh and moves libperl to 21.0 The ABI change appears to be fine after XS modules are rebuilt. OK sthen@
* Revery previous hash alignment fixafresh12021-02-163-40/+24
| | | | Unintentionally changes ABI and breaks perl ports
* Backport upstream perl 64bit hash alignment fixesafresh12021-02-163-24/+40
| | | | | | | | | | | | | | | | Different flags triggering new compiler optimizations means that luck has run out on this working by chance with the strict alignment of octeon. Upstream issue: https://github.com/Perl/perl5/issues/18555 This is a combination of three commits from upstream. https://github.com/Perl/perl5/commit/d18575f18c6ee61ce80492e82cae7361358d570a https://github.com/Perl/perl5/commit/6027b190154088fbbcbde08a80c49531e4e4c012 https://github.com/Perl/perl5/commit/f43079cb514e3d0be0036424695438ae3fb58451 works on all arch deraadt@
* Shuffle how lldb register contexts are built.mortimer2021-02-141-3/+2
| | | | | | | | | | | | Instead of using #if defined(__arch__) to include / exclude the entire contents of the NativeRegisterContext implementations, use a single NativeRegisterContextOpenBSD_arch which includes the right arch specific register context, and provides a dummy implementation for unsupported architectures. This allows building lldb on architectures which do not have a register context implementation so it can be used as a remote client. ok patrick@
* When clang was changed to -fcommon, perl's P_hash_{seed,state} variablesderaadt2021-02-111-1/+2
| | | | | | | | | | | | | | moved into BSS in the .o, with padding rules following the types -- they are both char[]. Since P_hash_seed is (system-dependent) not a multiple of 8, P_hash_state gets layed out misaligned, which sucks because the hash functions demand 64-bit alignment for both variables. There is the possibility of using misalignment macros, but this is not cheap. Could also use kernel-trap fault repair, but the performance would really suck for something so crucial. The correct fix would be for upstream to declare these types as uint64[], we have requested that in https://github.com/Perl/perl5/issues/18555 In the meantime, carry a diff to roundup P_hash_seed to 64-bit alignment so that P_hash_state will land aligned. ok afresh1
* only amd64 & arm64 lldb work at the momentderaadt2021-02-102-2/+12
|
* Build and install lldb.patrick2021-02-092-4/+4
| | | | Discussed with deraadt@
* Extern dwarf2_loc_mark_labels. Fixes compiation with -fno-common.mortimer2021-01-281-1/+1
| | | | ok deraadt@
* Explicitly enable -fcommon, rather than untangle common symbols.mortimer2021-01-281-1/+2
| | | | ok deraadt@
* Fix a bug that GDB could not show the symbols of the core dump it wasasou2020-12-021-1/+35
| | | | | | generated with the static linked ELF file. ok mpi@
* Implement Loongson 2F BTB bug workaround in clangvisa2020-12-011-1/+2
| | | | | | | | | | This adapts the -mfix-loongson2f-btb workaround from as(1) to LLVM/clang. Because LLVM emits machine code directly without using assembly as intermediary form, the workaround has to be applied in the compiler backend in addition to the integrated assembler. Discussed with miod@ OK mortimer@
* Sort list of archs in alphabetical order.patrick2020-11-101-4/+4
| | | | | From Brad ok mortimer@
* Disable retguard for clang build.mortimer2020-10-121-2/+2
| | | | Fixes build on powerpc
* Add RETGUARD implementation for powerpc and powerpc64.mortimer2020-10-121-1/+2
| | | | ok deraadt@ kettenis@
* Add minimal support for OpenBSD/powerpc64.kettenis2020-09-307-0/+748
|
* Avoid generating a core dump during make build. The Perl configurebluhm2020-09-161-0/+1
| | | | | | | 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@
* Update build infrastructure for LLVM 10.0.1.patrick2020-08-0912-21/+37
|
* Update build infrastructure for LLVM 10.0.0.patrick2020-08-03201-809/+1908
| | | | | ok hackroom@ tested by plenty
* Use consistent types in comparison to fix build with clang 10.visa2020-07-312-2/+2
| | | | | | | | 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@
* change bfd amd64 ELF_MAXPAGESIZE from 1M to 4Kjsg2020-07-232-2/+2
| | | | | | | | | | | | | 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@
* Add a few missing elocations.kettenis2020-07-222-0/+65
| | | | ok jasper@
* Don't build gdb on powerpc64.kettenis2020-07-041-2/+2
|
* We need the same header files on powerpc64 as we have on powerpc.kettenis2020-07-021-2/+2
| | | | ok deraadt@
* Re-enable silent mode in perl Configureafresh12020-07-011-2/+2
| | | | | | Lost in the cleanup. Noticed by deraadt@
* Remove some customizations from the perl buildafresh12020-06-2710-188/+94
| | | | | | | | | | | | 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@
* avoid -Wpointer-compare warning which broke build with clang 10jsg2020-06-182-2/+2
|
* Sync to perl 5.30.3afresh12020-06-0436-230/+623
| | | | | All functional changes were committed already, this updates the version number, Module::Corelist, and documentation.
* Fix various overflows and state corruption in perlafresh12020-06-015-51/+125
| | | | | | | | | | | 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
* Don't build the rs6000coff_vec and rs6000coff64_vec targets. Thesekettenis2020-05-311-3/+3
| | | | | | | generate fatal compiler warnings at least when cross-compiling and fixing the code isn't trivial. ok patrick@, drahn@
* Initial set of changes to build powerpc64 toolchain.drahn2020-05-302-5/+5
| | | | Disable PIC/PIE for powerpc64 for now.
* Adjust some PPC ELF code to return -1 instead of doing pointerpatrick2020-05-291-1/+1
| | | | | | | 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@
* Note extra Term-ReadKey build dependency on Cwdafresh12020-04-251-0/+1
| | | | Avoids using the installed Cwd module while building perl
* Make sure that we generate a PLT when a plabel is required even forkettenis2020-04-091-1/+7
| | | | | | symbols that were hidden. Fixes building Mesa on hppa. ok deraadt@
* Update perl manpage listafresh12020-04-091-1/+3
| | | | Missed somehow in perl update
* Update perl to 5.30.2afresh12020-04-09101-486/+1538
| | | | | | | | | | | | | | | | | | | | | | | | 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@
* Update perl Term::ReadKey to 2.38afresh12020-03-0615-605/+704
| | | | ok bluhm@
* crank major versions of libLLVM libc++ libc++abigkoehler2020-03-041-1/+1
| | | | | OpenBSD macppc builds these libs with clang. Their ABI is changing because of clang -msvr4-struct-return
* avoid build race condition: our make has an "expensive job" heuristicespie2020-01-031-3/+7
| | | | | | | | | | | 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@
* Apply pre-built unicore patch, remove excess files - perl-5.30.1afresh12019-12-30526-90419/+129055
| | | | Timing is good deraadt@, OK sthen@
* Apply local patches, remove excess files - perl-5.30.1afresh12019-12-3053-582/+452
| | | | Timing is good deraadt@, OK sthen@
* Fix merge issues, remove excess files - match perl-5.30.1 distafresh12019-12-30897-222555/+115672
| | | | Timing is good deraadt@, OK sthen@
* Import perl-5.30.1afresh12019-12-30381-10271/+29251
| | | | Timing is good deraadt@, OK sthen@
* Teach gdb that the trap frame should be used for alltraps_kern_meltdown().yasuoka2019-12-231-0/+1
| | | | ok bluhm kettenis
* a few depend:-related thingies that were still in.espie2019-12-217-26/+7
| | | | okay millert@, tb@
* Add arm64 support for lldb.mortimer2019-12-211-1/+2
| | | | "Go for it" kettenis@