Giter VIP home page Giter VIP logo

Comments (6)

Flamefire avatar Flamefire commented on August 31, 2024 1

I don't see how that issue is still relevant; it was fixed as of LLVM 15, and we're past that.

Looks I misinterpreted the error message which also started with "Undefined symbols" and seemingly related to std::basic_string<char8_t> and I missed the important part in all those templates: "typeinfo for char8_t" is what is missing.

And indeed I've seen that before popping up with libc++ on FreeBSD. I fixed that for the upcoming release. You can use that or apply c5e8f02 as a patch.

from locale.

Flamefire avatar Flamefire commented on August 31, 2024

That is a known issue with Clang. Which version of clang and Boost are you using? In Boost 1.84 a workaround is implemented:

// No std::basic_string<char8_t> or bug in Clang: https://github.com/llvm/llvm-project/issues/55560

In Clang 15 this should be fixed.

from locale.

sdebionne avatar sdebionne commented on August 31, 2024

Thanks for the quick answer. We build Boost1.84 with Clang 16 on MacOs 10.9. I am not sure if the clang version on MacOs matches the LLVM's once though.

from locale.

Flamefire avatar Flamefire commented on August 31, 2024

They should match the LLVM 15.x version for a while already. So I'm not sure how to fix this from Boosts side. I'd say it should be fine to define BOOST_LOCALE_NO_CXX20_STRING8 on your side for this. If you have any information when/where this issue is fixed on MacOS and how to improve the condition to detect that I'd be grateful. Otherwise I'll just disable u8string support for MacOS completely.

from locale.

h-vetinari avatar h-vetinari commented on August 31, 2024

We're on clang 16 in conda-forge (though we could use clang 17 and soon 18 if we want; however libcxx is stuck at 16 pending some infrastructure work). The macOS deployment target in the PR mentioned by @sdebionne was already bumped to 10.13, and if there's a hard requirement to go higher, we can do that.

W.r.t.

// No std::basic_string<char8_t> or bug in Clang: https://github.com/llvm/llvm-project/issues/55560

I don't see how that issue is still relevant; it was fixed as of LLVM 15, and we're past that.

from locale.

h-vetinari avatar h-vetinari commented on August 31, 2024

I am not sure if the clang version on MacOs matches the LLVM's once though.

There's only the clang we provide ourselves, we never use the system(==image) compilers in conda-forge.

from locale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.