File: riscv64-gcc-11.3.0.patch

package info (click to toggle)
openjdk-24 24.0.2%2B12-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 831,900 kB
  • sloc: java: 5,677,020; cpp: 1,323,154; xml: 1,320,524; ansic: 486,889; asm: 405,131; objc: 21,025; sh: 15,221; javascript: 11,049; python: 8,222; makefile: 2,504; perl: 357; awk: 351; sed: 172; pascal: 103; exp: 54; jsp: 24; csh: 3
file content (14 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ur a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp	2022-11-30 12:25:37.363419659 +0100
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp	2022-11-30 12:42:48.135412054 +0100
@@ -59,7 +59,9 @@
 
 #if !SANITIZER_ANDROID
 #include <fstab.h>
-#include <sys/mount.h>
+// sys/mount.h conflicts with linux/fs.h in glibc 2.36+
+// See https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E
+// This has been fixed elsewhere, but apparently not in Fedora riscv.
 #include <sys/timeb.h>
 #include <utmpx.h>
 #endif