public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken
@ 2012-09-19 11:21 markus at trippelsdorf dot de
2012-09-19 11:40 ` [Bug lto/54625] " rguenth at gcc dot gnu.org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-19 11:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
Bug #: 54625
Summary: [4.8 Regression] lto/profiledbootstrap broken
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: markus@trippelsdorf.de
r191466 probably causes:
...
/var/tmp/gcc_build_dir/./prev-gcc/g++ -B/var/tmp/gcc_build_dir/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/markus/gcc/libstdc++-v3/libsupc++
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-march=native -O3 -pipe -fuse-linker-plugin -flto=jobserver
-fno-fat-lto-objects -frandom-seed=1 -fprofile-use -DIN_GCC -fno-exceptions
-fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -DHAVE_CONFIG_H
-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=safe,--icf-iterations=3
-o Tcollect2 \
collect2.o collect2-aix.o tlink.o vec.o ggc-none.o libcommon.a
../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
/var/tmp/gcc_build_dir/./prev-gcc/g++ -B/var/tmp/gcc_build_dir/./prev-gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
-I/home/markus/gcc/libstdc++-v3/libsupc++
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/var/tmp/gcc_build_dir/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-march=native -O3 -pipe -fuse-linker-plugin -flto=jobserver
-fno-fat-lto-objects -frandom-seed=1 -fprofile-use -DIN_GCC -fno-exceptions
-fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -DHAVE_CONFIG_H
-Wl,-O1,--hash-style=gnu,--as-needed,--gc-sections,--icf=safe,--icf-iterations=3
-o Tlto-wrapper \
lto-wrapper.o ggc-none.o libcommon-target.a libcommon.a ../libcpp/libcpp.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
In file included from /usr/include/string.h:96:0,
from :154:
/home/markus/gcc/libiberty/hashtab.c: In function ‘htab_create’:
/home/markus/gcc/libiberty/hashtab.c:294:3: internal compiler error:
Segmentation fault
return htab_create_typed_alloc (size, hash_f, eq_f, del_f, alloc_f, alloc_f,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [/tmp/cctTDuos.ltrans3.ltrans.o] Error 1
lto-wrapper: make returned 2 exit status
/usr/x86_64-pc-linux-gnu/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [lto-wrapper] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/string.h:96:0,
from :155:
/home/markus/gcc/libiberty/hashtab.c: In function ‘htab_create’:
/home/markus/gcc/libiberty/hashtab.c:294:3: internal compiler error:
Segmentation fault
return htab_create_typed_alloc (size, hash_f, eq_f, del_f, alloc_f, alloc_f,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [/tmp/cc29d1Cv.ltrans19.ltrans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
lto-wrapper: make returned 2 exit status
/usr/x86_64-pc-linux-gnu/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [collect2] Error 1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
@ 2012-09-19 11:40 ` rguenth at gcc dot gnu.org
2012-09-19 14:31 ` markus at trippelsdorf dot de
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-19 11:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu.org
Target Milestone|--- |4.8.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
2012-09-19 11:40 ` [Bug lto/54625] " rguenth at gcc dot gnu.org
@ 2012-09-19 14:31 ` markus at trippelsdorf dot de
2012-09-22 4:38 ` markus at trippelsdorf dot de
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-19 14:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-19 14:30:54 UTC ---
See also:
http://gcc.gnu.org/ml/gcc-regression/2012-09/msg00305.html
http://gcc.gnu.org/ml/gcc-regression/2012-09/msg00308.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
2012-09-19 11:40 ` [Bug lto/54625] " rguenth at gcc dot gnu.org
2012-09-19 14:31 ` markus at trippelsdorf dot de
@ 2012-09-22 4:38 ` markus at trippelsdorf dot de
2012-09-22 8:08 ` markus at trippelsdorf dot de
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-22 4:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-22 04:38:14 UTC ---
Firefox also fails during the last libxul link of an lto/profiled build:
...
/var/tmp/mozilla-central/js/src/jsmath.cpp: In function ‘math_sin’:
/var/tmp/mozilla-central/js/src/jsmath.cpp:589:0: internal compiler error:
Segmentation fault
return cache->lookup(sin, x);
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [/tmp/cckLE2MY.ltrans20.ltrans.o] Error 1
I've reduced this error with delta & C-reduce:
markus@x4 moz2 % cat test.i
float a;
double sin ();
speex_resampler_init_frac ()
{
a = sin (0);
}
markus@x4 moz2 % cat test.ii
extern "C" double sin (double);
typedef double UnaryFunType (double);
class A
{
public:
int hash ();
double lookup (UnaryFunType p1)
{
int a = hash ();
if (p1)
return 0;
}
};
A b;
void
math_sin_impl ()
{
b.lookup (sin);
}
markus@x4 moz2 % gcc -o test.o -c -flto -O2 test.i
markus@x4 moz2 % g++ -r -nostdlib test.o test.ii -flto -O2
lto1: internal compiler error: in cgraph_create_virtual_clone, at
cgraphclones.c:344
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: /var/tmp/foo/usr/local/bin/g++ returned 1 exit status
/usr/bin/ld: fatal error: lto-wrapper failed
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (2 preceding siblings ...)
2012-09-22 4:38 ` markus at trippelsdorf dot de
@ 2012-09-22 8:08 ` markus at trippelsdorf dot de
2012-09-25 13:17 ` [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123 rguenth at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-22 8:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #3 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-22 08:06:55 UTC ---
Here is another example (this one triggers the same gcc_assert as in HJ's
regression report):
markus@x4 moz_lto_debug % < test.i
float a;
double sin ();
update_filter ()
{
a = sin (0);
}
markus@x4 moz_lto_debug % < test.ii
extern "C" double sin (double);
typedef double (*UnaryFunType) (double);
class A
{
public:
int hash ();
void lookup (UnaryFunType p1)
{
int a = hash ();
p1 (0);
}
};
A b, c;
void
math_sin_impl ()
{
b.lookup (sin);
}
void
js_math_sqrt ()
{
c.lookup (0);
}
markus@x4 moz_lto_debug % gcc -o test.o -c -flto test.i
markus@x4 moz_lto_debug % g++ -r -nostdlib test.o test.ii -flto -O2
In file included from test.ii:1:0,
from :4:
test.ii: In function ‘math_sin_impl’:
test.ii:17:19: internal compiler error: in cgraph_clone_edge, at
cgraphclones.c:123
b.lookup (sin);
^
Please submit a full bug report,
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (3 preceding siblings ...)
2012-09-22 8:08 ` markus at trippelsdorf dot de
@ 2012-09-25 13:17 ` rguenth at gcc dot gnu.org
2012-09-25 13:23 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-25 13:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dimhen at gmail dot com
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 13:16:47 UTC ---
*** Bug 54702 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (4 preceding siblings ...)
2012-09-25 13:17 ` [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123 rguenth at gcc dot gnu.org
@ 2012-09-25 13:23 ` rguenth at gcc dot gnu.org
2012-09-25 13:28 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-25 13:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 13:23:25 UTC ---
Created attachment 28267
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28267
non-working patch with testcases
Confirmed. Non-working patch (from PR54702) with all testcases.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (5 preceding siblings ...)
2012-09-25 13:23 ` rguenth at gcc dot gnu.org
@ 2012-09-25 13:28 ` rguenth at gcc dot gnu.org
2012-09-25 14:25 ` markus at trippelsdorf dot de
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-25 13:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 13:28:13 UTC ---
The testcases are also fixed by
Index: gcc/lto-symtab.c
===================================================================
--- gcc/lto-symtab.c (revision 191700)
+++ gcc/lto-symtab.c (working copy)
@@ -629,7 +629,8 @@ lto_symtab_merge_cgraph_nodes_1 (symtab_
if (!symtab_real_symbol_p (e))
continue;
- if (symtab_function_p (e))
+ if (symtab_function_p (e)
+ && !DECL_BUILT_IN (e->symbol.decl))
lto_cgraph_replace_node (cgraph (e), cgraph (prevailing));
if (symtab_variable_p (e))
lto_varpool_replace_node (varpool (e), varpool (prevailing));
now testing that instead of the symtab.c hunks.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (6 preceding siblings ...)
2012-09-25 13:28 ` rguenth at gcc dot gnu.org
@ 2012-09-25 14:25 ` markus at trippelsdorf dot de
2012-09-25 15:07 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: markus at trippelsdorf dot de @ 2012-09-25 14:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #7 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-09-25 14:24:58 UTC ---
(In reply to comment #6)
> The testcases are also fixed by
>
> Index: gcc/lto-symtab.c
> ===================================================================
> --- gcc/lto-symtab.c (revision 191700)
> +++ gcc/lto-symtab.c (working copy)
> @@ -629,7 +629,8 @@ lto_symtab_merge_cgraph_nodes_1 (symtab_
>
> if (!symtab_real_symbol_p (e))
> continue;
> - if (symtab_function_p (e))
> + if (symtab_function_p (e)
> + && !DECL_BUILT_IN (e->symbol.decl))
> lto_cgraph_replace_node (cgraph (e), cgraph (prevailing));
> if (symtab_variable_p (e))
> lto_varpool_replace_node (varpool (e), varpool (prevailing));
>
> now testing that instead of the symtab.c hunks.
Thanks. This fixes lto/profiledbootstrap.
Firefox however doesn't build:
...
gcc -shared -Wl,-soname -Wl,libnspr4.so -o libnspr4.so ./prvrsion.o
io/./prfdcach.o io/./prmwait.o io/./prmapopt.o io/./priometh.o io/./pripv6.o
io/.
/prlayer.o io/./prlog.o io/./prmmap.o io/./prpolevt.o io/./prprf.o
io/./prscanf.o io/./prstdio.o threads/./prcmon.o threads/./prrwlock.o
threads/./pr
tpd.o linking/./prlink.o malloc/./prmalloc.o malloc/./prmem.o md/./prosdep.o
memory/./prshm.o memory/./prshma.o memory/./prseg.o misc/./pralarm.o mis
c/./pratom.o misc/./prcountr.o misc/./prdtoa.o misc/./prenv.o misc/./prerr.o
misc/./prerror.o misc/./prerrortable.o misc/./prinit.o misc/./prinrval.o
misc/./pripc.o misc/./prlog2.o misc/./prlong.o misc/./prnetdb.o
misc/./praton.o misc/./prolock.o misc/./prrng.o misc/./prsystem.o
misc/./prthinfo.o
misc/./prtpool.o misc/./prtrace.o misc/./prtime.o pthreads/./ptsynch.o
pthreads/./ptio.o pthreads/./ptthread.o pthreads/./ptmisc.o md/unix/./unix.o m
d/unix/./unix_errors.o md/unix/./uxproces.o md/unix/./uxrng.o md/unix/./uxshm.o
md/unix/./uxwrap.o md/unix/./linux.o md/unix/./os_Linux_x86_64.o -fu
se-linker-plugin -Wl,-O1,--hash-style=gnu,--no-keep-memory -fprofile-use
-lpthread -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans0.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strlen' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans1.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strncmp' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans2.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strlen' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans3.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memset' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans7.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strlen' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans8.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memset' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans10.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans11.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans12.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memset' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans13.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans14.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans15.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans16.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'free' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans17.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strlen' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans18.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strlen' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans19.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'strlen' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans20.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans21.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: /tmp/ccdZgGDF.ltrans22.ltrans.o: requires dynamic R_X86_64_PC32
reloc against 'memcpy' which may overflow at runtime; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'strlen' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'strcpy' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'strncmp' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_exit' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_exit' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_exit' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_exit' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_exit' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol '_exit' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'strlen' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'memcpy' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'memcpy' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'memcpy' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'memset' is not defined locally
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.0/../../../../x86_64-pc-linux-gnu/bin/ld:
error: hidden symbol 'strlen' is not defined locally
... etc.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (7 preceding siblings ...)
2012-09-25 14:25 ` markus at trippelsdorf dot de
@ 2012-09-25 15:07 ` rguenth at gcc dot gnu.org
2012-09-25 15:08 ` rguenth at gcc dot gnu.org
2013-10-15 0:02 ` mrs at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-25 15:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 15:06:25 UTC ---
Author: rguenth
Date: Tue Sep 25 15:06:17 2012
New Revision: 191713
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191713
Log:
2012-09-25 Richard Guenther <rguenther@suse.de>
PR lto/54625
* lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Do not merge
cgraph nodes for builtins.
* gcc.dg/lto/pr54702_0.c: New testcase.
* gcc.dg/lto/pr54702_1.c: Likewise.
* gcc.dg/lto/pr54625-1_0.c: Likewise.
* gcc.dg/lto/pr54625-1_1.C: Likewise.
* gcc.dg/lto/pr54625-2_0.c: Likewise.
* gcc.dg/lto/pr54625-2_1.C: Likewise.
Added:
trunk/gcc/testsuite/gcc.dg/lto/pr54625-1_0.c
trunk/gcc/testsuite/gcc.dg/lto/pr54625-1_1.C
trunk/gcc/testsuite/gcc.dg/lto/pr54625-2_0.c
trunk/gcc/testsuite/gcc.dg/lto/pr54625-2_1.C
trunk/gcc/testsuite/gcc.dg/lto/pr54702_0.c
trunk/gcc/testsuite/gcc.dg/lto/pr54702_1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-symtab.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (8 preceding siblings ...)
2012-09-25 15:07 ` rguenth at gcc dot gnu.org
@ 2012-09-25 15:08 ` rguenth at gcc dot gnu.org
2013-10-15 0:02 ` mrs at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-25 15:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-09-25 15:07:51 UTC ---
Fixed. Please open a new bug for the mozilla issue.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
` (9 preceding siblings ...)
2012-09-25 15:08 ` rguenth at gcc dot gnu.org
@ 2013-10-15 0:02 ` mrs at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: mrs at gcc dot gnu.org @ 2013-10-15 0:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54625
mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrs at gcc dot gnu.org
--- Comment #10 from mrs at gcc dot gnu.org <mrs at gcc dot gnu.org> ---
xgcc: error: /home/mrs/wg/gcc/gcc/testsuite/gcc.dg/lto/pr54625-2_1.C: C++
compiler not installed on this system^M
FAIL: gcc.dg/lto/pr54625-2 c_lto_pr54625-2_1.o assemble, -O2 -flto
-fuse-linker-plugin
shouldn't C++ testcases go into the C++ testsuite?
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2013-10-15 0:02 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-19 11:21 [Bug lto/54625] New: [4.8 Regression] lto/profiledbootstrap broken markus at trippelsdorf dot de
2012-09-19 11:40 ` [Bug lto/54625] " rguenth at gcc dot gnu.org
2012-09-19 14:31 ` markus at trippelsdorf dot de
2012-09-22 4:38 ` markus at trippelsdorf dot de
2012-09-22 8:08 ` markus at trippelsdorf dot de
2012-09-25 13:17 ` [Bug lto/54625] [4.8 Regression] lto/profiledbootstrap broken by r191466: ICE: in cgraph_clone_edge, at cgraphclones.c:123 rguenth at gcc dot gnu.org
2012-09-25 13:23 ` rguenth at gcc dot gnu.org
2012-09-25 13:28 ` rguenth at gcc dot gnu.org
2012-09-25 14:25 ` markus at trippelsdorf dot de
2012-09-25 15:07 ` rguenth at gcc dot gnu.org
2012-09-25 15:08 ` rguenth at gcc dot gnu.org
2013-10-15 0:02 ` mrs 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).