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 boost to 1.85.0 #8888

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mattwigway
Copy link
Contributor

@mattwigway mattwigway commented Jun 13, 2024

This updates Boost to 1.85.0 (the latest version). The currently packaged boost 1.79.0 is incompatible with gcc 12 (see boostorg/function#42).

NB: this also changes the download URL to boost.io from boostorg.jfrog.io. This appears to be the current official source linked from boost.org.

@mattwigway
Copy link
Contributor Author

mattwigway commented Jun 14, 2024

This is the relevant error from the mingw platforms. I'm not sure what to make of this, I guess it's not compiling a valid object? I'm not sure how to debug that.

[22:28:23] > windres --input res.rc --output res.o
[22:28:23] > /opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-g++ -DNDEBUG -Wl,res.o bindjam.cpp builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filent.cpp filesys.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam_strings.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp startup.cpp tasks.cpp timestamp.cpp value.cpp variable.cpp w32_getreg.cpp mod_jam_builtin.cpp mod_jam_class.cpp mod_jam_errors.cpp mod_jam_modules.cpp mod_order.cpp mod_path.cpp mod_property_set.cpp mod_regex.cpp mod_sequence.cpp mod_set.cpp mod_string.cpp mod_summary.cpp mod_sysinfo.cpp mod_version.cpp -o b2
[22:28:51] res.o: file not recognized: File format not recognized

The PowerPC ones look like they might be an upstream issue. Boost.Charconv was introduced in Boost 1.85.0. The offending code is in a #else block that I suspect is only triggered on PowerPC, and has since been removed. conda-forge applied a patch to workaround; I'm working on doing the same.

@mattwigway
Copy link
Contributor Author

PowerPC builds are now working, using the patch copied from conda-forge, itself pulled from the boost repository, but with file paths updated to apply to the boost source tarball.

@mattwigway
Copy link
Contributor Author

The compile is working on Windows locally when I run julia build_tarballs.jl x86_64-w64-mingw32 --debug=error --verbose . I'll investigate more why it's not working here next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant