Skip to content
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
45 changes: 45 additions & 0 deletions .github/workflows/gcc-compat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: gcc-compat
on:
pull_request:
branches:
- master
paths:
- 'Makefile'
- 'general/package/**/*.mk'
- 'general/package/all-patches/**'
- '.github/workflows/gcc-compat.yml'
schedule:
- cron: '0 6 * * 0'
workflow_dispatch:

jobs:
gcc-compat:
name: GCC ${{matrix.gcc}}
runs-on: ubuntu-latest
container:
image: gcc:${{matrix.gcc}}

strategy:
fail-fast: false
matrix:
gcc:
- 12
- 13
- 14
- 15

steps:
- name: Install build dependencies
run: |
apt-get update
apt-get install -y automake autotools-dev bc build-essential cpio \
curl file git libncurses-dev libtool lzop make rsync unzip wget \
libssl-dev

- name: Checkout source
uses: actions/checkout@v4

- name: Build firmware
run: make BOARD=gk7205v200_lite
env:
FORCE_UNSAFE_CONFIGURE: 1
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ BR_FILE = /tmp/buildroot-$(BR_VER).tar.gz
BR_CONF = $(TARGET)/openipc_defconfig
TARGET ?= $(PWD)/output
export CMAKE_POLICY_VERSION_MINIMUM := 3.5
export HOST_CFLAGS ?= -O2 -std=gnu11

CONFIG = $(error variable BOARD not defined)
TIMER := $(shell date +%s)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
From: Dmitry Ilyin <6576495+widgetii@users.noreply.github.com>
Subject: [PATCH] Utilities/cmcppdap: add missing cstdint include for GCC 15

GCC 15 defaults to C++23 where <cstdint> is no longer transitively
included through other headers. This causes a build failure:

dap/network.h: error: 'uint32_t' has not been declared

--- a/Utilities/cmcppdap/include/dap/network.h
+++ b/Utilities/cmcppdap/include/dap/network.h
@@ -17,6 +17,7 @@
#define dap_network_h

#include <memory>
+#include <cstdint>

#include "dap/io.h"

Loading