public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files
@ 2021-05-02  0:21 unlvsur at live dot com
  2021-05-02  2:17 ` [Bug sanitizer/100379] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: unlvsur at live dot com @ 2021-05-02  0:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

            Bug ID: 100379
           Summary: cyclades.h is removed from linux kernel header files
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live 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 dot gnu.org
  Target Milestone: ---

https://lkml.org/lkml/2021/3/2/153

../../../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:134:10:
fatal error: linux/cyclades.h: No such file or directory
  134 | #include <linux/cyclades.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
@ 2021-05-02  2:17 ` pinskia at gcc dot gnu.org
  2021-05-05 12:46 ` vvinayag at arm dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-05-02  2:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Please also report this upstream.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
  2021-05-02  2:17 ` [Bug sanitizer/100379] " pinskia at gcc dot gnu.org
@ 2021-05-05 12:46 ` vvinayag at arm dot com
  2021-05-07  9:39 ` tnfchris at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: vvinayag at arm dot com @ 2021-05-05 12:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

vvinayag at arm dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvinayag at arm dot com

--- Comment #2 from vvinayag at arm dot com ---
I can confirm that the missing linux/cyclades.h is breaking cross builds:
Build: x86_64 (Linux)
Host:  x86_64 (Linux)
Target: arm-none-linux-gnueabihf / arm-none-linux-gnueabi /
aarch64_be-none-linux-gnu / aarch64-none-linux-gnu

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
  2021-05-02  2:17 ` [Bug sanitizer/100379] " pinskia at gcc dot gnu.org
  2021-05-05 12:46 ` vvinayag at arm dot com
@ 2021-05-07  9:39 ` tnfchris at gcc dot gnu.org
  2021-05-20  5:54 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2021-05-07  9:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-05-07
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Submit LLVM patch, once accepted can backport here
https://reviews.llvm.org/D102059

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (2 preceding siblings ...)
  2021-05-07  9:39 ` tnfchris at gcc dot gnu.org
@ 2021-05-20  5:54 ` pinskia at gcc dot gnu.org
  2021-05-21  9:31 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-05-20  5:54 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grgoffe at yahoo dot com

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 100691 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (3 preceding siblings ...)
  2021-05-20  5:54 ` pinskia at gcc dot gnu.org
@ 2021-05-21  9:31 ` cvs-commit at gcc dot gnu.org
  2021-05-21  9:36 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-21  9:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tamar Christina <tnfchris@gcc.gnu.org>:

https://gcc.gnu.org/g:745dae5923aba02982563481d75a21595df22ff8

commit r12-971-g745dae5923aba02982563481d75a21595df22ff8
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Fri May 21 10:30:59 2021 +0100

    libsanitizer: Remove cyclades from libsanitizer

    The Linux kernel has removed the interface to cyclades from
    the latest kernel headers[1] due to them being orphaned for the
    past 13 years.

    libsanitizer uses this header when compiling against glibc, but
    glibcs itself doesn't seem to have any references to cyclades.

    Further more it seems that the driver is broken in the kernel and
    the firmware doesn't seem to be available anymore.

    As such since this is breaking the build of libsanitizer (and so the
    GCC bootstrap[2]) I propose to remove this.

    [1] https://lkml.org/lkml/2021/3/2/153
    [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

    (cherry picked from commit f7c5351552387bd43f6ca3631016d7f0dfe0f135)

    libsanitizer/ChangeLog:

            PR sanitizer/100379
            * sanitizer_common/sanitizer_common_interceptors_ioctl.inc:
Cherry-pick
            llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
            * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
            * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (4 preceding siblings ...)
  2021-05-21  9:31 ` cvs-commit at gcc dot gnu.org
@ 2021-05-21  9:36 ` cvs-commit at gcc dot gnu.org
  2021-05-21  9:40 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-21  9:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Tamar Christina
<tnfchris@gcc.gnu.org>:

https://gcc.gnu.org/g:2bf34b9f4e446bf9be7f04458058dd5319fb396e

commit r11-8455-g2bf34b9f4e446bf9be7f04458058dd5319fb396e
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Fri May 21 10:30:59 2021 +0100

    libsanitizer: Remove cyclades from libsanitizer

    The Linux kernel has removed the interface to cyclades from
    the latest kernel headers[1] due to them being orphaned for the
    past 13 years.

    libsanitizer uses this header when compiling against glibc, but
    glibcs itself doesn't seem to have any references to cyclades.

    Further more it seems that the driver is broken in the kernel and
    the firmware doesn't seem to be available anymore.

    As such since this is breaking the build of libsanitizer (and so the
    GCC bootstrap[2]) I propose to remove this.

    [1] https://lkml.org/lkml/2021/3/2/153
    [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

    libsanitizer/ChangeLog:

            PR sanitizer/100379
            * sanitizer_common/sanitizer_common_interceptors_ioctl.inc:
Cherry-pick
            llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
            * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
            * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.

    (cherry picked from commit 745dae5923aba02982563481d75a21595df22ff8)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (5 preceding siblings ...)
  2021-05-21  9:36 ` cvs-commit at gcc dot gnu.org
