[Bug sanitizer/90337] New: sanitizer_linux.cc Fails to compile on Illumos-derived Solaris

2019-05-03 Thread gcc at sentfrom dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: gcc at sentfrom dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc

[Bug sanitizer/90337] sanitizer_linux.cc Fails to compile on Illumos-derived Solaris

2019-05-03 Thread gcc at sentfrom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90337 --- Comment #2 from Fazal Majid --- Created attachment 46282 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46282&action=edit Patch for the O_DIRECTORY issue

[Bug sanitizer/90337] sanitizer_linux.cc Fails to compile on Illumos-derived Solaris

2019-05-03 Thread gcc at sentfrom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90337 --- Comment #1 from Fazal Majid --- Another error, due to glob_t having gained some extra fields in newer versions of Illumos (apparently based on BSD code contributed by Guide van Rossum). Oracle Solaris: typedef struct glob_t { size

[Bug sanitizer/90337] sanitizer_linux.cc Fails to compile on Illumos-derived Solaris

2019-05-03 Thread gcc at sentfrom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90337 --- Comment #3 from Fazal Majid --- Created attachment 46283 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46283&action=edit Patch for the glob_t issue

[Bug sanitizer/90337] sanitizer_linux.cc Fails to compile on Illumos-derived Solaris

2019-05-03 Thread gcc at sentfrom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90337 --- Comment #5 from Fazal Majid --- Yet another compile issue: mordac ~/build/gcc-9.1.0/obj/x86_64-pc-solaris2.11/libsanitizer/sanitizer_common>/bin/ksh ../libtool --tag=CXX --mode=compile /home/majid/build/gcc-9.1.0/obj/./gcc/xgcc -shared-li

[Bug sanitizer/90337] sanitizer_linux.cc Fails to compile on Illumos-derived Solaris

2019-05-03 Thread gcc at sentfrom dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90337 --- Comment #6 from Fazal Majid --- @Andrew Pinski I looked for the files in question at https://github.com/google/sanitizers and couldn't find them, so I assumed they were the GCC-specific port of the LLVM sanitizer code.