Files
tqma6-yocto-mirror/sources/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/0001-libmissing.h-fix-klibc-build-when-using-glibc-toolch.patch
Siggi (OpenClaw Agent) 16accb6b24 Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved)
- Complete sources/ directory with all BitBake recipes
- Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl)
- Full traceability for Softwarefreigabeantrag
- GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4
- License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
2026-03-01 21:14:11 +00:00

41 lines
1012 B
Diff

From e596ae99059c28fa9bb3461e03e7ecaacbf41727 Mon Sep 17 00:00:00 2001
From: Andrea Adami <andrea.adami@gmail.com>
Date: Wed, 23 May 2018 15:34:59 +0200
Subject: [PATCH] libmissing.h: fix klibc build when using glibc toolchain
klibc lacks execinfo.h so adda guard around it.
Note: build with musl toolchain is ok even without this patch.
Fix build error:
| In file included from ../git/lib/execinfo.c:1:0:
| ../git/include/libmissing.h:7:10: fatal error: execinfo.h:
No such file or directory
Upstream-Status: Inappropriate [klibc specific]
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
include/libmissing.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/libmissing.h b/include/libmissing.h
index 0196033..832c372 100644
--- a/include/libmissing.h
+++ b/include/libmissing.h
@@ -3,9 +3,11 @@
#include "config.h"
+#ifndef __KLIBC__
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
#endif
+#endif
#ifndef HAVE_EXECINFO_H
int backtrace(void **buffer, int size);
--
2.7.4