@ 2021-05-21  9:40 ` cvs-commit at gcc dot gnu.org
  2021-05-21 11:17 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-21  9:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Tamar Christina
<tnfchris@gcc.gnu.org>:

https://gcc.gnu.org/g:a7e72b282177fbaa6a852324641c871313d326da

commit r10-9862-ga7e72b282177fbaa6a852324641c871313d326da
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Fri May 21 10:30:59 2021 +0100

    libsanitizer: Remove cyclades from libsanitizer

    The Linux kernel has removed the interface to cyclades from
    the latest kernel headers[1] due to them being orphaned for the
    past 13 years.

    libsanitizer uses this header when compiling against glibc, but
    glibcs itself doesn't seem to have any references to cyclades.

    Further more it seems that the driver is broken in the kernel and
    the firmware doesn't seem to be available anymore.

    As such since this is breaking the build of libsanitizer (and so the
    GCC bootstrap[2]) I propose to remove this.

    [1] https://lkml.org/lkml/2021/3/2/153
    [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

    libsanitizer/ChangeLog:

            PR sanitizer/100379
            * sanitizer_common/sanitizer_common_interceptors_ioctl.inc:
Cherry-pick
            llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
            * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
            * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.

    (cherry picked from commit 745dae5923aba02982563481d75a21595df22ff8)

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (6 preceding siblings ...)
  2021-05-21  9:40 ` cvs-commit at gcc dot gnu.org
@ 2021-05-21 11:17 ` cvs-commit at gcc dot gnu.org
  2021-05-21 11:19 ` tnfchris at gcc dot gnu.org
  2021-09-17  6:36 ` pinskia at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-05-21 11:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Tamar Christina
<tnfchris@gcc.gnu.org>:

https://gcc.gnu.org/g:2b40941d23b1570cdd90083b58fa0f66aa58c86e

commit r9-9546-g2b40941d23b1570cdd90083b58fa0f66aa58c86e
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Fri May 21 12:16:56 2021 +0100

    libsanitizer: Remove cyclades from libsanitizer

    The Linux kernel has removed the interface to cyclades from
    the latest kernel headers[1] due to them being orphaned for the
    past 13 years.

    libsanitizer uses this header when compiling against glibc, but
    glibcs itself doesn't seem to have any references to cyclades.

    Further more it seems that the driver is broken in the kernel and
    the firmware doesn't seem to be available anymore.

    As such since this is breaking the build of libsanitizer (and so the
    GCC bootstrap[2]) I propose to remove this.

    [1] https://lkml.org/lkml/2021/3/2/153
    [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

    libsanitizer/ChangeLog:

            PR sanitizer/100379
            * sanitizer_common/sanitizer_common_interceptors_ioctl.inc:
Cherry-pick
            llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135.
            * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
            * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (7 preceding siblings ...)
  2021-05-21 11:17 ` cvs-commit at gcc dot gnu.org
@ 2021-05-21 11:19 ` tnfchris at gcc dot gnu.org
  2021-09-17  6:36 ` pinskia at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: tnfchris at gcc dot gnu.org @ 2021-05-21 11:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

Tamar Christina <tnfchris at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #9 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Fixed on master and all open branches.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Bug sanitizer/100379] cyclades.h is removed from linux kernel header files
  2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
                   ` (8 preceding siblings ...)
  2021-05-21 11:19 ` tnfchris at gcc dot gnu.org
@ 2021-09-17  6:36 ` pinskia at gcc dot gnu.org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-17  6:36 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-09-17  6:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-02  0:21 [Bug sanitizer/100379] New: cyclades.h is removed from linux kernel header files unlvsur at live dot com
2021-05-02  2:17 ` [Bug sanitizer/100379] " pinskia at gcc dot gnu.org
2021-05-05 12:46 ` vvinayag at arm dot com
2021-05-07  9:39 ` tnfchris at gcc dot gnu.org
2021-05-20  5:54 ` pinskia at gcc dot gnu.org
2021-05-21  9:31 ` cvs-commit at gcc dot gnu.org
2021-05-21  9:36 ` cvs-commit at gcc dot gnu.org
2021-05-21  9:40 ` cvs-commit at gcc dot gnu.org
2021-05-21 11:17 ` cvs-commit at gcc dot gnu.org
2021-05-21 11:19 ` tnfchris at gcc dot gnu.org
2021-09-17  6:36 ` 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).