[postgis-tickets] [PostGIS] #5121: winnie is broken with this strange error lto1.exe: internal compiler error: in gen_subprogram_die, at dwarf2out.c:22668

PostGIS trac at osgeo.org
Fri Apr 1 13:36:36 PDT 2022


#5121: winnie is broken with this strange error lto1.exe: internal compiler error:
in gen_subprogram_die, at dwarf2out.c:22668
------------------------+---------------------------
  Reporter:  robe       |      Owner:  robe
      Type:  defect     |     Status:  new
  Priority:  blocker    |  Milestone:  PostGIS 3.3.0
 Component:  buildbots  |    Version:  master
Resolution:             |   Keywords:
------------------------+---------------------------

Comment (by sergeish):

 Thanks @robe.

 My conclusion was that PGXS has to be replaced, since it intoduces another
 set of compilation options that is not fully controlled by user. It seems
 that LTO cannot be reliably enabled by default before doing that,
 especially if we need to allow selecting CC in `./configure` like in this
 failing tests.

 Thank you for mentioning @strk's opinion. Would be great if he could
 comment on this issue.

 `CUSTOM_CC := $(CC)` was my attempt to make PGXS use the same compiler.
 Seemed to work in my case, but later I noticed `cc` being used as compiler
 in log.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5121#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list