public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/101183] New: gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address.
@ 2021-06-23 21:47 unlvsur at live dot com
  2021-06-23 21:53 ` [Bug pch/101183] [compiler ICE]gcc " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: unlvsur at live dot com @ 2021-06-23 21:47 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101183
           Summary: gcc mingw for precompiled header file.
                    MapViewOfFileEx: Attempt to access invalid address.
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

D:\hg\fast_io\examples\0001.helloworld>g++ -o helloworld helloworld.cc -Ofast
-std=c++20 -s -flto -march=native -I../../include
internal error in mingw32_gt_pch_use_address, at
config/i386/host-mingw32.c:192: MapViewOfFileEx: Attempt to access invalid
address.

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

* [Bug pch/101183] [compiler ICE]gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address.
  2021-06-23 21:47 [Bug preprocessor/101183] New: gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address unlvsur at live dot com
@ 2021-06-23 21:53 ` pinskia at gcc dot gnu.org
  2021-06-23 23:43 ` unlvsur at live dot com
  2021-06-23 23:45 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-23 21:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 91440.

https://github.com/msys2/MINGW-packages/issues/5719

So you have to manually setdllcharacteristics on cc1.exe and cc1plus.exe

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

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

* [Bug pch/101183] [compiler ICE]gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address.
  2021-06-23 21:47 [Bug preprocessor/101183] New: gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address unlvsur at live dot com
  2021-06-23 21:53 ` [Bug pch/101183] [compiler ICE]gcc " pinskia at gcc dot gnu.org
@ 2021-06-23 23:43 ` unlvsur at live dot com
  2021-06-23 23:45 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: unlvsur at live dot com @ 2021-06-23 23:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #1)
> Dup of bug 91440.
> 
> https://github.com/msys2/MINGW-packages/issues/5719
> 
> So you have to manually setdllcharacteristics on cc1.exe and cc1plus.exe
> 
> *** This bug has been marked as a duplicate of bug 91440 ***

https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/0010-Fix-using-large-PCH.patch
But why not add these patches to GCC itself?

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

* [Bug pch/101183] [compiler ICE]gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address.
  2021-06-23 21:47 [Bug preprocessor/101183] New: gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address unlvsur at live dot com
  2021-06-23 21:53 ` [Bug pch/101183] [compiler ICE]gcc " pinskia at gcc dot gnu.org
  2021-06-23 23:43 ` unlvsur at live dot com
@ 2021-06-23 23:45 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-06-23 23:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to cqwrteur from comment #2) 
> https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gcc/0010-Fix-
> using-large-PCH.patch
> But why not add these patches to GCC itself?

You have to ask the mingw project that question.  Have them submit them to gcc.

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

end of thread, other threads:[~2021-06-23 23:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 21:47 [Bug preprocessor/101183] New: gcc mingw for precompiled header file. MapViewOfFileEx: Attempt to access invalid address unlvsur at live dot com
2021-06-23 21:53 ` [Bug pch/101183] [compiler ICE]gcc " pinskia at gcc dot gnu.org
2021-06-23 23:43 ` unlvsur at live dot com
2021-06-23 23:45 ` 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).