[oi-dev] Review GCC 48

Alexander Pyhalov alp at rsu.ru
Thu Jul 3 15:13:59 UTC 2014


Hello.

I think that I'm finally finished with gcc 4.8.3.

Changes are here: https://github.com/pyhalov/oi-userland/compare/gcc48 .
Please, review.

The component is almost a copy of GCC 4.7. It's based on OmniOS GCC 4.8 
version.

There are several changes compared to OmniOS version:
1) adopting  patches/unwind.patch (a copy of patch from 
dilos-userland-review) - fixes 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788.
2) I don't include old libstdc++.so versions in g++-4-runtime as they 
are useless
3) preserving fixinc.in.patch - don't know if it's necessary.

I was able to rebuild oi-userland with GCC 4.8 and I suppose to switch 
default compiler to 4.8.3 as soon as it's available (as current compiler 
can't build clang).

Whether the whole oi-userland should be rebuilt after updating GCC - is 
an open question. I don't know.
I run desktop VM with GCC 4.8 runtime libs and GCC4.7-compiled soft. No 
problems so far.

Also I have some clang patches (including clang 3.4.2 component), which 
depend on this work. However, as testing shows, clang is still  a crap. 
It can compile some code (for example, clang), but clang-compiled clang 
already dies on compiling boost. GCC-compiled clang can almost can 
compile boost (it seems there are some problems with headers - unlike 
gcc it doesn't like overriding funcion declaration in global namespace 
(when using B::A overrides already defined A).

-- 
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University




More information about the oi-dev mailing list