[Xapian-tickets] [Xapian] #808: msys64 CPPFLAGS=-D_FORTIFY_SOURCE=[2, 1] did not build

Xapian nobody at xapian.org
Fri Apr 28 03:01:17 BST 2023


#808: msys64 CPPFLAGS=-D_FORTIFY_SOURCE=[2,1] did not build
--------------------------+--------------------------------------
 Reporter:  xpbxf4        |             Owner:  Olly Betts
     Type:  defect        |            Status:  reopened
 Priority:  normal        |         Milestone:  1.4.23
Component:  Build system  |           Version:  1.4.18
 Severity:  normal        |        Resolution:
 Keywords:  gcc FORTIFY   |        Blocked By:
 Blocking:                |  Operating System:  Microsoft Windows
--------------------------+--------------------------------------
Changes (by Olly Betts):

 * status:  closed => reopened
 * resolution:  fixed =>
 * milestone:  1.4.19 => 1.4.23

Comment:

 I discovered that fix doesn't actually work because `config.status`
 unhelpfully comments out `#undef _FORTIFY_SOURCE` when generating
 `config.h` from `config.h.in`.  We already work around this in other cases
 by splitting the line so I've done the same in
 0e1eb61f62e1c242e7f9dafb72e9ceb06eb45438 which I'll backport for 1.4.23.
-- 
Ticket URL: <https://trac.xapian.org/ticket/808#comment:6>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list