Skip to content

Add poco#5579

Merged
kotlaja merged 2 commits intobazelbuild:mainfrom
faximan:faximan/poco
Aug 19, 2025
Merged

Add poco#5579
kotlaja merged 2 commits intobazelbuild:mainfrom
faximan:faximan/poco

Conversation

@faximan
Copy link
Copy Markdown
Contributor

@faximan faximan commented Aug 18, 2025

I could not add an existing release because our build requires pocoproject/poco#4956 which is not yet included in a release. Thus, I used the option of adding a date tag and pinning to a commit, which seemed cleaner than adding that PR as a bunch of patch files.

This does not come with Windows or macOS support, which I have not bothered to add.

@bazel-io
Copy link
Copy Markdown
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (poco) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@faximan
Copy link
Copy Markdown
Contributor Author

faximan commented Aug 18, 2025

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label Aug 18, 2025
@kotlaja kotlaja added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label Aug 18, 2025
@faximan
Copy link
Copy Markdown
Contributor Author

faximan commented Aug 19, 2025

@kotlaja PTAL

@kotlaja kotlaja merged commit e38bda7 into bazelbuild:main Aug 19, 2025
12 checks passed
@udaya2899 udaya2899 mentioned this pull request Aug 20, 2025
bazel-io pushed a commit that referenced this pull request Aug 20, 2025
#5579 is not great, because some included symbols are not defined,
leading to errors of the form
```
ld.lld: error: undefined symbol: Poco::floatToFixedStr(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, float, int, int, char, char)
>>> referenced by NumberFormatter.cpp
>>>               bazel-out/haswell-fastbuild/bin/external/poco+/_objs/PocoFoundation/NumberFormatter.pic.o:(Poco::NumberFormatter::append(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&, float, int, int))
```
This might not be a problem when building with `-c opt`, depending on
which parts of the library is used, as optimization flags will delete
unused code.

This fixes those issues (verified by building with `-c fastbuild`).

Co-authored-by: Alex Faxå <alexanderfaxa@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants