[Bug debug/94868] New: GCC compile error(GCC-4.6.3)

2020-04-30 Thread zhaojing2 at longcheer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868

Bug ID: 94868
   Summary: GCC compile error(GCC-4.6.3)
   Product: gcc
   Version: 4.6.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: zhaojing2 at longcheer dot com
  Target Milestone: ---

Created attachment 48414
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48414&action=edit
compile log

CONFIGURE:
./configure --prefix=/opt/gcc-4.6.3/gcc_install
--with-gmp=/opt/gcc-4.6.3/gmp-4.3.2/gmp_install
--with-mpfr=/opt/gcc-4.6.3/mpfr-2.4.2/mpfr_install
--with-mpc=/opt/gcc-4.6.3/mpc-0.8.1/mpc_install --enable-checking=release
--program-suffix=gcc-4.6.2 --enable-languages=c,c++ --disable-bootstrap
--enable-shared --disable-multilib

ERROR:
../.././libgcc/../gcc/libgcc2.c: In function ‘__multi3’:
../.././libgcc/../gcc/libgcc2.c:558:1: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_muldi3.o] Error 1
make[2]: *** Waiting for unfinished jobs
../.././libgcc/../gcc/libgcc2.c: In function ‘__cmpti2’:
../.././libgcc/../gcc/libgcc2.c:1156:1: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_cmpdi2.o] Error 1
../.././libgcc/../gcc/libgcc2.c: In function ‘__ucmpti2’:
../.././libgcc/../gcc/libgcc2.c:1175:1: internal compiler error: Segmentation
fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_ucmpdi2.o] Error 1
../.././libgcc/../gcc/libgcc2.c: In function ‘__absvti2’:
../.././libgcc/../gcc/libgcc2.c:272:1: internal compiler error: Segmentation
fault
Please submit a full bug report,

[Bug debug/94868] GCC compile error(GCC-4.6.3)

2020-04-30 Thread zhaojing2 at longcheer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868

--- Comment #2 from Zhao Jing  ---
Dear Richard Biener:

I have already installed gmp/mpfr/mpc before install gcc.

zhaojing2@ubuntu:/opt/gcc-4.6.3$ ls gmp-4.3.2/gmp_install/
include  lib  share
zhaojing2@ubuntu:/opt/gcc-4.6.3$ ls mpfr-2.4.2/mpfr_install/
include  lib  share
zhaojing2@ubuntu:/opt/gcc-4.6.3$ ls mpc-0.8.1/mpc_install/
include  lib  share

I suggest you try building gmp/mpfr/mpc in-tree by invoking
./contrib/download_prerequesites prior to build rather than using (possibly
bogus) libs in /opt.
==> What's the next step atfer invoking ./contrib/download_prerequesites?
Could you please describe more details? How can I install the gcc step by
step?
How should I make the configure?

Thanks.

[Bug debug/94868] GCC compile error(GCC-4.6.3)

2020-05-08 Thread zhaojing2 at longcheer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868

--- Comment #3 from Zhao Jing  ---
Dear Richard Biener:

I have already compiled it in GCC-9.3.0.

Thanks