Bug 15095 - Samba with new lorikeet-heimdal fails to build on gcc 12.1 in developer mode
Summary: Samba with new lorikeet-heimdal fails to build on gcc 12.1 in developer mode
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.16.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samuel Cabrero
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-14 00:43 UTC by Andrew Bartlett
Modified: 2022-06-14 16:13 UTC (History)
1 user (show)

See Also:


Attachments
Patch for v4-16-test (6.98 KB, patch)
2022-06-14 16:13 UTC, Samuel Cabrero
scabrero: review? (abartlet)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2022-06-14 00:43:18 UTC
Build a single file with -Wuse-after-free=1 if the compiler supports it to avoid an over-careful check by the compiler.
Comment 1 Samba QA Contact 2022-06-14 10:17:03 UTC
This bug was referenced in samba master:

89e0c732b1c45f6498ed0f39add77c2a52afddce
971441ca5244b0e56f6b664d785fcefa3867ede1
Comment 2 Samuel Cabrero 2022-06-14 16:13:08 UTC
Created attachment 17347 [details]
Patch for v4-16-test