GCCcore-10_libsanitizer_linux-5.12.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. fix issues in libsanitizer: Fix compile error with linux-5.12
  2. by Pierre-Yves Barriat (UCLouvain)
  3. --- gcc-10.3.0.orig/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2021-04-08 13:56:30.249767002 +0200
  4. +++ gcc-10.3.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2021-09-13 09:42:48.075745290 +0200
  5. @@ -130,7 +130,6 @@
  6. # include <sys/procfs.h>
  7. #endif
  8. #include <sys/user.h>
  9. -#include <linux/cyclades.h>
  10. #include <linux/if_eql.h>
  11. #include <linux/if_plip.h>
  12. #include <linux/lp.h>
  13. @@ -443,7 +442,6 @@
  14. #if SANITIZER_LINUX && !SANITIZER_ANDROID
  15. unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct);
  16. - unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor);
  17. #if EV_VERSION > (0x010000)
  18. unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry);
  19. #else
  20. @@ -809,15 +807,6 @@
  21. #endif // SANITIZER_LINUX
  22. #if SANITIZER_LINUX && !SANITIZER_ANDROID
  23. - unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH;
  24. - unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT;
  25. - unsigned IOCTL_CYGETMON = CYGETMON;
  26. - unsigned IOCTL_CYGETTHRESH = CYGETTHRESH;
  27. - unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT;
  28. - unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH;
  29. - unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT;
  30. - unsigned IOCTL_CYSETTHRESH = CYSETTHRESH;
  31. - unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT;
  32. unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE;
  33. unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE;
  34. unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG;