From: Kirill Yukhin <kirill.yukhin@gmail.com>
To: Richard Biener <rguenther@suse.de>
Cc: Ilya Verbin <iverbin@gmail.com>, Jakub Jelinek <jakub@redhat.com>,
Thomas Schwinge <thomas@codesourcery.com>,
Jan Hubicka <hubicka@ucw.cz>,
gcc-patches@gcc.gnu.org, Ilya Tocar <tocarip@gmail.com>,
Andrey Turetskiy <andrey.turetskiy@gmail.com>,
Bernd Schmidt <bernds@codesourcery.com>
Subject: Re: [PATCH 2/n] OpenMP 4.0 offloading infrastructure: LTO streaming
Date: Wed, 12 Nov 2014 14:11:00 -0000 [thread overview]
Message-ID: <20141112141017.GA35267@msticlxl57.ims.intel.com> (raw)
In-Reply-To: <alpine.LSU.2.11.1411121021400.374@zhemvz.fhfr.qr>
Hello Richard,
On 12 Nov 10:23, Richard Biener wrote:
> On Wed, 5 Nov 2014, Ilya Verbin wrote:
> Yes please.
>
> Please make sure that regular LTO bootstrap still works - LTO is
> only tested lightly in the testsuite.
Current main trunk fails to bootstrap w/ `bootstrap-lto':
git/gcc/configure --enable-languages=c,c++ --with-build-config=bootstrap-lto --with-fpmath=sse
/export/users/kyukhin/gcc/build/build-x86_64-linux/./prev-gcc/xg++ -B/export/users/kyukhin/gcc/build/build-x86_64-linux/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/export/users/kyukhin/gcc/build/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/export/users/kyukhin/gcc/build/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/export/users/kyukhin/gcc/build/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/export/users/kyukhin/gcc/build/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include -I/export/users/kyukhin/gcc/git/gcc/libstdc++-v3/libsupc++ -L/export/users/kyukhin/gcc/build/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/export/users/kyukhin/gcc/build/build-x86_64-linux/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o \
cc1-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz
/export/users/kyukhin/gcc/git/gcc/gcc/gcse.c:447:0: error: type ‘struct bb_data’ violates one definition rule [-Werror=odr]
struct bb_data
^
/export/users/kyukhin/gcc/git/gcc/gcc/lra-lives.c:395:0: note: a different type is defined in another translation unit
struct bb_data
^
/export/users/kyukhin/gcc/git/gcc/gcc/gcse.c:451:0: note: the first difference of corresponding definitions is field ‘max_reg_pressure’
int max_reg_pressure[N_REG_CLASSES];
^
/export/users/kyukhin/gcc/git/gcc/gcc/lra-lives.c:398:0: note: a field with different name is defined in another translation unit
basic_block bb;
^
lto1: all warnings being treated as errors
lto-wrapper: fatal error: /export/users/kyukhin/gcc/build/build-x86_64-linux/./prev-gcc/xg++ returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [cc1] Error 1
Is it known issue?
(or we are doing something wrong...)
--
Thanks, K
next prev parent reply other threads:[~2014-11-12 14:10 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-27 18:17 Ilya Verbin
2014-09-29 1:10 ` Jan Hubicka
2014-09-29 17:37 ` Ilya Verbin
2014-09-30 11:40 ` Thomas Schwinge
2014-10-01 16:13 ` Ilya Verbin
2014-10-08 8:45 ` Jakub Jelinek
2014-10-08 9:13 ` Jakub Jelinek
2014-10-15 14:28 ` Richard Biener
2014-10-20 11:21 ` Ilya Verbin
2014-10-20 11:26 ` Jakub Jelinek
2014-10-24 14:16 ` Ilya Verbin
2014-10-24 14:29 ` Jakub Jelinek
2014-10-28 19:32 ` Ilya Verbin
2014-11-03 9:24 ` Jakub Jelinek
2014-11-05 12:47 ` Ilya Verbin
2014-11-05 12:50 ` Jakub Jelinek
2014-11-07 14:41 ` Kirill Yukhin
2014-11-12 9:32 ` Richard Biener
2014-11-12 14:11 ` Kirill Yukhin [this message]
2014-11-12 14:23 ` Richard Biener
2014-11-12 14:35 ` Kirill Yukhin
2014-11-12 14:41 ` Richard Biener
2014-11-12 17:38 ` Ilya Verbin
2014-11-13 8:51 ` Richard Biener
2015-07-31 15:37 ` Thomas Schwinge
2015-07-31 15:43 ` Ilya Verbin
2015-08-05 8:40 ` Richard Biener
2015-08-05 15:09 ` Ilya Verbin
2015-08-14 9:49 ` Forwarding -foffload=[...] from the driver (compile-time) to libgomp (run-time) (was: [PATCH 2/n] OpenMP 4.0 offloading infrastructure: LTO streaming) Thomas Schwinge
2015-08-14 13:29 ` Ilya Verbin
2015-08-17 13:57 ` Martin Jambor
2015-08-14 17:08 ` Joseph Myers
2015-08-14 21:48 ` Forwarding -foffload=[...] from the driver (compile-time) to libgomp (run-time) Thomas Schwinge
2015-08-15 4:03 ` Joseph Myers
2015-08-18 16:55 ` Thomas Schwinge
2015-08-20 23:38 ` Joseph Myers
2015-08-21 16:13 ` Nathan Sidwell
2015-08-21 16:21 ` Joseph Myers
2015-08-24 18:05 ` Joseph Myers
2015-08-24 22:50 ` Joseph Myers
2015-08-24 23:26 ` Nathan Sidwell
2015-08-25 15:04 ` Joseph Myers
2018-05-20 20:30 ` [og7] " Thomas Schwinge
2015-08-27 20:58 Pass -foffload targets from driver to libgomp at link time Joseph Myers
2015-09-03 14:58 ` Ping " Joseph Myers
2015-09-10 14:01 ` Ping^2 " Joseph Myers
2015-09-10 14:03 ` Bernd Schmidt
2015-09-11 14:29 ` Joseph Myers
2015-09-11 14:48 ` Bernd Schmidt
2015-09-11 15:28 ` Joseph Myers
2015-09-11 15:47 ` Jakub Jelinek
2015-09-11 16:16 ` Joseph Myers
2015-09-28 10:09 ` Thomas Schwinge
2015-09-29 9:48 ` Jakub Jelinek
2015-09-30 16:15 ` Thomas Schwinge
2015-10-19 16:56 ` Forwarding -foffload=[...] from the driver (compile-time) to libgomp (run-time) Thomas Schwinge
2015-10-20 10:03 ` Jakub Jelinek
2015-10-20 10:44 ` Bernd Schmidt
2015-10-20 11:18 ` Thomas Schwinge
2015-10-20 11:49 ` Bernd Schmidt
2015-10-20 12:13 ` Jakub Jelinek
2015-10-20 11:52 ` Jakub Jelinek
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=20141112141017.GA35267@msticlxl57.ims.intel.com \
--to=kirill.yukhin@gmail.com \
--cc=andrey.turetskiy@gmail.com \
--cc=bernds@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=hubicka@ucw.cz \
--cc=iverbin@gmail.com \
--cc=jakub@redhat.com \
--cc=rguenther@suse.de \
--cc=thomas@codesourcery.com \
--cc=tocarip@gmail.com \
/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).