public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4
@ 2014-07-29 16:31 tortoise_74 at yahoo dot co.uk
2014-07-29 16:37 ` [Bug sanitizer/61955] " tortoise_74 at yahoo dot co.uk
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: tortoise_74 at yahoo dot co.uk @ 2014-07-29 16:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955
Bug ID: 61955
Summary: libsanitizer fails to compile on RHEL4
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: tortoise_74 at yahoo dot co.uk
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
gcc 4.9.0 fails to compile on a standard Red Hat 4 system due to problems
compiling libsantiser.
See also https://gcc.gnu.org/ml/gcc/2014-05/msg00219.html
The work around of configuring gcc --disable-libsanitizer progresses the build
(which then fails for other reasons see below)
I would have thought this was a reasonably popular target still but there do
not seem to be any other reports.
I tried again using gcc 4.9.1 and the problem still occurs.
This target build successfully using the same method for gcc 4.8.1
brucea@:development/brucea/gcc>lsb_release -a
LSB Version:
:core-3.0-amd64:core-3.0-ia32:core-3.0-noarch:graphics-3.0-amd64:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseES
Description: Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
Release: 4
Codename: NahantUpdate5
brucea@:development/brucea/gcc>uname -a
Linux uktnswg-tvdev01.tnsad.com 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT
2007 x86_64 x86_64 x86_64 GNU/Linux
Build using configure/make/install for each of the following in turn
gmp-5.0.2.tar.bz2
mpfr-3.1.0.tar.bz2
mpc-0.9.tar.gz
gcc-4.9.0.tar.bz2 or gcc-4.9.1.tar.bz2
libtool: compile: /development/brucea/gcc/build/build/./gcc/xgcc
-shared-libgcc -B/development/brucea/gcc/build/build/./gcc -
nostdinc++
-L/development/brucea/gcc/build/build/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/development/brucea/gcc/build/bui
ld/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/development/brucea/gcc/build/build/x86_64-unknown-linux-gnu/libstdc++-v3
/libsupc++/.libs -B/home/brucea/gcc4.9.1/x86_64-unknown-linux-gnu/bin/
-B/home/brucea/gcc4.9.1/x86_64-unknown-linux-gnu/lib/ -
isystem /home/brucea/gcc4.9.1/x86_64-unknown-linux-gnu/include -isystem
/home/brucea/gcc4.9.1/x86_64-unknown-linux-gnu/sys-inc
lude -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -I. -I../../../../gcc-4.9.1/
libsanitizer/sanitizer_common -I.. -I
../../../../gcc-4.9.1/libsanitizer/include -isystem
../../../../gcc-4.9.1/libsanitizer/i
nclude/system -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic
-Wno-long-long -fPIC -fno-builtin -fno-exceptions -fno-
rtti -fomit-frame-pointer -funwind-tables -fvisibility=hidden
-Wno-variadic-macros -I../../libstdc++-v3/include -I../../libstd
c++-v3/include/x86_64-unknown-linux-gnu
-I../../../../gcc-4.9.1/libsanitizer/../libstdc++-v3/libsupc++
-DSANITIZER_LIBBACKTRAC
E -DSANITIZER_CP_DEMANGLE -I ../../../../gcc-4.9.1/libsanitizer/../libbacktrace
-I ../libbacktrace -I ../../../../gcc-4.9.1/li
bsanitizer/../include -include
../../../../gcc-4.9.1/libsanitizer/libbacktrace/backtrace-rename.h -g -O2
-D_GNU_SOURCE -MT san
itizer_platform_limits_linux.lo -MD -MP -MF
.deps/sanitizer_platform_limits_linux.Tpo -c
../../../../gcc-4.9.1/libsanitizer/sa
nitizer_common/sanitizer_platform_limits_linux.cc -fPIC -DPIC -o
.libs/sanitizer_platform_limits_linux.o
In file included from
../../../../gcc-4.9.1/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:49:0:
../../../../gcc-4.9.1/libsanitizer/include/system/linux/aio_abi.h:2:32: fatal
error: linux/aio_abi.h: No such file or director
y
#include_next <linux/aio_abi.h>
^
compilation terminated.
make[3]: *** [sanitizer_platform_limits_linux.lo] Error 1
make[3]: Leaving directory
`/development/brucea/gcc/build/build/x86_64-unknown-linux-gnu/libsanitizer/sanitizer_common'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/development/brucea/gcc/build/build/x86_64-unknown-linux-gnu/libsanitizer'
make[1]: *** [install-target-libsanitizer] Error 2
make[1]: Leaving directory `/development/brucea/gcc/build/build'
make: *** [install] Error 2
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
@ 2014-07-29 16:37 ` tortoise_74 at yahoo dot co.uk
2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tortoise_74 at yahoo dot co.uk @ 2014-07-29 16:37 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
2014-07-29 16:37 ` [Bug sanitizer/61955] " tortoise_74 at yahoo dot co.uk
@ 2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tortoise_74 at yahoo dot co.uk @ 2014-08-22 20:45 UTC (permalink / raw)
To: gcc-bugs
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).
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
2014-07-29 16:37 ` [Bug sanitizer/61955] " tortoise_74 at yahoo dot co.uk
2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
@ 2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
2015-05-21 7:46 ` schwab@linux-m68k.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: tortoise_74 at yahoo dot co.uk @ 2014-08-22 20:45 UTC (permalink / raw)
To: gcc-bugs
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).
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (2 preceding siblings ...)
2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
@ 2015-05-21 7:46 ` schwab@linux-m68k.org
2015-05-21 7:49 ` dvyukov at google dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: schwab@linux-m68k.org @ 2015-05-21 7:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955
--- Comment #5 from Andreas Schwab <schwab@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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (3 preceding siblings ...)
2015-05-21 7:46 ` schwab@linux-m68k.org
@ 2015-05-21 7:49 ` dvyukov at google dot com
2015-05-21 7:58 ` schwab@linux-m68k.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dvyukov at google dot com @ 2015-05-21 7:49 UTC (permalink / raw)
To: gcc-bugs
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?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (4 preceding siblings ...)
2015-05-21 7:49 ` dvyukov at google dot com
@ 2015-05-21 7:58 ` schwab@linux-m68k.org
2015-05-21 8:09 ` dvyukov at google dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: schwab@linux-m68k.org @ 2015-05-21 7:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955
--- Comment #7 from Andreas Schwab <schwab@linux-m68k.org> ---
Format it as a hexadecimal number.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (5 preceding siblings ...)
2015-05-21 7:58 ` schwab@linux-m68k.org
@ 2015-05-21 8:09 ` dvyukov at google dot com
2015-05-21 8:22 ` ossman at cendio dot se
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dvyukov at google dot com @ 2015-05-21 8:09 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (6 preceding siblings ...)
2015-05-21 8:09 ` dvyukov at google dot com
@ 2015-05-21 8:22 ` ossman at cendio dot se
2015-05-21 8:38 ` schwab@linux-m68k.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ossman at cendio dot se @ 2015-05-21 8:22 UTC (permalink / raw)
To: gcc-bugs
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?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (7 preceding siblings ...)
2015-05-21 8:22 ` ossman at cendio dot se
@ 2015-05-21 8:38 ` schwab@linux-m68k.org
2015-05-21 8:50 ` ossman at cendio dot se
2021-12-19 17:05 ` pinskia at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: schwab@linux-m68k.org @ 2015-05-21 8:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955
--- Comment #10 from Andreas Schwab <schwab@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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (8 preceding siblings ...)
2015-05-21 8:38 ` schwab@linux-m68k.org
@ 2015-05-21 8:50 ` ossman at cendio dot se
2021-12-19 17:05 ` pinskia at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: ossman at cendio dot se @ 2015-05-21 8:50 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug sanitizer/61955] libsanitizer fails to compile on RHEL4
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
` (9 preceding siblings ...)
2015-05-21 8:50 ` ossman at cendio dot se
@ 2021-12-19 17:05 ` pinskia at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-19 17:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61955
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
At this point 2.6.9 is too old of a kernel to support sanitizers.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-12-19 17:05 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-29 16:31 [Bug sanitizer/61955] New: libsanitizer fails to compile on RHEL4 tortoise_74 at yahoo dot co.uk
2014-07-29 16:37 ` [Bug sanitizer/61955] " tortoise_74 at yahoo dot co.uk
2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
2014-08-22 20:45 ` tortoise_74 at yahoo dot co.uk
2015-05-21 7:46 ` schwab@linux-m68k.org
2015-05-21 7:49 ` dvyukov at google dot com
2015-05-21 7:58 ` schwab@linux-m68k.org
2015-05-21 8:09 ` dvyukov at google dot com
2015-05-21 8:22 ` ossman at cendio dot se
2015-05-21 8:38 ` schwab@linux-m68k.org
2015-05-21 8:50 ` ossman at cendio dot se
2021-12-19 17:05 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).