public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/60892] New: GCC fails to build with Linux 2.6.21 headers.
@ 2014-04-19 2:38 toojays at toojays dot net
2014-04-21 5:35 ` [Bug sanitizer/60892] " y.gribov at samsung dot com
2021-12-19 16:06 ` [Bug sanitizer/60892] GCC (libsanitizer) " pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: toojays at toojays dot net @ 2014-04-19 2:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60892
Bug ID: 60892
Summary: GCC fails to build with Linux 2.6.21 headers.
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: toojays at toojays dot net
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
I got the following errors while trying to build gcc-4.9 (from the 20140416
snapshot) for a Linux 2.6.21 system (Maemo 4 / diablo). Configuration was run
via
../gcc-4.9-20140416/configure --program-suffix=-4.9 --disable-shared
--enable-languages=c,c++ --enable-checking=release
I got not complaints from the, but the build failed at:
xgcc -B/home/maemo/gcc-4.9-20140416/build-dir/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I../../../gcc-4.9-20140416/libquadmath -I
../../../gcc-4.9-20140416/libquadmath/../include -g -O2 -MT math/catanq.lo
-MD -MP -MF $depbase.Tpo -c -o math/catanq.lo
../../../gcc-4.9-20140416/libquadmath/math/catanq.c &&\
mv -f $depbase.Tpo $depbase.Plo
../../../../gcc-4.9-20140416/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:390:30:
error: 'EVIOCGREP' was not declared in this scope
unsigned IOCTL_EVIOCGREP = EVIOCGREP;
^
../../../../gcc-4.9-20140416/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:399:30:
error: 'EVIOCSREP' was not declared in this scope
unsigned IOCTL_EVIOCSREP = EVIOCSREP;
^
../../../../gcc-4.9-20140416/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:682:36:
error: 'FS_IOC_GETFLAGS' was not declared in this scope
unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS;
^
../../../../gcc-4.9-20140416/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:683:38:
error: 'FS_IOC_GETVERSION' was not declared in this scope
unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION;
^
../../../../gcc-4.9-20140416/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:684:36:
error: 'FS_IOC_SETFLAGS' was not declared in this scope
unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS;
^
../../../../gcc-4.9-20140416/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:685:38:
error: 'FS_IOC_SETVERSION' was not declared in this scope
unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION;
http://gcc.gnu.org/install/specific.html does not mention a minimum kernel
version for GCC.
http://gcc.gnu.org/install/configure.html does not explain how to disable
building the sanitizer.
I don't particularly mind if I can't have the sanitizer, but expect the GCC
configure script to detect that, and disable the sanitizer build automatically.
This bug is similar in spirit to bug 59068, but I'm filing a separate issue
since the root cause is different.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug sanitizer/60892] GCC fails to build with Linux 2.6.21 headers.
2014-04-19 2:38 [Bug sanitizer/60892] New: GCC fails to build with Linux 2.6.21 headers toojays at toojays dot net
@ 2014-04-21 5:35 ` y.gribov at samsung dot com
2021-12-19 16:06 ` [Bug sanitizer/60892] GCC (libsanitizer) " pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: y.gribov at samsung dot com @ 2014-04-21 5:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60892
Yury Gribov <y.gribov at samsung dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |y.gribov at samsung dot com
--- Comment #1 from Yury Gribov <y.gribov at samsung dot com> ---
Duplicate of bug 59068 ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug sanitizer/60892] GCC (libsanitizer) fails to build with Linux 2.6.21 headers.
2014-04-19 2:38 [Bug sanitizer/60892] New: GCC fails to build with Linux 2.6.21 headers toojays at toojays dot net
2014-04-21 5:35 ` [Bug sanitizer/60892] " y.gribov at samsung dot com
@ 2021-12-19 16:06 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-19 16:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60892
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WONTFIX
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Too old Linux kernel at this point, over 14 years old.
> 25 April 2007
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-19 16:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-19 2:38 [Bug sanitizer/60892] New: GCC fails to build with Linux 2.6.21 headers toojays at toojays dot net
2014-04-21 5:35 ` [Bug sanitizer/60892] " y.gribov at samsung dot com
2021-12-19 16:06 ` [Bug sanitizer/60892] GCC (libsanitizer) " 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).