This is an archive of the discontinued LLVM Phabricator instance.

[Driver] move Minix header search path management to the driver
AbandonedPublic

Authored by brad on Aug 20 2023, 6:32 PM.

Details

Reviewers
MaskRay
Summary

As has been done for other OS's. Move the header path management to the driver.

Diff Detail

Event Timeline

brad created this revision.Aug 20 2023, 6:32 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 20 2023, 6:32 PM
brad requested review of this revision.Aug 20 2023, 6:32 PM

Thank you for driving the migration!

case llvm::Triple::Minix:
  AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
                              "", "", "", triple);

The GCC 4.4.3 thing is from 3e2ee147d0ddb23592b2ec8294381b5e1801cc62 (2010). https://github.com/Stichting-MINIX-Research-Foundation/minix and https://git.minix3.org/index.cgi?p=minix.git haven't had any commit since 2018.
We haven't seen any actual Minix driver changes for many years. I think it unlikely works and perhaps we should remove Minix driver support.

brad added a comment.Aug 20 2023, 8:16 PM

Thank you for driving the migration!

case llvm::Triple::Minix:
  AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
                              "", "", "", triple);

The GCC 4.4.3 thing is from 3e2ee147d0ddb23592b2ec8294381b5e1801cc62 (2010). https://github.com/Stichting-MINIX-Research-Foundation/minix and https://git.minix3.org/index.cgi?p=minix.git haven't had any commit since 2018.
We haven't seen any actual Minix driver changes for many years. I think it unlikely works and perhaps we should remove Minix driver support.

Ya, I should have noticed that. I had heard years ago that Minix had switched to Clang. I installed the latest in a VM and it does come with Clang. Clang 3.6.

Thank you for driving the migration!

case llvm::Triple::Minix:
  AddGnuCPlusPlusIncludePaths("/usr/gnu/include/c++/4.4.3",
                              "", "", "", triple);

The GCC 4.4.3 thing is from 3e2ee147d0ddb23592b2ec8294381b5e1801cc62 (2010). https://github.com/Stichting-MINIX-Research-Foundation/minix and https://git.minix3.org/index.cgi?p=minix.git haven't had any commit since 2018.
We haven't seen any actual Minix driver changes for many years. I think it unlikely works and perhaps we should remove Minix driver support.

Ya, I should have noticed that. I had heard years ago that Minix had switched to Clang. I installed the latest in a VM and it does come with Clang. Clang 3.6.

Thanks. 3.6 is so old. Given many things like CompilerRT-Generic that unlikely works, I think it's better to remove Minix.cpp.
If the Minix community makes efforts to add back llvm-project support, starting from scratch with proper testing is likely better than the current nearly-untested state...

brad abandoned this revision.Aug 21 2023, 4:21 PM