Skip to contentSkip to conversation

gcc: fix patch format

PATCH In review [email protected] 2 participants 2 messages Jan 21 – Jan 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc: fix patch format

From: Etienne Cordonnier <[email protected]>

This is the only gcc patch which doesn't work with git am:

```
git am gcc-15.2.0-r0/sources/*.patch
...
Applying: Signed-off-by: Harish Sadineni <[email protected]>
fatal: empty ident name (for <>) not allowed
```
---
 .../gcc/gcc/0026-fix-pr90579-testcases.patch  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
meta/recipes-devtools/gcc/gcc/0026-fix-pr90579-testcases.patch +20 -0
index bee147abc1..6ada61b74f 100644
@@ -1,3 +1,23 @@
+From 679e24f5a751663998ff7202149a749e0f7251f9 Mon Sep 17 00:00:00 2001
+From: Harish Sadineni <[email protected]>
+Date: Sun, 10 Aug 2025 20:28:00 +0800
+Subject: [PATCH] testsuite: i386: Fix gcc.target/i386/pr90579.c when PIE is
+ enabled [PR118885]
+
+When gcc build with --enable-deafult-pie the following tests
+were getting failed:
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+40
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+32
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+24
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+16
+
+    PR target/118885
+
+gcc/testsuite/ChangeLog:
+
+    * gcc.target/i386/pr90579.c: add -fno-pie to dg-options
+    to fix tests when PIE is enabled.
+
 Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=679e24f5a751663998ff7202149a749e0f7251f9]
 
 Signed-off-by: Harish Sadineni <[email protected]>
Signature · 1 line
2.43.0
#1 lore raw

CC Harish in case he misses the update.

Quoted 6 lines · Etienne Cordonnier via lists.openembedded.org

From: Etienne Cordonnier<[email protected]>

This is the only gcc patch which doesn't work with git am:

```
git am gcc-15.2.0-r0/sources/*.patch

I like to do this from time to time as well - nice.

Thanks,

../Randy

Quoted 47 lines

...
Applying: Signed-off-by: Harish Sadineni<[email protected]>
fatal: empty ident name (for <>) not allowed
```

---
  .../gcc/gcc/0026-fix-pr90579-testcases.patch  | 20 +++++++++++++++++++
  1 file changed, 20 insertions(+)
meta/recipes-devtools/gcc/gcc/0026-fix-pr90579-testcases.patch +20 -1
index bee147abc1..6ada61b74f 100644
@@ -1,3 +1,23 @@
+From 679e24f5a751663998ff7202149a749e0f7251f9 Mon Sep 17 00:00:00 2001
+From: Harish Sadineni<[email protected]>
+Date: Sun, 10 Aug 2025 20:28:00 +0800
+Subject: [PATCH] testsuite: i386: Fix gcc.target/i386/pr90579.c when PIE is
+ enabled [PR118885]
+
+When gcc build with --enable-deafult-pie the following tests
+were getting failed:
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+40
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+32
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+24
+ FAIL: gcc.target/i386/pr90579.c scan-assembler vaddsd\tr\\+16
+
+    PR target/118885
+
+gcc/testsuite/ChangeLog:
+
+    * gcc.target/i386/pr90579.c: add -fno-pie to dg-options
+    to fix tests when PIE is enabled.
+
  Upstream-Status: Backport [https://gcc.gnu.org/cgit/gcc/commit/?id=679e24f5a751663998ff7202149a749e0f7251f9]
 
  Signed-off-by: Harish Sadineni<[email protected]>
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#229819):https://lists.openembedded.org/g/openembedded-core/message/229819 Mute This Topic:https://lists.openembedded.org/mt/117384023/3616765
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux