Skip to content

Commit 4b5b7e6

Browse files
committed
Fix newlib build failure
Starting with upstream newlib commit 492e5fe8b0863e15ffd5a269e42b60fabfc5f5db newlib build started failing on machine that don't have makeinfo (part of texinfo package) installed when trying to build the file libgloss/doc/porting.info. We don't provide newlib docs as part of our distribution, so makeinfo should not be required. This patch fixes the issue by creating an empty libgloss/doc/porting.info file.
1 parent 9c196cf commit 4b5b7e6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

patches/newlib-HEAD.patch

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ index 6b2d62a9b..000a2c728 100644
2525
#endif
2626
{
2727
diff --git a/libgloss/arm/syscalls.c b/libgloss/arm/syscalls.c
28-
index fc394f94b..0b3287df4 100644
28+
index 710a741ee..9e710b09a 100644
2929
--- a/libgloss/arm/syscalls.c
3030
+++ b/libgloss/arm/syscalls.c
3131
@@ -180,7 +180,7 @@ initialise_monitor_handles (void)
@@ -67,6 +67,13 @@ index 845ad0173..2056c2adf 100644
6767
.global __rt_stkovf_split_big
6868
.global __rt_stkovf_split_small
6969

70+
diff --git a/libgloss/doc/porting.info b/libgloss/doc/porting.info
71+
new file mode 100644
72+
index 000000000..8b1378917
73+
--- /dev/null
74+
+++ b/libgloss/doc/porting.info
75+
@@ -0,0 +1 @@
76+
+
7077
diff --git a/newlib/libc/machine/aarch64/memchr.S b/newlib/libc/machine/aarch64/memchr.S
7178
index 53f5d6bc0..81fcecccd 100644
7279
--- a/newlib/libc/machine/aarch64/memchr.S

versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ Revisions:
5555
- Name: newlib.git
5656
FriendlyName: Newlib
5757
URL: https://github.com/mirror/newlib-cygwin.git
58-
Revision: d5a20f0b70c73c72ec2bc4b639815bb821859255
58+
Revision: 492e5fe8b0863e15ffd5a269e42b60fabfc5f5db
5959
Patch: newlib-HEAD.patch

0 commit comments

Comments
 (0)