public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/94868] New: GCC compile error(GCC-4.6.3)
@ 2020-04-30  7:48 zhaojing2 at longcheer dot com
  2020-04-30  8:20 ` [Bug debug/94868] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zhaojing2 at longcheer dot com @ 2020-04-30  7:48 UTC (permalink / raw)
  To: gcc-bugs

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,

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/94868] GCC compile error(GCC-4.6.3)
  2020-04-30  7:48 [Bug debug/94868] New: GCC compile error(GCC-4.6.3) zhaojing2 at longcheer dot com
@ 2020-04-30  8:20 ` rguenth at gcc dot gnu.org
  2020-04-30 10:32 ` zhaojing2 at longcheer dot com
  2020-05-09  3:49 ` zhaojing2 at longcheer dot com
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-30  8:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 4.6.3 is no longer supported, 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.  Since you seem to
compile a very old code-base also make sure your host compiler is not
too new (since you are using --disable-bootstrap it will do -O2 optimization).

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/94868] GCC compile error(GCC-4.6.3)
  2020-04-30  7:48 [Bug debug/94868] New: GCC compile error(GCC-4.6.3) zhaojing2 at longcheer dot com
  2020-04-30  8:20 ` [Bug debug/94868] " rguenth at gcc dot gnu.org
@ 2020-04-30 10:32 ` zhaojing2 at longcheer dot com
  2020-05-09  3:49 ` zhaojing2 at longcheer dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zhaojing2 at longcheer dot com @ 2020-04-30 10:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868

--- Comment #2 from Zhao Jing <zhaojing2 at longcheer dot com> ---
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug debug/94868] GCC compile error(GCC-4.6.3)
  2020-04-30  7:48 [Bug debug/94868] New: GCC compile error(GCC-4.6.3) zhaojing2 at longcheer dot com
  2020-04-30  8:20 ` [Bug debug/94868] " rguenth at gcc dot gnu.org
  2020-04-30 10:32 ` zhaojing2 at longcheer dot com
@ 2020-05-09  3:49 ` zhaojing2 at longcheer dot com
  2 siblings, 0 replies; 4+ messages in thread
From: zhaojing2 at longcheer dot com @ 2020-05-09  3:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94868

--- Comment #3 from Zhao Jing <zhaojing2 at longcheer dot com> ---
Dear Richard Biener:

I have already compiled it in GCC-9.3.0.

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-09  3:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  7:48 [Bug debug/94868] New: GCC compile error(GCC-4.6.3) zhaojing2 at longcheer dot com
2020-04-30  8:20 ` [Bug debug/94868] " rguenth at gcc dot gnu.org
2020-04-30 10:32 ` zhaojing2 at longcheer dot com
2020-05-09  3:49 ` zhaojing2 at longcheer dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).