public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/64593] New: libmpfr.a undefined reference to  `.L222' when doing make profiledbootstrap with bootstrap-lto
@ 2015-01-14  4:16 arnetheduck at gmail dot com
  2015-01-14  4:21 ` [Bug bootstrap/64593] " arnetheduck at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: arnetheduck at gmail dot com @ 2015-01-14  4:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64593
           Summary: libmpfr.a undefined reference to  `.L222' when doing
                    make profiledbootstrap with bootstrap-lto
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: arnetheduck at gmail dot com

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

I just tried building gcc-4.9.2 on SciLin6 with bootstrap-lto and
profiledbootstrap, with in-tree support libraries, and it fails. I've attached
build log and build script used - notable configure options are 
--with-build-config=bootstrap-lto and 

Here's some info:

$ uname -a
Linux csqdev-build03 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 14:14:17 CDT
2014 x86_64 x86_64 x86_64 GNU/Linux

$ cat stage_current 
stagefeedback

Error:
/home/user/tmp/bld/gcc-4.9.2/./prev-gcc/xg++
-B/home/user/tmp/bld/gcc-4.9.2/./prev-gcc/
-B/home/user/tmp/rtf/x86_64-unknown-linux-gnu/bin/ -nostdinc++
-B/home/user/tmp/bld/gcc-4.9.2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/home/user/tmp/bld/gcc-4.9.2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/user/tmp/bld/gcc-4.9.2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu

-I/home/user/tmp/bld/gcc-4.9.2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include
 -I/home/user/tmp/src/gcc-4.9.2/libstdc++-v3/libsupc++
-L/home/user/tmp/bld/gcc-4.9.2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-L/home/user/tmp/bld/gcc-4.9.2/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs
  -g -O2 -flto=jobserver -frandom-seed=1 -ffat-lto-objects -fprofile-use
-DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H
-static-libstdc++ -static-libgcc  -o cc1plus \
          cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o
cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o
cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o
cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o
cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o
cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o
cp/lambda.o cp/vtable-class-hierarchy.o attribs.o incpath.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 cc1plus-checksum.o libbackend.a main.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  -L/home/user/tmp/bld/gcc-4.9.2/./cloog/.libs 
-lcloog-isl -L/home/user/tmp/bld/gcc-4.9.2/./isl/.libs  -lisl
-L/home/user/tmp/bld/gcc-4.9.2/./gmp/.libs
-L/home/user/tmp/bld/gcc-4.9.2/./mpfr/src/.libs
-L/home/user/tmp/bld/gcc-4.9.2/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic
-ldl  -L../zlib -lz
/home/user/tmp/bld/gcc-4.9.2/./mpfr/src/.libs/libmpfr.a(round_prec.o):(.debug_info+0xe97):
undefined reference to `.L222'
collect2: error: ld returned 1 exit status
make[3]: *** [lto1] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/user/tmp/bld/gcc-4.9.2/./mpfr/src/.libs/libmpfr.a(round_prec.o):(.debug_info+0xe97):
undefined reference to `.L222'
collect2: error: ld returned 1 exit status
make[3]: *** [cc1] Error 1
/home/user/tmp/bld/gcc-4.9.2/./mpfr/src/.libs/libmpfr.a(round_prec.o):(.debug_info+0xe97):
undefined reference to `.L222'
collect2: error: ld returned 1 exit status
make[3]: *** [cc1plus] Error 1
rm gcc.pod
make[3]: Leaving directory `/home/user/tmp/bld/gcc-4.9.2/gcc'
make[2]: *** [all-stagefeedback-gcc] Error 2
make[2]: Leaving directory `/home/user/tmp/bld/gcc-4.9.2'
make[1]: *** [stagefeedback-bubble] Error 2
make[1]: Leaving directory `/home/user/tmp/bld/gcc-4.9.2'
make: *** [profiledbootstrap] Error 2


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

* [Bug bootstrap/64593] libmpfr.a undefined reference to  `.L222' when doing make profiledbootstrap with bootstrap-lto
  2015-01-14  4:16 [Bug bootstrap/64593] New: libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap with bootstrap-lto arnetheduck at gmail dot com
@ 2015-01-14  4:21 ` arnetheduck at gmail dot com
  2015-01-14  4:21 ` arnetheduck at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: arnetheduck at gmail dot com @ 2015-01-14  4:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jacek Sieka <arnetheduck at gmail dot com> ---
Created attachment 34443
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34443&action=edit
Build script with configure options


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

* [Bug bootstrap/64593] libmpfr.a undefined reference to  `.L222' when doing make profiledbootstrap with bootstrap-lto
  2015-01-14  4:16 [Bug bootstrap/64593] New: libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap with bootstrap-lto arnetheduck at gmail dot com
  2015-01-14  4:21 ` [Bug bootstrap/64593] " arnetheduck at gmail dot com
@ 2015-01-14  4:21 ` arnetheduck at gmail dot com
  2015-01-15  2:54 ` arnetheduck at gmail dot com
  2021-09-18  7:48 ` [Bug bootstrap/64593] libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: arnetheduck at gmail dot com @ 2015-01-14  4:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jacek Sieka <arnetheduck at gmail dot com> ---
*** Bug 64594 has been marked as a duplicate of this bug. ***


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

* [Bug bootstrap/64593] libmpfr.a undefined reference to  `.L222' when doing make profiledbootstrap with bootstrap-lto
  2015-01-14  4:16 [Bug bootstrap/64593] New: libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap with bootstrap-lto arnetheduck at gmail dot com
  2015-01-14  4:21 ` [Bug bootstrap/64593] " arnetheduck at gmail dot com
  2015-01-14  4:21 ` arnetheduck at gmail dot com
@ 2015-01-15  2:54 ` arnetheduck at gmail dot com
  2021-09-18  7:48 ` [Bug bootstrap/64593] libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: arnetheduck at gmail dot com @ 2015-01-15  2:54 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jacek Sieka <arnetheduck at gmail dot com> ---
I've run a few more tests, and it turns out the culprit is profiledbootstrap.

'make profiledbootstrap' fails even when bootstrap-lto is taken out from the
configure line. 

Plain 'make' works both with and without bootstrap-lto.


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

* [Bug bootstrap/64593] libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap
  2015-01-14  4:16 [Bug bootstrap/64593] New: libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap with bootstrap-lto arnetheduck at gmail dot com
                   ` (2 preceding siblings ...)
  2015-01-15  2:54 ` arnetheduck at gmail dot com
@ 2021-09-18  7:48 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-18  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 63581.

*** This bug has been marked as a duplicate of bug 63581 ***

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

end of thread, other threads:[~2021-09-18  7:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14  4:16 [Bug bootstrap/64593] New: libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap with bootstrap-lto arnetheduck at gmail dot com
2015-01-14  4:21 ` [Bug bootstrap/64593] " arnetheduck at gmail dot com
2015-01-14  4:21 ` arnetheduck at gmail dot com
2015-01-15  2:54 ` arnetheduck at gmail dot com
2021-09-18  7:48 ` [Bug bootstrap/64593] libmpfr.a undefined reference to `.L222' when doing make profiledbootstrap pinskia at gcc dot gnu.org

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).