public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS
@ 2022-06-29  9:17 immoloism at googlemail dot com
  2022-06-29  9:32 ` [Bug sanitizer/106136] " immoloism at googlemail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: immoloism at googlemail dot com @ 2022-06-29  9:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106136
           Summary: gcc-12.1.1 - libsanitizer fails when compiled for MIPS
           Product: gcc
           Version: 12.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: immoloism at googlemail 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: ---

Created attachment 53222
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53222&action=edit
GCC Build.log

When cross compiling GCC-12.1.1 for my MIPS device it will always fail on the
libsanitizer section for a reason I can't find for the root cause for as of yet
so reporting in the hopes someone here will know what is causing it to fix.

The current workaround is to build with '--disable-libsanitizer'.

All flags used are included in the build.log for ease.

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

* [Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS
  2022-06-29  9:17 [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS immoloism at googlemail dot com
@ 2022-06-29  9:32 ` immoloism at googlemail dot com
  2022-06-29 11:57 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: immoloism at googlemail dot com @ 2022-06-29  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

Immolo <immoloism at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #53222|0                           |1
        is obsolete|                            |

--- Comment #1 from Immolo <immoloism at googlemail dot com> ---
Created attachment 53223
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53223&action=edit
GCC Build.log

Fixed attaching wrong build.log before

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

* [Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS
  2022-06-29  9:17 [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS immoloism at googlemail dot com
  2022-06-29  9:32 ` [Bug sanitizer/106136] " immoloism at googlemail dot com
@ 2022-06-29 11:57 ` marxin at gcc dot gnu.org
  2022-06-30  3:59 ` xry111 at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-06-29 11:57 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
I think it's dup.

*** This bug has been marked as a duplicate of bug 105614 ***

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

* [Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS
  2022-06-29  9:17 [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS immoloism at googlemail dot com
  2022-06-29  9:32 ` [Bug sanitizer/106136] " immoloism at googlemail dot com
  2022-06-29 11:57 ` marxin at gcc dot gnu.org
@ 2022-06-30  3:59 ` xry111 at gcc dot gnu.org
  2022-06-30  4:18 ` xry111 at gcc dot gnu.org
  2024-05-29 18:33 ` syq at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: xry111 at gcc dot gnu.org @ 2022-06-30  3:59 UTC (permalink / raw)
  To: gcc-bugs

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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                 CC|                            |xry111 at gcc dot gnu.org
         Resolution|DUPLICATE                   |---

--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Not a duplicate.  PR105614 happens because the attemption to build libsanitizer
with GCC 11 and we don't support this at all.  This PR, instead, happens
because the MIPS code of libsanitizer is not compatible with musl.

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

* [Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS
  2022-06-29  9:17 [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS immoloism at googlemail dot com
                   ` (2 preceding siblings ...)
  2022-06-30  3:59 ` xry111 at gcc dot gnu.org
@ 2022-06-30  4:18 ` xry111 at gcc dot gnu.org
  2024-05-29 18:33 ` syq at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: xry111 at gcc dot gnu.org @ 2022-06-30  4:18 UTC (permalink / raw)
  To: gcc-bugs

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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |xry111 at gcc dot gnu.org
   Last reconfirmed|                            |2022-06-30
     Ever confirmed|0                           |1

--- Comment #4 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
I'll just disable libsanitizer for mips*-*-linux* targets except
mips*-*-linux-gnu*.

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

* [Bug sanitizer/106136] gcc-12.1.1 - libsanitizer fails when compiled for MIPS
  2022-06-29  9:17 [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS immoloism at googlemail dot com
                   ` (3 preceding siblings ...)
  2022-06-30  4:18 ` xry111 at gcc dot gnu.org
@ 2024-05-29 18:33 ` syq at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: syq at gcc dot gnu.org @ 2024-05-29 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

YunQiang Su <syq at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |syq at gcc dot gnu.org
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #5 from YunQiang Su <syq at gcc dot gnu.org> ---
It has been fixed in newer version.

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

end of thread, other threads:[~2024-05-29 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29  9:17 [Bug sanitizer/106136] New: gcc-12.1.1 - libsanitizer fails when compiled for MIPS immoloism at googlemail dot com
2022-06-29  9:32 ` [Bug sanitizer/106136] " immoloism at googlemail dot com
2022-06-29 11:57 ` marxin at gcc dot gnu.org
2022-06-30  3:59 ` xry111 at gcc dot gnu.org
2022-06-30  4:18 ` xry111 at gcc dot gnu.org
2024-05-29 18:33 ` syq 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).