Describe the bug
Apollo fails to build in a dev container when launching a container using the US geo setting.
To Reproduce
Steps to reproduce the behavior:
- Launch dev container
bash docker/scripts/dev_start.sh --geo us
- Build Apollo
bash apollo.sh build
- See error (from tags/v11.0.0)
./cyber/transport/shm/protobuf_arena_manager.h: In instantiation of 'bool apollo::cyber::transport::ProtobufArenaManager::RegisterQueue(uint64_t, uint64_t) [with T = apollo::drivers::PointXYZIT; uint64_t = long unsigned int]':
./modules/drivers/lidar/common/lidar_component_base_impl.h:151:62: required from 'std::shared_ptr<apollo::cyber::base::ArenaQueue<apollo::drivers::PointXYZIT> > apollo::drivers::lidar::LidarComponentBaseImpl<ScanType, ComponentType>::GetPointQueue() [with ScanType = apollo::drivers::vanjee::VanjeeScanPacket; ComponentType = apollo::cyber::NullType]'
modules/drivers/lidar/vanjeelidar/src/vanjeelidar_component.cpp:181:1: required from here
./cyber/transport/shm/protobuf_arena_manager.h:200:35: warning: 'new' of type 'apollo::cyber::base::ArenaQueue<apollo::drivers::PointXYZIT>' with extended alignment 64 [-Waligned-new=]
auto non_arena_buffer_ptr = new apollo::cyber::base::ArenaQueue<T>();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./cyber/transport/shm/protobuf_arena_manager.h:200:35: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter
./cyber/transport/shm/protobuf_arena_manager.h:200:35: note: use '-faligned-new' to enable C++17 over-aligned new support
(20:10:20) INFO: Elapsed time: 164.050s, Critical Path: 78.33s
(20:10:20) INFO: 1602 processes: 1309 disk cache hit, 30 internal, 263 local.
(20:10:20) FAILED: Build did NOT complete successfully
Expected behavior
Apollo builds with a success message.
==============================================
[ OK ] Done building apollo. Enjoy!
==============================================
Additional context
Build failure occurs on the newest commit d53aa3d
Build succeeds when using the default geo setting (cn) but it is not ideal for US users.
Describe the bug
Apollo fails to build in a dev container when launching a container using the US geo setting.
To Reproduce
Steps to reproduce the behavior:
bash docker/scripts/dev_start.sh --geo usbash apollo.sh buildExpected behavior
Apollo builds with a success message.
Additional context
Build failure occurs on the newest commit d53aa3d
Build succeeds when using the default geo setting (cn) but it is not ideal for US users.