Bug 1553511

Summary: FTBFS on Rawhide and F28 due to hitting a new llvm warning
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: v8Assignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: lkundrak, tcallawa, tchollingsworth, tomspur, viktor.vix.jancik, zsvetlik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: v8-6.7.17-4.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-24 13:56:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2018-03-09 00:43:32 UTC
v8 currently FTBFS on Rawhide and F28 because it triggers a new warning in LLVM 6, and uses -Werror so the warning is counted as an error:

../../src/base/macros.h:290:43: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic]
  return static_cast<T>(static_cast<T>(0) + x);
                        ~~~~~~~~~~~~~~~~~ ^

"-Wnull-pointer-arithmetic now warns about performing pointer arithmetic on a null pointer. Such pointer arithmetic has an undefined behavior if the offset is nonzero. It also now warns about arithmetic on a null pointer treated as a cast from integer to pointer (GNU extension)." - http://releases.llvm.org/6.0.0/tools/clang/docs/ReleaseNotes.html

Reported upstream as: https://bugs.chromium.org/p/chromium/issues/detail?id=820303

Comment 1 Fedora Update System 2018-05-15 18:14:45 UTC
v8-6.7.17-4.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-8a4bfdb5aa

Comment 2 Fedora Update System 2018-05-16 03:27:51 UTC
v8-6.7.17-4.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-8a4bfdb5aa

Comment 3 Fedora Update System 2018-05-24 13:56:14 UTC
v8-6.7.17-4.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.