llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Backport GCC 13 `__is_convertible` fix (484e64f7e7b2c0494d7b2dbfdd528bcd707ee652) to 16.x

Open thesamesam opened this issue 3 years ago • 8 comments

Please consider backporting 484e64f7e7b2c0494d7b2dbfdd528bcd707ee652 to fix __is_convertible in libcxx headers with GCC 13. We hit this downstream in Gentoo at https://bugs.gentoo.org/907895 and FreeBSD seems to have as well.

This is for https://github.com/llvm/llvm-project/issues/62396.

/cherry-pick 484e64f7e7b2c0494d7b2dbfdd528bcd707ee652

thesamesam avatar Jun 06 '23 01:06 thesamesam

/branch llvm/llvm-project-release-prs/issue63133

llvmbot avatar Jun 06 '23 01:06 llvmbot

/pull-request llvm/llvm-project-release-prs#468

llvmbot avatar Jun 06 '23 01:06 llvmbot

I don't think it makes sense to backport this. There are other incompatibilities with GCC13 which haven't been resolved yet, so this won't actually fix much.

philnik777 avatar Jun 06 '23 23:06 philnik777

If so, that's alright then. We did end up having two reports (in the same day) in Gentoo for this and there's already been one dupe filed in LLVM though. Could you point me to the other bugs so I can keep an eye on them and direct folks to them?

thesamesam avatar Jun 07 '23 00:06 thesamesam

I don't think there are any bugs filed, but D151387 is currently the blocking patch. I'll try to work on it soon, so we can fix any other problems.

philnik777 avatar Jun 07 '23 00:06 philnik777

Thanks!

thesamesam avatar Jun 07 '23 02:06 thesamesam

Closing this, since there is nothing to backport to anymore. (Sorry, I didn't have time to get GCC 13 fixed yet. I hope to get it done for LLVM17.)

philnik777 avatar Jul 15 '23 05:07 philnik777

Is there a matrix of which compiler can be used to compile which version of LLVM and its sub-projects ? I've tried with GCC 11 and it didn't work, now with 13 I could compile clang, but cannot compile libc++.

jdebache avatar Aug 03 '23 05:08 jdebache