|
|
DescriptionExport various dbus::Property template specializations.
BUG=409111
R=stevenjb@chromium.org
Committed: https://crrev.com/40855d43fa71c215829b53a1034b1b653b4b8557
Cr-Commit-Position: refs/heads/master@{#348536}
Patch Set 1 #Patch Set 2 : Git is magic #Patch Set 3 : GCC is dumb #Patch Set 4 : Add a bug comment #Messages
Total messages: 57 (24 generated)
dcheng@chromium.org changed reviewers: + stevenjb@chromium.org, thakis@chromium.org
I'm not sure why, but when building locally, I consistently see errors like this: ../../dbus/property_unittest.cc:400: error: undefined reference to 'dbus::Property<std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > >::value() const' ../../dbus/property_unittest.cc:407: error: undefined reference to 'dbus::Property<std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > >::~Property()' ../../dbus/property_unittest.cc:422: error: undefined reference to 'dbus::Property<std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > >::Property()' ../../dbus/property_unittest.cc:423: error: undefined reference to 'dbus::Property<std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > >::ReplaceSetValueForTesting(std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > const&)' ../../dbus/property_unittest.cc:428: error: undefined reference to 'dbus::Property<std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > >::value() const' ../../dbus/property_unittest.cc:429: error: undefined reference to 'dbus::Property<std::__1::vector<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short>, std::__1::allocator<std::__1::pair<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, unsigned short> > > >::~Property()' ../../dbus/property_unittest.cc:39: error: undefined reference to 'dbus::Property<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >::Property()' ../../dbus/property_unittest.cc:32: error: undefined reference to 'dbus::Property<std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > >::~Property()' I'm not building with any particularly interesting gyp defines: asan=1 clang=1 component=shared_library dcheck_always_on=1 use_goma=1 Have we had to make similar fixes elsewhere? Or is something just really broken on my machine?
On 2015/09/11 at 21:38:53, thakis wrote: > (this is https://code.google.com/p/chromium/issues/detail?id=409111) Updated the CL description to reference that bug.
lgtm
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/1
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ni...) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by dcheng@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from stevenjb@chromium.org Link to the patchset: https://codereview.chromium.org/1339763003/#ps20001 (title: "Git is magic")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcheng@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/20001
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_clobber_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/40855d43fa71c215829b53a1034b1b653b4b8557 Cr-Commit-Position: refs/heads/master@{#348536}
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 40855d43fa71c215829b53a1034b1b653b4b8557 (presubmit successful).
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1337113005/ by spang@chromium.org. The reason for reverting is: Does not compile with component=shared_library with CrOS compiler ../../dbus/property.h:437:42: error: type attributes ignored after type is already defined [-Werror=attributes] extern template class CHROME_DBUS_EXPORT Property<uint8>; ^ ../../dbus/property.h:447:42: error: type attributes ignored after type is already defined [-Werror=attributes] extern template class CHROME_DBUS_EXPORT Property<bool>; Repro steps: cros chrome-sdk --board=amd64-generic --component gclient runhooks ninja -C out_amd64-generic/Release chrome .
Message was sent while issue was closed.
PTAL... I added pragmas to suppress GCC's diagnostic for attributes in this block.
ping!
ping? Anyone?
lgtm
The CQ bit was checked by dcheng@chromium.org
The CQ bit was checked by dcheng@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from stevenjb@chromium.org Link to the patchset: https://codereview.chromium.org/1339763003/#ps60001 (title: "Add a bug comment")
The patchset sent to the CQ was uploaded after l-g-t-m from stevenjb@chromium.org Link to the patchset: https://codereview.chromium.org/1339763003/#ps60001 (title: "Add a bug comment")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1339763003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1339763003/60001
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/fc6e2304f630345c79c95291191f4b64880736a1 Cr-Commit-Position: refs/heads/master@{#349717}
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/40855d43fa71c215829b53a1034b1b653b4b8557 Cr-Commit-Position: refs/heads/master@{#348536} |