[SandboxIR] Fix CmpInst::create() when it gets folded (#123408)
If the operands of a CmpInst are constants then it gets folded into a
constant. Therefore CmpInst::create() should return a Value*, not a
Constant* and should handle the creation of the constant correctly.
[flang][cuda] Perform scalar assignment of c_devptr inlined (#123407)
Because `c_devptr` has a `c_ptr` field, any assignment were done via the
Assign runtime function. This leads to stack overflow on the device and
taking too much memory. As we know the c_devptr can be directly copied
on assignment, make it a special case.
Use ALLOW_LIST_FULL_ADMIN where practical
There are several places in the codebase where we return or
evaluate the dictionary `{"method": "*", "resource": "*"}`.
Place this in a privilege_constants file that has minimal
imports to avoid potential issues with circular imports and
to speed up usage in external applications and unit tests.
[VPlan] Make VPValue constructors protected. (NFC)
Tighten access to constructors similar to ef1260acc0. VPValues should
either be constructed by constructors of recipes defining them or should
be live-ins created by VPlan (via getOrAddLiveIn).
math/R: fix rpath flag in Makeconf
The R package installs a Makefile fragment, Makeconf, which includes
all the variable definitions required for R packages to compile
external programs. The variable LIBR0, defined by the configure
script, is inserted into Makeconf and contains the linker directory
search and rpath arguments. However, this variable passes the rpath
directory to the linker with -Wl,-R, which fails on Darwin. Instead,
use ${COMPILER_RPATH_FLAG}, which is set correctly for each platform.
While here, make the paths for -rpath and -L the same.
[SandboxVectorizer] Fix a warning
This patch fixes:
third-party/unittest/googletest/include/gtest/gtest.h:1379:11:
error: comparison of integers of different signs: 'const unsigned
int' and 'const int' [-Werror,-Wsign-compare]
Add unit test for role_manager FULL_ADMIN allowlist (#15427)
This commit adds a private API endpoint to dump current role
manager contents and adds a unit test to verify that the methods
explicitly granted to the FULL_ADMIN role have not changed. This
provides coverage for a regression that granted virt write methods
in STIG mode to users with FULL_ADMIN privilege.
editors/emacs-devel: disable NATIVECOMP on powerpc* to fix build and reenable clang builds
Backtrace:
0x1016e5d8 <emacs_backtrace+0x78> at /wrkdirs/usr/ports/editors/emacs-devel/work-full/emacs-75e3ea04239/src/emacs
0x100244e0 <terminate_due_to_signal+0xcc> at /wrkdirs/usr/ports/editors/emacs-devel/work-full/emacs-75e3ea04239/src/emacs
0x100247e8 <handle_fatal_signal+0x1c> at /wrkdirs/usr/ports/editors/emacs-devel/work-full/emacs-75e3ea04239/src/emacs
0x1016b258 <deliver_thread_signal.constprop.0+0x58> at /wrkdirs/usr/ports/editors/emacs-devel/work-full/emacs-75e3ea04239/src/emacs
0x1016b320 <handle_sigsegv+0x60> at /wrkdirs/usr/ports/editors/emacs-devel/work-full/emacs-75e3ea04239/src/emacs
0x812a66128 <pthread_sigmask+0x8e4> at /lib/libthr.so.3
java/sigar: fix build on powerpc
install: /wrkdirs/usr/ports/java/sigar/work/sigar-6719d4d/bindings/java/sigar-bin/lib/libsigar-powerpc-freebsd-1.so: No such file or directory