Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dome versions #39

Merged
merged 5 commits into from
Aug 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .github/ci-bionic/dependencies.yaml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/ci/packages.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
binutils-dev
libgflags-dev
libignition-cmake2-dev
libignition-common3-dev
libignition-fuel-tools5-dev
libignition-gazebo4-dev
libignition-gui4-dev
libignition-math6-dev
libignition-math6-eigen3-dev
libignition-msgs6-dev
libignition-physics3-dev
libignition-plugin-dev
libignition-rendering4-dev
libignition-sensors4-dev
libignition-tools-dev
libignition-transport9-dev
libsdformat10-dev
libtinyxml2-dev
libwebsockets-dev
libxi-dev
libxmu-dev
libyaml-dev
python-yaml
uuid-dev
xvfb
56 changes: 0 additions & 56 deletions .github/workflows/ci-bionic.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Ubuntu CI

on: [push]

jobs:
bionic-ci:
runs-on: ubuntu-latest
name: Ubuntu Bionic CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@master
with:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
focal-ci:
runs-on: ubuntu-latest
name: Ubuntu Focal CI
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compile and test
id: ci
uses: ignition-tooling/action-ignition-ci@focal
with:
codecov-token: ${{ secrets.CODECOV_TOKEN }}
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ ign_find_package(ignition-tools REQUIRED)

#--------------------------------------
# Find ignition-transport
ign_find_package(ignition-transport8 REQUIRED)
set(IGN_TRANSPORT_MAJOR_VER ${ignition-transport8_VERSION_MAJOR})
ign_find_package(ignition-transport9 REQUIRED)
set(IGN_TRANSPORT_MAJOR_VER ${ignition-transport9_VERSION_MAJOR})

#--------------------------------------
# Find ignition-msgs
ign_find_package(ignition-msgs5 REQUIRED)
set(IGN_MSGS_MAJOR_VER ${ignition-msgs5_VERSION_MAJOR})
ign_find_package(ignition-msgs6 REQUIRED)
set(IGN_MSGS_MAJOR_VER ${ignition-msgs6_VERSION_MAJOR})

#--------------------------------------
# Find ignition-math
Expand Down
18 changes: 9 additions & 9 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ pipelines:
- apt-get -y install
libignition-cmake2-dev
libignition-common3-dev
libignition-fuel-tools4-dev
libignition-fuel-tools5-dev
libignition-math6-dev
libignition-math6-eigen3-dev
libignition-msgs5-dev
libignition-physics2-dev
libignition-msgs6-dev
libignition-physics3-dev
libignition-plugin-dev
libignition-tools-dev
libignition-transport8-dev
libsdformat9-dev
# libignition-gazebo3-dev
# libignition-gui3-dev
# libignition-rendering3-dev
# libignition-sensors3-dev
libignition-transport9-dev
libsdformat10-dev
# libignition-gazebo4-dev
# libignition-gui4-dev
# libignition-rendering4-dev
# libignition-sensors4-dev
# # Ignition msgs (uncomment if a specific branch is needed)
# - apt install -y
# libprotobuf-dev protobuf-compiler libprotoc-dev
Expand Down
12 changes: 12 additions & 0 deletions src/vendor/backward.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1235,12 +1235,24 @@ class TraceResolverLinuxImpl<trace_resolver_tag::libbfd>:
{
if (result.found) return;

#ifdef bfd_get_section_flags
if ((bfd_get_section_flags(fobj.handle.get(), section)
& SEC_ALLOC) == 0)
#else
if ((bfd_section_flags(section) & SEC_ALLOC) == 0)
#endif
return; // a debug section is never loaded automatically.

#ifdef bfd_get_section_vma
bfd_vma sec_addr = bfd_get_section_vma(fobj.handle.get(), section);
#else
bfd_vma sec_addr = bfd_section_vma(section);
#endif
#ifdef bfd_get_section_size
bfd_size_type size = bfd_get_section_size(section);
#else
bfd_size_type size = bfd_section_size(section);
#endif

// are we in the boundaries of the section?
if (addr < sec_addr || addr >= sec_addr + size) {
Expand Down