Commit Graph

280643 Commits

Author SHA1 Message Date
rillig
db958a8ce2 make(1): extend and explain the test for comments 2020-09-07 19:17:36 +00:00
christos
625508a57b Disable an init-list-lifetime warning from gcc-9. 2020-09-07 19:05:41 +00:00
christos
09db05edfe Comment out index out of bounds debugging code. 2020-09-07 19:04:27 +00:00
rillig
107d144dad make(1): explain why each test is run in a sub-make 2020-09-07 18:49:15 +00:00
rillig
1d8529b09b make(1): use consistent spelling for postprocessing 2020-09-07 18:43:59 +00:00
rillig
4144affb22 make(1): add test for the .WAIT dependency source 2020-09-07 18:40:32 +00:00
christos
7286702501 change cksum prototype to const void *, and check alignment via assertion. 2020-09-07 18:37:21 +00:00
rillig
cf16582094 make(1): with -dp, print name of the function instead of its address
This makes the output a bit more reproducible.  There are still the file
descriptors, which may differ between different runs, but at least the
nextbuf function is printed using a symbolic name instead of a meaningless address.
Besides loadedfile_nextbuf, the only other function is ForIterate.
2020-09-07 18:37:09 +00:00
ryo
e0db9446d5 Oops. revert my previous commit. AArch64 instructions are always LE. 2020-09-07 18:29:48 +00:00
jakllsch
9cb9f9bc98 Fix vgetq_lane_u32 for aarch64eb with GCC
Fixes NEON AES on aarch64eb
2020-09-07 18:06:13 +00:00
jakllsch
ee45e31caf Use a working macro to detect big endian aarch64.
Fixes aarch64eb NEON ChaCha.
2020-09-07 18:05:17 +00:00
jakllsch
40ad99cddf Fix printb string for LA57 2020-09-07 13:19:20 +00:00
mrg
f09faf1b79 in ar5008_set_viterbi_mask() be sure to initialise m[0]. 2020-09-07 10:45:23 +00:00
mrg
6d7a54fc45 apply some GCC_NO_ADDR_OF_PACKED_MEMBER. 2020-09-07 10:44:52 +00:00
mrg
2bc6576ee5 more updates:
- more arm stuff builds
- 32 bit mips builds and kernels run
- mips64el builds
- powerpc (walnut) kernels run
2020-09-07 10:42:58 +00:00
mrg
210197e402 switch mips to binutils 2.34. 2020-09-07 10:19:02 +00:00
knakahara
cc755e529e Fix race between ixgbe_msix_admin() and ixgbe_handle_admin(), pointed out by ozaki-r@n.o.
The race is caused by the following.
CPU#A processes workqueue, CPU#B processes admin interrupt.
    (0) one of CPUs already calls ixgbe_schedule_admin_tasklet()
        such as ixgbe_handle_timer()
    (1) CPU#A: read adapter->task_requests
    (2) CPU#B: set adapter->task_requests
    (3) CPU#B: read(and try to set) adapter->admin_pending
               but adapter->admin_pending is set, so does not
               call workqueue_enqueue()
    (4) CPU#A: clear adapter->admin_pending
that is, the tasks set by (2) is not processed as missfire workqueue by (3).
2020-09-07 09:14:53 +00:00
mrg
8484d34059 bump ramdisk image size to match build size. 2020-09-07 09:14:47 +00:00
mrg
e9ae3901e6 asan_interceptors.cc needs -O1 for mipsel/mipseb. 2020-09-07 09:09:40 +00:00
mrg
43051be004 bump image size for pmax64 builds. 2020-09-07 09:05:10 +00:00
mrg
0e30b54082 define __HAVE___LWP_GETPRIVATE_FAST 2020-09-07 07:48:23 +00:00
mrg
d4edddf34a i can't confirm or deny that GCC 9 is wrong about parity_valid[]
having uninitialised members, but since setting up reconstruct
isn't a hot path, just zero init the whole thing to be sure.
2020-09-07 07:44:53 +00:00
mrg
4dc66dd97f various updates:
- most builds are working
- arm64, amd64, sparc, evbmips64-eb, and armv7hf-el are known to be
  stable and work
