This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem building mpc - a perquisite for gcc 4.5
- From: Ian Lance Taylor <iant at google dot com>
- To: "Dr. David Kirkby" <david dot kirkby at onetel dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 23 Feb 2010 10:08:09 -0800
- Subject: Re: Problem building mpc - a perquisite for gcc 4.5
- References: <4B7B4B91.6060802@onetel.net>
"Dr. David Kirkby" <david.kirkby@onetel.net> writes:
> I have a problem with complex numbers on Solaris, which I know has
> been solved in gcc 4.5, so I thought I'd install gcc 4.5, despite I
> know it is only an unstable snapshot.
>
> A requirement for gcc 4.5 is the mpc library. mpc 0.8.1 builds ok with
> gcc 4.4.3 on Solaris 10 (SPARC), but when trying to build the test
> suite, so it fails to build (It is not a test failure, but a failure
> of the test suite to build).
>
> Perhaps this is an mpc bug, not a gcc bug, but since gcc 4.5 is going
> to need mpc, it is pretty important this issue is resolved.
> /usr/local/gcc-4.4.3/lib/gcc/sparc-sun-solaris2.10/4.4.3/include-fixed/sys/feature_tests.h:341:2:
> error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
> applications and pre-2001 POSIX applications"
> So it seems that's impossible to get a working version of mpc, which
> means gcc 4.5 can't be built.
Please file a bug report about this. This must be fixed one way or
another before 4.5 is released. Thanks.
Ian