| Summary: | www-client/chromium should add -fno-delete-null-pointer-checks flag | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | octoploid <octoploid> |
| Component: | Current packages | Assignee: | Chromium Project <chromium> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | octoploid |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
octoploid
2015-12-12 08:24:07 UTC
Is there an actual specific crash caused by this? I tend to stay as close to upstream as possible, and users are free to add any flags to their CXXFLAGS. Yes, see the gcc bug link. If you compile Chromium with upcoming gcc-6 it will crash almost immediately at startup. But every other compiler also have the right to optimize the NULL pointer checks away, because undefined behavior is invoked. Upstream doesn't seem to care about gcc, but most Gentoo users will use gcc, so -fno-delete-null-pointer-checks will avoid needless browser crashes... If there's an actual crash with gcc-6, could you file an upstream bug and reference it here? Feel free to reopen after providing info requested above. |