- mips64-el needs new binutils, in testing
- vax, sh3*, riscv64 and mipse[lb] builds are broken in various ways
2020-09-07 07:43:36 +00:00
rillig
c7c417c4f1 make(1): migrate SuffExpandChildren to Var_ParsePP 2020-09-07 07:15:26 +00:00
rillig
11dcb9bdaf make(1): migrate to Var_ParsePP in Var_Parse and Var_Subst 2020-09-07 07:10:56 +00:00
mrg
3aea87db6a avoid returning stack garbage on platforms that don't have either
__lwp_gettcb_fast() or __lwp_getprivate_fast().
2020-09-07 07:10:43 +00:00
mrg
3a14946041 -march=armv3m option is obsolete. remove it from commented kernel
configurations (we haven't supported those machines lately anyway),
and, for GCC >= 9, from the one caller.
2020-09-07 07:08:34 +00:00
mrg
a69c7590ce don't error array-bounds and packed-member issues with GCC 9. 2020-09-07 07:07:32 +00:00
rillig
11af043635 make(1): migrate ApplyModifiers to Var_ParsePP 2020-09-07 07:04:30 +00:00
rillig
193b2ca5f4 make(1): migrate Var_Parse to Var_ParsePP in ParseDoDependency 2020-09-07 06:58:02 +00:00
rillig
163aaa9b04 make(1): migrate Var_Parse to Var_ParsePP in archive handling 2020-09-07 06:51:05 +00:00
rillig
a41c30d038 make(1): remove unnecessary cp-- from Arch_ParseArchive 2020-09-07 06:44:53 +00:00
ryoon
702e22bbae Regenerate 2020-09-07 06:33:05 +00:00
ryoon
ce81c731e8 Add Buffalo BWC-35H01 or BWC-30L01 2020-09-07 06:32:13 +00:00
rillig
40b40038da make(1): save a strlen call in ForIterate 2020-09-07 06:28:22 +00:00
rillig
83915ab45f make(1): constify local variables in ForIterate 2020-09-07 06:27:29 +00:00
rillig
ae6eb8a7cc make(1): split local variable in ForIterate 2020-09-07 06:26:18 +00:00
rillig
953112797d make(1): remove redundant includes 2020-09-07 06:20:07 +00:00
rillig
28d4e7745c make(1): convert ForEscapes from #define to enum 2020-09-07 06:01:11 +00:00
rillig
ca751b452a make(1): add local variable for escapes to for_substitute
Just for debugging.  No change in code size.
2020-09-07 05:58:08 +00:00
msaitoh
640882309f - Remove extra callout_stop() in ixgbe_detach(). Found by knakahara@.
- Rename ix{gbe,v}_free_workqueue() to ix{gbe,v}_free_deferred_handlers().
- Add KASSERT() to functions who are called from ixgbe_handle_admin().
2020-09-07 05:50:58 +00:00
rillig
4186926f7b make(1): clean up comments in job.c 2020-09-07 05:32:12 +00:00
rillig
3f25d2876e make(1): fix archive test when .CURDIR != .PARSEDIR 2020-09-07 05:16:32 +00:00
msaitoh
a8ef69bb97 __predict_false() should be __predict_true() for adapter->osdep.detaching
== false check.
2020-09-07 04:15:12 +00:00
msaitoh
ae292bc5eb Don't schedule admin work while shutdown like the recovery mode timer.
The admin workqueue also runs while !IFF_UP like the recovery mode timer.
Apply the same change of ixgbe.c 1.254 to ixgbe_schedule_admin_tasklet()
to prevent panic. Found by ozaki-r@.
2020-09-07 03:57:27 +00:00
thorpej
99c7e1fde7 Add the ability to set an alternate cnmagic in the kernel config
file, e.g.:

options    CNMAGIC="\"+++++\""
2020-09-07 03:50:41 +00:00
isaki
0c9974fdba Fix misspellings in comment. 2020-09-07 03:36:11 +00:00
mrg
95c5ec5682 remove GCC_NO_ADDR_OF_PACKED_MEMBER now lfs_accessors.h works. 2020-09-07 03:19:04 +00:00
mrg
b8b349010a remove __packed from struct netbsd32_lsdisable. the structure
is already properly aligned (the embedded int64 already has
align(4) marker applied where needed.)

same size structure generated.
2020-09-07 03:12:51 +00:00
mrg
c2082ece61 remove GCC_NO_ADDR_OF_PACKED_MEMBER for several subdir builds
that are now handled by lfs_accessors.h internally.
2020-09-07 03:09:53 +00:00