Skip to content

Instantly share code, notes, and snippets.

View kraj's full-sized avatar
🙂
peace

Khem Raj kraj

🙂
peace
View GitHub Profile
@kraj
kraj / tmp1
Created April 22, 2026 23:07
/tmp/1
--- ../../../3.3.10.old/build-fftw/config.h 2026-04-22 15:35:58.933003932 -0700
+++ ../../build-fftw/config.h 2026-04-22 15:58:33.092152340 -0700
@@ -38,7 +38,7 @@
/* #undef FC_DUMMY_MAIN_EQ_F77 */
/* C compiler name and flags */
-#define FFTW_CC "ccache aarch64-yoe-linux-clang -mcpu=cortex-a55+crypto --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -std=gnu23 -O3 -fomit-frame-pointer -fstrict-aliasing"
+#define FFTW_CC "ccache aarch64-yoe-linux-clang -mcpu=cortex-a55+crypto --dyld-prefix=/usr -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -std=gnu23 -O2 -g -pipe -D_GNU_SOURCE"
/* Define to enable extra FFTW debugging code. */
@kraj
kraj / m4ax_code_coverage.m4
Created April 17, 2026 20:50
m4/ax_code_coverage.m4
# ===========================================================================
# https://www.gnu.org/software/autoconf-archive/ax_code_coverage.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_CODE_COVERAGE()
#
# DESCRIPTION
#
@kraj
kraj / stdin
Created April 11, 2026 07:23
stdin
diff --git a/src/sd/malloc.c b/src/sd/malloc.c
index 7d241ad..43dd460 100644
--- a/src/sd/malloc.c
+++ b/src/sd/malloc.c
@@ -41,8 +41,7 @@ typedef void (*sd_malloc_handler_t)();
static sd_malloc_handler_t handler = NULL;
static void *
-fixup_null_alloc (n)
- size_t n;
@kraj
kraj / stdin
Created April 10, 2026 18:59
stdin
diff --git a/lib/md5.c b/lib/md5.c
index fbe7ae89..62360c93 100644
--- a/lib/md5.c
+++ b/lib/md5.c
@@ -56,15 +56,15 @@ documentation and/or software.
static void MD5Transform PROTO_LIST ((UINT4 [4], const unsigned char [64]));
static void Encode PROTO_LIST
- ((unsigned char *, UINT4 *, unsigned int));
+ ((unsigned char *, UINT4 *, unsigned int));
@kraj
kraj / libautoconfc.m4
Created April 9, 2026 01:45
lib/autoconf/c.m4
# This file is part of Autoconf. -*- Autoconf -*-
# Programming languages support.
# Copyright (C) 2001-2017, 2020-2026 Free Software Foundation, Inc.
# This file is part of Autoconf. This program is free
# software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
@kraj
kraj / mntbyoemasterbuildtmpworkcortexa55-yoe-linuxqtwebengine6.11.1templog.do_compile.2341
Last active March 30, 2026 14:25
/mnt/b/yoe/master/build/tmp/work/cortexa55-yoe-linux/qtwebengine/6.11.1/temp/log.do_compile.2341
This file has been truncated, but you can view the full file.
DEBUG: Executing shell function do_compile
NOTE: cmake --build /mnt/b/yoe/master/build/tmp/work/cortexa55-yoe-linux/qtwebengine/6.11.1/build --target all --
[1/171] Copying WebEngineQuickDelegatesQml qml resources into build dir
[2/171] Generating ../../../lib/mkspecs/modules/qt_lib_webenginecore_private.pri
[3/171] Copying WebEngineQuick qml sources into build dir
[4/171] Copying WebEngineQuick qml resources into build dir
[5/171] Copying WebEngineQuickDelegatesQml qml sources into build dir
[6/171] Generating ../../lib/mkspecs/modules/qt_lib_webenginewidgets_private.pri
[7/171] Generating ../../lib/mkspecs/modules/qt_lib_webenginequick_private.pri
[8/171] Generating version linker script for target qtwebenginequickdelegatesplugin
@kraj
kraj / mntbyoemasterbuildtmpworkarmv8a_tegra234-yoe-linuxoasisgittemplog.do_compile.753
Created March 28, 2026 18:08
/mnt/b/yoe/master/build/tmp/work/armv8a_tegra234-yoe-linux/oasis/git/temp/log.do_compile.753
DEBUG: Executing shell function do_compile
NOTE: cmake --build /mnt/b/yoe/master/build/tmp/work/armv8a_tegra234-yoe-linux/oasis/git/build --target all --
[1/8] Running qmlimportscanner for Oasis
[2/8] Automatic MOC and UIC for target Oasis
[3/8] Automatic RCC for gui/GUIResources.qrc
[4/8] Building CXX object src/Oasis/CMakeFiles/Oasis.dir/Oasis_autogen/mocs_compilation.cpp.o
[5/8] Building CXX object src/Oasis/CMakeFiles/Oasis.dir/Oasis_autogen/DMHXEJ42XS/qrc_GUIResources.cpp.o
[6/8] Building CUDA object src/Oasis/CMakeFiles/Oasis.dir/engine/CUDA_PointWiseMovingAverage.cu.o
[7/8] Building CXX object src/Oasis/CMakeFiles/Oasis.dir/main.cpp.o
FAILED: [code=1] src/Oasis/CMakeFiles/Oasis.dir/main.cpp.o
@kraj
kraj / stdin
Created February 5, 2026 04:51
stdin
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/x86-64-v3-poky-linux/freerdp3/3.22.0/temp/log.do_configure.200113
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-connectivity/openssl/openssl_3.5.5.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-core/glibc/glibc_2.42.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-core/zlib/zlib_1.3.1.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-devtools/cmake/cmake-native_4.2.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_15.2.bb:do_populate_sysroot', '/srv/pokybuild/yocto-worker/meta-oe/build/layers/openembedded-core/meta/recipes-devto
@kraj
kraj / a.patch
Created January 6, 2026 02:30
a.patch
diff --git a/clang/include/clang/Basic/OffloadArch.h b/clang/include/clang/Basic/OffloadArch.h
index ea665b1f49e0..b7d6e00f628e 100644
--- a/clang/include/clang/Basic/OffloadArch.h
+++ b/clang/include/clang/Basic/OffloadArch.h
@@ -16,7 +16,7 @@ class StringRef;
namespace clang {
enum class OffloadArch {
- UNUSED,
+ UNUSED_,
@kraj
kraj / mntbyoemasterbuildtmpworkx86_64-linuxmesa-native25.3.1templog.do_compile.7145
Created January 6, 2026 01:44
/mnt/b/yoe/master/build/tmp/work/x86_64-linux/mesa-native/25.3.1/temp/log.do_compile.7145
This file has been truncated, but you can view the full file.
DEBUG: Executing shell function do_compile
[1/2679] /mnt/b/yoe/master/build/tmp/hosttools/ccache gcc -Isrc/c11/impl/libmesa_util_c11.a.p -Isrc/c11/impl -I../sources/mesa-25.3.1/src/c11/impl -Isrc -I../sources/mesa-25.3.1/src -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="25.3.1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_OPENGL=1 -DHAVE_OPENGL_ES_1=1 -DHAVE_OPENGL_ES_2=1 -DHAVE_CROCUS -DHAVE_I915 -DHAVE_IRIS -DHAVE_LLVMPIPE -DHAVE_NOUVEAU -DHAVE_R300 -DHAVE_R600 -DHAVE_RADEONSI -DHAVE_SOFTPIPE -DHAVE_SVGA -DHAVE_VIRGL -DHAVE_SWRAST -DMESA_SYSTEM_HAS_KMS_DRM=1 -DVIDEO_CODEC_VC1DEC=1 -DVIDEO_CODEC_H264DEC=1 -DVIDEO_CODEC_H264ENC=1 -DVIDEO_CODEC_H265DEC=1 -DVIDEO_CODEC_H265ENC=1 -DVIDEO_CODEC_AV1DEC=1 -DVIDEO_CODEC_AV1ENC=1 -DVIDEO_CODEC_VP9DEC=1 -DHAVE_WAYLAND_PLATFORM -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_D