-
Bug
-
Resolution: Fixed
-
P4
-
9
-
None
-
GCC 4.9.2, Fedora 21
-
b42
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082015 | emb-9 | Erik Helin | P4 | Resolved | Fixed | b42 |
The flag -fsanitize=default is used if it is available (GCC 4.9 or later) to detect undefined behavior. Unfortunately, the implementation in GCC seems to have some bugs with GCC 4.9.2, see https://bugzilla.redhat.com/show_bug.cgi?id=1166173 for more details.
Since the supported compiler at the moment is GCC 4.8.2, I suggest that we remove the flag and when we upgrade the supported compiler to GCC 4.9.X, then we can reevaluate whether we should use -fsanitize=default or not.
Since the supported compiler at the moment is GCC 4.8.2, I suggest that we remove the flag and when we upgrade the supported compiler to GCC 4.9.X, then we can reevaluate whether we should use -fsanitize=default or not.
- backported by
-
JDK-8082015 Remove the flag -fsanitize=undefined for GCC 4.9 and later
-
- Resolved
-