3 ms·
Just curious if OpenBSD plans to continue to use the old gcc 4.2.1 or migrate to LLVM or even GCC 5.1. I can imagine the later is not compatible due to the lice
by lmedinas 10y ago
Just curious if OpenBSD plans to continue to use the old gcc 4.2.1 or migrate to LLVM or even GCC 5.1. I can imagine the later is not compatible due to the license.
- microcolonel 10y agoIt's difficult because GCC is pretty buggy, which makes it hard to follow recent stable releases. In addition, OpenBSD has a lot of exploit mitigations in their branch of the compiler which will take considerable effort to port to LLVM.
- lmedinas 10y agoStill i can imagine they require recent compilers (w/ support for C++11) to build for example some ports like Chromium. This means they rely on "old" compilers to compile "old" C code from the base.
- ben_bai 10y agoThe "old" compiler is for compiling the base system and xenocara. There are gcc4 and clang packages available. Some packages are build using those more modern compilers. I.e. Chromium is build with clang (3.8) if I'm not mistaken.
- OrpheanBeholder 10y agoLLVM doesn't support all the architectures that OpenBSD supports.
- gbrown_ 10y agoChanging the base system compiler is something that's not going to be done lightly. This post form openbsd-misc spells out why. http://marc.info/?l=openbsd-misc&m=137530560232232 http://marc.info/?l=openbsd-misc&m=137530560232232
- deleted 10y ago[deleted]
- anthk 10y agoYou have gcc48 and gcc49 in the packages.