Building error with AIX 4.2

Mark Mitchell mark@codesourcery.com
Tue Jan 16 22:23:00 GMT 2001


--
>>>>> "Andreas" == Andreas Conz <andreasc@neuro.informatik.uni-kassel.de> writes:

    Andreas> Hello, last night I had a build error with AIX while
    Andreas> building GCC from CVS.  The whole build log is available.

These problems stem from a combination of weaknesses:

  1. AIX does not support weak symbols, or anything similar.
 
  2. G++ does not support automatic instantiation of static data
     members without support for weak symbols.

  3. The V3 developers don't always remember points 1 and 2.

None of these problems is easily solved: AIX is the way it is, G++
would require major work to handle this case, and the V3 folks are
working hard on other problems, and typically aren't working with AIX
(or similar systems) on a regular basis, so it's very easy to forget.

I will add the explicit instantiations to gen-num-limits.cc, test on
i686-pc-linux-gnu, and check that in.  

There are other known problems on AIX, but one step at a time.

Benjamin, now would be a really, really good time to get the AIX
support in V3 working.  That's much more important to GCC 3.0 than any
V3 bug-fix or feature at this point; we need to be able to branch, and
to do that I desparately want basic single-threaded AIX
functionality.  Do you have time to work on this at all?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Gcc-bugs mailing list