public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "alexei1.84 at mail dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/108186] Bootstrap comparison failure.gcc-12.2.0 differs gcc/plugin.o gcc/gcc.o
Date: Wed, 21 Dec 2022 09:46:05 +0000	[thread overview]
Message-ID: <bug-108186-4-3THul4AWBH@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-108186-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from AlexK <alexei1.84 at mail dot ru> ---
(In reply to Richard Biener from comment #1)
> can you try configuring with --without-build-config please?

/mnt/Git/apt-build/build/gcc-12.2.0/build $ 

../configure --prefix=/tools/gcc-12.2.0  --without-build-config LD=ld
--enable-gcov --enable-libssp --enable-bootstrap --enable-lto
--with-isl=/usr/local --with-mpc=/usr/local --with-mpfr=/usr/local
--with-gmp=/usr/local --with-system-zlib --enable-host-shared
--disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-languages=c,c++,fortran,objc,obj-c++,jit,go  >
my2.log
configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
https://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.

/mnt/Git/apt-build/build/gcc-12.2.0/build $  make

libtool: install: warning: remember to run `libtool --finish
/tools/gcc-12.2.0/libexec/gcc/x86_64-pc-linux-gnu/12.2.0'
configure: WARNING: fixed-point is not supported for this target, ignored

Links are now set up to build a native compiler for x86_64-pc-linux-gnu.
../../../libcpp/expr.cc: In function ‘unsigned int
cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’:
../../../libcpp/expr.cc:808:18: warning: format not a string literal and no
format arguments [-Wformat-security]
  808 |        0, message);
      |                  ^
../../../libcpp/expr.cc:811:39: warning: format not a string literal and no
format arguments [-Wformat-security]
  811 |           virtual_location, 0, message);
      |                                       ^
../../../libcpp/expr.cc:821:34: warning: format not a string literal and no
format arguments [-Wformat-security]
  821 |      virtual_location, 0, message);
      |                                  ^
../../../libcpp/macro.cc: In member function ‘vaopt_state::update_type
vaopt_state::update(const cpp_token*)’:
../../../libcpp/macro.cc:186:23: warning: format not a string literal and no
format arguments [-Wformat-security]
  186 |      vaopt_paste_error);
      |                       ^
../../../libcpp/macro.cc:215:24: warning: format not a string literal and no
format arguments [-Wformat-security]
  215 |       vaopt_paste_error);
      |                        ^
../../../libcpp/macro.cc: In function ‘cpp_macro*
create_iso_definition(cpp_reader*)’:
../../../libcpp/macro.cc:3704:58: warning: format not a string literal and no
format arguments [-Wformat-security]
 3704 |        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
      |                                                          ^
../../../libcpp/macro.cc:3719:58: warning: format not a string literal and no
format arguments [-Wformat-security]
 3719 |        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
      |                                                          ^
file: Compiled magic version [538] does not match with shared library magic
version [543]

../../libcpp/expr.cc: In function ‘unsigned int
cpp_classify_number(cpp_reader*, const cpp_token*, const char**, location_t)’:
../../libcpp/expr.cc:808:18: warning: format not a string literal and no format
arguments [-Wformat-security]
  808 |        0, message);
      |                  ^
../../libcpp/expr.cc:811:39: warning: format not a string literal and no format
arguments [-Wformat-security]
  811 |           virtual_location, 0, message);
      |                                       ^
../../libcpp/expr.cc:821:34: warning: format not a string literal and no format
arguments [-Wformat-security]
  821 |      virtual_location, 0, message);
      |                                  ^
../../libcpp/macro.cc: In member function ‘vaopt_state::update_type
vaopt_state::update(const cpp_token*)’:
../../libcpp/macro.cc:186:23: warning: format not a string literal and no
format arguments [-Wformat-security]
  186 |      vaopt_paste_error);
      |                       ^
../../libcpp/macro.cc:215:24: warning: format not a string literal and no
format arguments [-Wformat-security]
  215 |       vaopt_paste_error);
      |                        ^
../../libcpp/macro.cc: In function ‘cpp_macro*
create_iso_definition(cpp_reader*)’:
../../libcpp/macro.cc:3704:58: warning: format not a string literal and no
format arguments [-Wformat-security]
 3704 |        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
      |                                                          ^
../../libcpp/macro.cc:3719:58: warning: format not a string literal and no
format arguments [-Wformat-security]
 3719 |        cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg);
      |                                                          ^
/home/rguenther/src/releases/gcc-12.2.0/gcc-12.2.0/gcc/gengtype-lex.l: In
function ‘int yylex(const char**)’:
gengtype-lex.cc:356:15: warning: this statement may fall through
[-Wimplicit-fallthrough=]
/home/rguenther/src/releases/gcc-12.2.0/gcc-12.2.0/gcc/gengtype-lex.l:119:1:
note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
/home/rguenther/src/releases/gcc-12.2.0/gcc-12.2.0/gcc/gengtype-lex.l:114:1:
note: here
gengtype-lex.cc:356:15: warning: this statement may fall through
[-Wimplicit-fallthrough=]
/home/rguenther/src/releases/gcc-12.2.0/gcc-12.2.0/gcc/gengtype-lex.l:139:1:
note: in expansion of macro ‘YY_DO_BEFORE_ACTION’
/home/rguenther/src/releases/gcc-12.2.0/gcc-12.2.0/gcc/gengtype-lex.l:135:1:
note: here
GIMPLE decision tree has 4127 leafs, maximum depth 28 and a total number of
17761 nodes
removed 2724 duplicate tails
GENERIC decision tree has 3770 leafs, maximum depth 13 and a total number of
15889 nodes
removed 2560 duplicate tails
Statistics for recog:
  Number of decisions:  68532
  longest path:           337 (code:   6968)
  longest backtrack:       34 (code:   5866)
Statistics for split_insns:
  Number of decisions:  19767
  longest path:           169 (code:   1078)
  longest backtrack:       23 (code:    709)
Statistics for peephole2_insns:
  Number of decisions:   2960
  longest path:           880 (code:    197)
  longest backtrack:       55 (code:    303)
Shared 69645 out of 121921 states by creating 12116 new states, saving 57529
/usr/local/bin/ld: lto-compress.o: в функции «lto_normalized_zstd_level()»:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:120:
неопределённая ссылка на «ZSTD_maxCLevel»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:121:
неопределённая ссылка на «ZSTD_maxCLevel»
/usr/local/bin/ld: lto-compress.o: в функции
«lto_compression_zstd(lto_compression_stream*)»:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:135:
неопределённая ссылка на «ZSTD_compressBound»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:138:
неопределённая ссылка на «ZSTD_compress»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:141:
неопределённая ссылка на «ZSTD_isError»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:142:
неопределённая ссылка на «ZSTD_getErrorName»
/usr/local/bin/ld: lto-compress.o: в функции
«lto_uncompression_zstd(lto_compression_stream*)»:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:161:
неопределённая ссылка на «ZSTD_getFrameContentSize»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:168:
неопределённая ссылка на «ZSTD_decompress»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:170:
неопределённая ссылка на «ZSTD_isError»
/usr/local/bin/ld:
/mnt/Git/apt-build/build/gcc-12.2.0/build/gcc/../../gcc/lto-compress.cc:171:
неопределённая ссылка на «ZSTD_getErrorName»
collect2: error: ld returned 1 exit status
make[3]: *** [../../gcc/c/Make-lang.in:87: cc1] Ошибка 1
make[2]: *** [Makefile:4963: all-stage1-gcc] Ошибка 2
make[1]: *** [Makefile:27037: stage1-bubble] Ошибка 2
make: *** [Makefile:1072: all] Ошибка 2

  parent reply	other threads:[~2022-12-21  9:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-20 10:59 [Bug bootstrap/108186] New: " alexei1.84 at mail dot ru
2022-12-20 12:47 ` [Bug bootstrap/108186] " rguenth at gcc dot gnu.org
2022-12-20 13:34 ` pinskia at gcc dot gnu.org
2022-12-21  5:26 ` alexei1.84 at mail dot ru
2022-12-21  9:40 ` alexei1.84 at mail dot ru
2022-12-21  9:41 ` alexei1.84 at mail dot ru
2022-12-21  9:46 ` alexei1.84 at mail dot ru [this message]
2022-12-21 22:51 ` alexei1.84 at mail dot ru
2022-12-21 22:52 ` alexei1.84 at mail dot ru
2022-12-21 23:15 ` alexei1.84 at mail dot ru
2022-12-22  1:18 ` alexei1.84 at mail dot ru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-108186-4-3THul4AWBH@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).