Build report gcc 4.6.1 on Sparc Solaris 10
Marc Glisse
marc.glisse@inria.fr
Thu Aug 18 18:56:00 GMT 2011
On Thu, 18 Aug 2011, Wolfgang S. Kechel wrote:
> I ran into huge problems, so I installed binutils 2.21.1, make-3.82 and
> some other stuff like flex, bison, less all in the latest versions and
> compiled with native cc. Finally the build of the multilibs failed so I
> decided to give GNU as/ld from binutils a chance, so I configured with
> the following command:
>
> ../configure --prefix=/usr2/gnu --enable-languages=c,c++ CC=/usr/bin/cc
> --with-gnu-as --with-as=/usr2/gnu/bin/gas --with-gnu-ld
> --with-ld=/usr2/gnu/bin/gld
You know that the documentation recommends using the Sun linker (and on
sparc the Sun assembler is fine), so if there are errors, you should
report them.
> To fix this, I edited lto-plugin/Makefile - yes this is generated. I changed
> AM_CFLAGS = -Wall -Werror
> into
> AM_CFLAGS =
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49907
Already fixed on trunk, not backported (yet).
> Undefined first referenced
> symbol in file
> cimag
> /archive/sparc-solaris/gcc-4.6.1/ssol/./mpc/src/.libs/libmpc.a(set_x.o)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49908
Not fixed yet. There is also a RFE at Oracle to inline those functions.
> ../../../mpc/src/get.c: In function Β‘mpc_get_dcΒ’:
> ../../../mpc/src/get.c:33:11: error: Β‘IΒ’ undeclared (first use in this
> function)
> ../../../mpc/src/get.c:33:11: note: each undeclared identifier is
> reported only once for each function it appears in
> ../../../mpc/src/get.c: In function Β‘mpc_get_ldcΒ’:
> ../../../mpc/src/get.c:39:11: error: Β‘IΒ’ undeclared (first use in this
> function)
Strange, this is expected with gcc-3.4 (although there is a workaround
in the development version of mpc) but not with gcc-4.6.
--
Marc Glisse
More information about the Gcc
mailing list