diff options
-rw-r--r-- | meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch | 24 | ||||
-rw-r--r-- | meta/recipes-core/glibc/glibc_2.41.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch b/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch new file mode 100644 index 0000000000..862c7b9086 --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 603e50d6b8ccadb32d59b0497f76629665c1794b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 16 Apr 2025 19:51:01 -0700 | ||
4 | Subject: [PATCH] Propagate -ffile-prefix-map from CFLAGS to ASFLAGS. | ||
5 | |||
6 | Upstream-Status: Submitted [https://sourceware.org/pipermail/libc-alpha/2025-April/165969.html] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | Makeconfig | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/Makeconfig b/Makeconfig | ||
13 | index e35c5cfe4e..7a19c731c6 100644 | ||
14 | --- a/Makeconfig | ||
15 | +++ b/Makeconfig | ||
16 | @@ -1176,7 +1176,7 @@ endif | ||
17 | |||
18 | # The assembler can generate debug information too. | ||
19 | ifndef ASFLAGS | ||
20 | -ASFLAGS := $(filter -g% -fdebug-prefix-map=%,$(CFLAGS)) | ||
21 | +ASFLAGS := $(filter -g% -fdebug-prefix-map=% -ffile-prefix-map=%,$(CFLAGS)) | ||
22 | endif | ||
23 | override ASFLAGS += -Werror=undef $(ASFLAGS-config) $(asflags-cpu) | ||
24 | |||
diff --git a/meta/recipes-core/glibc/glibc_2.41.bb b/meta/recipes-core/glibc/glibc_2.41.bb index d707e1a677..82dcf08fcd 100644 --- a/meta/recipes-core/glibc/glibc_2.41.bb +++ b/meta/recipes-core/glibc/glibc_2.41.bb | |||
@@ -54,6 +54,7 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ | |||
54 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ | 54 | file://0022-Avoid-hardcoded-build-time-paths-in-the-output-binar.patch \ |
55 | file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ | 55 | file://0023-tests-Skip-2-qemu-tests-that-can-hang-in-oe-selftest.patch \ |
56 | file://0001-stdlib-Add-single-threaded-fast-path-to-rand.patch \ | 56 | file://0001-stdlib-Add-single-threaded-fast-path-to-rand.patch \ |
57 | file://0001-Propagate-ffile-prefix-map-from-CFLAGS-to-ASFLAGS.patch \ | ||
57 | " | 58 | " |
58 | S = "${WORKDIR}/git" | 59 | S = "${WORKDIR}/git" |
59 | B = "${WORKDIR}/build-${TARGET_SYS}" | 60 | B = "${WORKDIR}/build-${TARGET_SYS}" |