OpenSolaris

  subsites:   Code Reviews   Gates   Issues   Defects   Polls   Test   PKG   Planet   Mail
You are not signed in. Sign in or register.

ON-GCC status

5 April 2006

ON sources that build cleanly with gcc are now available. See the ONNV policy, detailed rationale, and the implementation addendum, which describes how shadow compilation works, what it costs, and why we believe it's a useful addition to the ON build process. It's important that everyone building ON follow the flag day instructions before attempting to build the newest versions of ON.

23 September 2005

It's been far too long in coming, but the latest sources from the gcc project gate, based on the build 22 drop, are now making their way out to the SDLC. Almost 2/3 of all the gcc-related bugs have been fixed in ON proper, but that still leaves about 140 bug fixes in gcc-gate.

With the build 22 delivery, I've removed the custom compilers from the downloads page; they're no longer needed. Instead, you should pick up Solaris Express Community Edition build 22 or newer and use the gcc found in /usr/sfw/bin to build. This also means it is no longer necessary to set GNU_ROOT. Upgrading to build 22 will also get you past a flag day that will be coming in build 25 (see the mailing list for the details.

22 June 2005

Although it took a bit longer than expected, the gcc project gate sources are now available. You can now build on SPARC and x86 with gcc.

12 June 2005

The build is now completely warning, error, and lint-clean, and everything that is part of OpenSolaris can be built with gcc. The only piece of the closed tree which cannot be built with gcc is dmi, explained in bug 6270167 below.

gcc-specific bugs fixed in the gate:

  • Generic
    • 6237094 perl build should honor $(CC)
    • 6281951 ikeadm writes into string constants

Updated known issues with GCC:

  • Generic
    • 6270167 gcc and cmd/agents don't get along – and g++ won't even play
  • SPARC
    • libmicro: mutexT2 takes 74% longer than with SOS8
  • x86
    • No known issues

9 June 2005

gcc-specific bugs fixed in the gate:

  • Generic
    • 6281909 bootadm writes into string constants (Dragan Cvetkovic)

non-gcc bugs previously thought to be gcc-specific:

  • Generic
    • 6280180 memory leaks in ddiaddintr /ddiintralloc

gcc-specific test failures root-caused:

  • Generic
    • 3 mstc test failures: sigaction, exit, sigpause (this is __dabs, which was already fixed)

7 June 2005

New gcc-specific bugs found today:

  • Generic
    • 6281909 bootadm writes into string constants (Dragan Cvetkovic)
    • 6281951 ikeadm writes into string constants

6 June 2005

With 2 exceptions, all of ON now builds with our custom gcc 3.4.3. The compiler is frozen, and the gate is closed except to stoppers. We're also releasing gcc-built BFU archives to the pilot for both x86 and SPARC; see the downloads page to pick them up. These are full ON builds, so they will be removed prior to launch and cannot be redistributed, even after launch. Get them now, and sign up for the gcc mailing list and report any problems there.

9 May 2005

You can build nearly all of ON with a custom gcc 3.4.3. This page lists outstanding problems, providing bugIDs when appropriate. Note that many bugs are open against ON but are fixed in one of our workspaces; these are too numerous to be listed here.

Known issues with GCC:

  • Generic
    • 6237094 perl build should honor $(CC)
    • cmd/agents uses nonstandard C++ features that g++ lacks
  • SPARC
    • 6254966 optimized md5 isn't built for sun4v
    • 6258738 fbt refuses to instrument functions starting with branches
    • 6264473 fbt is confused by the return instruction
    • 6264469 fbt is confused by jump tables in code
    • CSL261 Avoid generating code that results in relocations when using -fpic
  • x86
    • No known serious problems outstanding