[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #12 from Andrew Pinski  ---
At this point 2.6.9 is too old of a kernel to support sanitizers.

[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #8 from Dmitry Vyukov dvyukov at google dot com ---
Kostya, Alexey, Eugeniy, please land this fix to llvm tree while I am OOO.


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #5 from Andreas Schwab sch...@linux-m68k.org ---
linux/aio_abi.h was added in 2.5.32.

https://git.kernel.org/cgit/linux/kernel/git/tglx/history.git/commit/?id=ea5097be4e814a2a9457e60653052306295941e8


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

Dmitry Vyukov dvyukov at google dot com changed:

   What|Removed |Added

 CC||dvyukov at google dot com

--- Comment #6 from Dmitry Vyukov dvyukov at google dot com ---
How does LINUX_VERSION_CODE relate to linux kernel version? What is the
LINUX_VERSION_CODE value for 2.5.32? Is the other LINUX_VERSION_CODE value
(132627) correct?


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #7 from Andreas Schwab sch...@linux-m68k.org ---
Format it as a hexadecimal number.


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #9 from Pierre Ossman ossman at cendio dot se ---
(In reply to Andreas Schwab from comment #5)
 linux/aio_abi.h was added in 2.5.32.
 
 https://git.kernel.org/cgit/linux/kernel/git/tglx/history.git/commit/
 ?id=ea5097be4e814a2a9457e60653052306295941e8

How can it be missing on RHEL 4 with 2.6.9 in that case?


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #10 from Andreas Schwab sch...@linux-m68k.org ---
Are you sure their user-space kernel headers are at 2.6.9 level?

https://git.kernel.org/cgit/linux/kernel/git/tglx/history.git/commit/?id=31a3791056e43c6dd7386b8bc0f5fb94848c5a61
https://git.kernel.org/cgit/linux/kernel/git/tglx/history.git/tree/include/linux?id=31a3791056e43c6dd7386b8bc0f5fb94848c5a61


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

Pierre Ossman ossman at cendio dot se changed:

   What|Removed |Added

 CC||ossman at cendio dot se

--- Comment #4 from Pierre Ossman ossman at cendio dot se ---
Unfortunately the git history doesn't go further back than 2.6.12 so I don't
know when aio_abi.h got added. But the code only needs the enum, so something
like this should work:

#include linux/version.h
/* aio_abi.h was added in 2.6.10 (FIXME: check this) */
#if LINUX_VERSION_CODE  132624
enum {
IOCB_CMD_PREAD = 0,
IOCB_CMD_PWRITE = 1,
IOCB_CMD_FSYNC = 2,
IOCB_CMD_FDSYNC = 3,
IOCB_CMD_NOOP = 6,
};
#else
#include_next linux/aio_abi.h
#endif
/* IOCB_CMD_PREADV/PWRITEV has been added in 2.6.19 */
#if LINUX_VERSION_CODE  132627
#define IOCB_CMD_PREADV 7
#define IOCB_CMD_PWRITEV 8
#endif


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2015-05-21 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #11 from Pierre Ossman ossman at cendio dot se ---
Not really. :)

I stumbled upon this trying to use 2.4 headers, so I honestly haven't tried
2.6.9, RHEL variant or otherwise.


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2014-08-22 Thread tortoise_74 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #2 from Bruce Adams tortoise_74 at yahoo dot co.uk ---
Running configure using --disable-libcilkrts (in addition to
--disable-libsanitiser) which is not documented results in a useable gcc 4.9.1
(with c++ working but presumably cilk++ broken).


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2014-08-22 Thread tortoise_74 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #3 from Bruce Adams tortoise_74 at yahoo dot co.uk ---
Running configure using --disable-libcilkrts (in addition to
--disable-libsanitiser) which is not documented results in a useable gcc 4.9.1
(with c++ working but presumably cilk++ broken).


[Bug sanitizer/61955] libsanitizer fails to compile on RHEL4

2014-07-29 Thread tortoise_74 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955

--- Comment #1 from Bruce Adams tortoise_74 at yahoo dot co.uk ---
configuring with --disable-libsantizer progresses the build but it fails later
on linking cilk. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61956