diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-12.1.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc/hardcoded-paths.patch | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-12.1.inc b/meta/recipes-devtools/gcc/gcc-12.1.inc index c42fa3d72f..488e0c95b1 100644 --- a/meta/recipes-devtools/gcc/gcc-12.1.inc +++ b/meta/recipes-devtools/gcc/gcc-12.1.inc | |||
| @@ -66,6 +66,7 @@ SRC_URI = "${BASEURI} \ | |||
| 66 | file://0026-rust-recursion-limit.patch \ | 66 | file://0026-rust-recursion-limit.patch \ |
| 67 | file://0001-libsanitizer-cherry-pick-9cf13067cb5088626ba7-from-u.patch \ | 67 | file://0001-libsanitizer-cherry-pick-9cf13067cb5088626ba7-from-u.patch \ |
| 68 | file://prefix-map-realpath.patch \ | 68 | file://prefix-map-realpath.patch \ |
| 69 | file://hardcoded-paths.patch \ | ||
| 69 | " | 70 | " |
| 70 | SRC_URI[sha256sum] = "62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b" | 71 | SRC_URI[sha256sum] = "62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b" |
| 71 | 72 | ||
diff --git a/meta/recipes-devtools/gcc/gcc/hardcoded-paths.patch b/meta/recipes-devtools/gcc/gcc/hardcoded-paths.patch new file mode 100644 index 0000000000..aa3d16f600 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc/hardcoded-paths.patch | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | Avoid encoding build paths into sources used for floating point on powerpc. | ||
| 2 | (MACHINE=qemuppc bitbake libgcc). | ||
| 3 | |||
| 4 | Upstream-Status: Pending | ||
| 5 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
| 6 | |||
| 7 | Index: gcc-12.1.0/libgcc/config/rs6000/t-float128 | ||
| 8 | =================================================================== | ||
| 9 | --- gcc-12.1.0.orig/libgcc/config/rs6000/t-float128 | ||
| 10 | +++ gcc-12.1.0/libgcc/config/rs6000/t-float128 | ||
| 11 | @@ -103,7 +103,7 @@ $(ibm128_dec_objs) : INTERNAL_CFLAGS += | ||
| 12 | $(fp128_softfp_src) : $(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@)) $(fp128_dep) | ||
| 13 | @src="$(srcdir)/soft-fp/$(subst -sw,,$(subst kf,tf,$@))"; \ | ||
| 14 | echo "Create $@"; \ | ||
| 15 | - (echo "/* file created from $$src */"; \ | ||
| 16 | + (echo "/* file created from `basename $$src` */"; \ | ||
| 17 | echo; \ | ||
| 18 | sed -f $(fp128_sed) < $$src) > $@ | ||
| 19 | |||
