This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/54415] GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq'
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 01 Sep 2012 15:19:28 +0000
- Subject: [Bug bootstrap/54415] GCC 4.4.4 build fails on solaris sparc with error as undefined reference to `_Qp_xtoq'
- Auto-submitted: auto-generated
- References: <bug-54415-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54415
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ebotcazou at gcc dot
| |gnu.org
Resolution| |WORKSFORME
--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-09-01 15:19:28 UTC ---
> Building 64bit gcc-4.4.4 on solaris 10 sparc machine. Configured successfully
> but fails while executing 'make' command.
>
> Steps to produce:
>
> # pwd
> /els/install/gcc-4.4.4_64/build_64
>
> Configures command:
> # ../gcc-4.4.4/configure --prefix=/usr/local/gcc-4.4.4_64
> --with-gmp=/els/install/gcc-4.4.4_64/gmp32
> --with-mpfr=/els/install/gcc-4.4.4_64/mpfr32 --build=sparcv9-sun-solaris2.10
> --enable-languages=c,c++ --with-gnu-as --with-gnu-ld
As documented, do not use a relative path to 'configure'. And if the base
compiler is 32-bit, you need to add CC="gcc -m64" on the configure line.