Bug 1553511 - FTBFS on Rawhide and F28 due to hitting a new llvm warning
Summary: FTBFS on Rawhide and F28 due to hitting a new llvm warning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: v8
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-09 00:43 UTC by Adam Williamson
Modified: 2018-05-24 13:56 UTC (History)
6 users (show)

Fixed In Version: v8-6.7.17-4.fc28
Clone Of:
Environment:
Last Closed: 2018-05-24 13:56:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.