Performing C SOURCE FILE Test RIGHT_SHIFT_IS_UNSIGNED failed with the following compile output: Change Dir: /var/tmp/portage/media-libs/libjpeg-turbo-2.1.5.1/work/libjpeg-turbo-2.1.5.1_build-abi_x86_64.amd64/CMakeFiles/CMakeScratch/TryCompile-wiQs4o Run Build Command(s):/usr/bin/ninja cmTC_d43d2 && [1/2] Building C object CMakeFiles/cmTC_d43d2.dir/src.c.o [2/2] Linking C executable cmTC_d43d2 ...and run output: Return value: 1 Source file was: #include #include int is_shifting_signed (long arg) { long res = arg >> 4; if (res == -0x7F7E80CL) return 1; /* right shift is signed */ /* see if unsigned-shift hack will fix it. */ /* we can't just test exact value since it depends on width of long... */ res |= (~0L) << (32-4); if (res == -0x7F7E80CL) return 0; /* right shift is unsigned */ printf("Right shift isn't acting as I expect it to.\n"); printf("I fear the JPEG software will not work at all.\n\n"); return 0; /* try it with unsigned anyway */ } int main (void) { exit(is_shifting_signed(-0x7F7E80B1L)); } Checking whether the ASM_NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)": yasm 1.3.0 Compiled on Mar 10 2023. Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Checking whether the ASM_NASM compiler is Clang using "--version" did not match "(clang version)": yasm 1.3.0 Compiled on Mar 10 2023. Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Checking whether the ASM_NASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)": yasm 1.3.0 Compiled on Mar 10 2023. Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Checking whether the ASM_NASM compiler is ARMClang using "--version" did not match "armclang": yasm 1.3.0 Compiled on Mar 10 2023. Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Checking whether the ASM_NASM compiler is HP using "-V" did not match "HP C": yasm: warning: unrecognized option `-V' yasm: No input files specified Checking whether the ASM_NASM compiler is Intel using "--version" did not match "(ICC)": yasm 1.3.0 Compiled on Mar 10 2023. Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Checking whether the ASM_NASM compiler is IntelLLVM using "--version" did not match "(Intel[^ ]+oneAPI)": yasm 1.3.0 Compiled on Mar 10 2023. Copyright (c) 2001-2014 Peter Johnson and other Yasm developers. Run yasm --license for licensing overview and summary. Checking whether the ASM_NASM compiler is SunPro using "-V" did not match "Sun C": yasm: warning: unrecognized option `-V' yasm: No input files specified Checking whether the ASM_NASM compiler is XL using "-qversion" did not match "XL C": yasm: warning: unrecognized option `-qversion' yasm: No input files specified Checking whether the ASM_NASM compiler is MSVC using "-?" did not match "Microsoft": yasm: warning: unrecognized option `-?' yasm: No input files specified Checking whether the ASM_NASM compiler is TI using "-h" did not match "Texas Instruments": usage: yasm [option]* file Options: --version show version text --license show license text -h, --help show help text --arch= select architecture (list with -a help) -a --parser= select parser (list with -p help) -p --preproc= select preprocessor (list with -r help) -r --oformat= select object format (list with -f help) -f --dformat= select debugging format (list with -g help) -g --lformat= select list format (list with -L help) -L --list= name of list-file output -l --objfile= name of object-file output -o --mapfile= name of map-file output --machine= select machine (list with -m help) -m --force-strict treat all sized operands as if `strict' was used -w inhibits warning messages -W enables/disables warning -M generate Makefile dependencies on stdout -E redirect error messages to file -s redirect error messages to stdout -e, --preproc-only preprocess only (writes output to stdout by default) -i add include path -I add include path -P pre-include file -d pre-define a macro, optionally to value -D pre-define a macro, optionally to value -u undefine a macro -U undefine a macro -X