From c526b25cd94f387334008a2233cfb93351a32fce Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 25 Feb 2026 11:00:17 +0100 Subject: [PATCH 1/3] third_party/gflags: bump to release v2.3.0 --- third_party/gflags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/gflags b/third_party/gflags index 03a4842c..33bb3461 160000 --- a/third_party/gflags +++ b/third_party/gflags @@ -1 +1 @@ -Subproject commit 03a4842c9c6aaef438d7bf0c84e8a62c8064992b +Subproject commit 33bb3461e10864b5406353d3a1fb7ff34c2314b8 From fcd561fb7f168d4847cc04f13ec31fd9a678c4c8 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 25 Feb 2026 11:01:16 +0100 Subject: [PATCH 2/3] tools/bitread.cc: fix build with recent gcc --- lib/include/prjxray/memory_mapped_file.h | 1 + tools/bitread.cc | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/lib/include/prjxray/memory_mapped_file.h b/lib/include/prjxray/memory_mapped_file.h index 6aeb8210..81f8dd72 100644 --- a/lib/include/prjxray/memory_mapped_file.h +++ b/lib/include/prjxray/memory_mapped_file.h @@ -12,6 +12,7 @@ #include #include +#include #include diff --git a/tools/bitread.cc b/tools/bitread.cc index 796b8c75..35ec139a 100644 --- a/tools/bitread.cc +++ b/tools/bitread.cc @@ -67,9 +67,9 @@ uint32_t frame_range_begin = 0, frame_range_end = 0; std::vector zero_frame(101); struct BitReader { - BitReader(const std::vector& bytes) : bytes_(bytes) {} + BitReader(const absl::Span& bytes) : bytes_(bytes) {} - const std::vector& bytes_; + const absl::Span& bytes_; template int operator()(T& arg) { @@ -319,7 +319,7 @@ int main(int argc, char** argv) { frame_range_end = strtol(p.second.c_str(), nullptr, 0) + 1; } - std::vector in_bytes; + absl::Span in_bytes; if (argc == 2) { auto in_file_name = argv[1]; auto in_file = @@ -333,16 +333,18 @@ int main(int argc, char** argv) { std::cout << "Bitstream size: " << in_file->size() << " bytes" << std::endl; - in_bytes = std::vector( - static_cast(in_file->data()), - static_cast(in_file->data()) + in_file->size()); + in_bytes = absl::Span( + static_cast(in_file->data()), in_file->size()); } else { + std::vector t; while (1) { int c = getchar(); if (c == EOF) break; - in_bytes.push_back(c); + t.push_back(c); } + in_bytes = absl::Span( + static_cast(t.data()), t.size()); std::cout << "Bitstream size: " << in_bytes.size() << " bytes" << std::endl; From b525bf9a3b8300a11975dd877386ce52f39a8aca Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Wed, 25 Feb 2026 11:19:00 +0100 Subject: [PATCH 3/3] third_party/fasm: switch to openxc7 fork to fix build failure --- .gitmodules | 2 +- third_party/fasm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 3e1e3f1d..e40bb869 100644 --- a/.gitmodules +++ b/.gitmodules @@ -15,7 +15,7 @@ url = https://github.com/jbeder/yaml-cpp.git [submodule "third_party/fasm"] path = third_party/fasm - url = https://github.com/SymbiFlow/fasm.git + url = https://github.com/openxc7/fasm.git [submodule "third_party/python-sdf-timing"] path = third_party/python-sdf-timing url = https://github.com/SymbiFlow/python-sdf-timing.git diff --git a/third_party/fasm b/third_party/fasm index ffafe821..2f57ccb1 160000 --- a/third_party/fasm +++ b/third_party/fasm @@ -1 +1 @@ -Subproject commit ffafe821bae68637fe46e36bcfd2a01b97cdf6f2 +Subproject commit 2f57ccb1727a120e8cacbb95c578f3c71bdcc95a