This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Building error with AIX 4.2
- To: andreasc at neuro dot informatik dot uni-kassel dot de
- Subject: Re: Building error with AIX 4.2
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Tue, 16 Jan 2001 22:30:29 -0800
- Cc: gcc-bugs at gcc dot gnu dot org, Benjamin Kosnik <bkoz at nabi dot net>
- Organization: CodeSourcery, LLC
- References: <3A6411DB.E264ABBA@neuro.informatik.uni-kassel.de>
--
>>>>> "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