* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
@ 2010-10-16 1:24 ` howarth at nitro dot med.uc.edu
2010-10-16 9:46 ` rguenth at gcc dot gnu.org
` (25 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-10-16 1:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #1 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-10-16 01:23:58 UTC ---
Created attachment 22058
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22058
preprocessed source for libcpp/lex.c
The attached preprocessed source, lex.i, for libcpp/lex.c provides an example
of the code which triggers the bootstrap-lto failures on darwin....
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/xgcc
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/bin/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/lib/ -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/include -isystem
/sw/lib/gcc4.6/x86_64-apple-darwin10.5.0/sys-include
-I../../gcc-4.6-20101014/libcpp -I. -I../../gcc-4.6-20101014/libcpp/../include
-I../../gcc-4.6-20101014/libcpp/include -I/sw/include -g -O2 -W -Wall
-Wwrite-strings -Wmissing-format-attribute -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wc++-compat -pedantic
-Wno-long-long -Werror -I../../gcc-4.6-20101014/libcpp -I.
-I../../gcc-4.6-20101014/libcpp/../include
-I../../gcc-4.6-20101014/libcpp/include -I/sw/include -flto -c -o lex.o -MT
lex.o -MMD -MP -MF .deps/lex.Tpo lex.i
../../gcc-4.6-20101014/libcpp/lex.c:2838:1: sorry, unimplemented: gimple
bytecode streams do not support the optimization attribute
The same error appears when -fwhopr or -fwhopr=jobserver is used instead of
-flto.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
2010-10-16 1:24 ` [Bug bootstrap/46037] " howarth at nitro dot med.uc.edu
@ 2010-10-16 9:46 ` rguenth at gcc dot gnu.org
2010-10-16 13:41 ` howarth at nitro dot med.uc.edu
` (24 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-16 9:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-16 09:46:38 UTC ---
the optimize attribute isn't used in the preprocessed file but only the
target attribute which is supported. Thus, "worksforme".
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
2010-10-16 1:24 ` [Bug bootstrap/46037] " howarth at nitro dot med.uc.edu
2010-10-16 9:46 ` rguenth at gcc dot gnu.org
@ 2010-10-16 13:41 ` howarth at nitro dot med.uc.edu
2011-01-10 15:47 ` davek at gcc dot gnu.org
` (23 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2010-10-16 13:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #3 from Jack Howarth <howarth at nitro dot med.uc.edu> 2010-10-16 13:41:03 UTC ---
(In reply to comment #2)
> the optimize attribute isn't used in the preprocessed file but only the
> target attribute which is supported. Thus, "worksforme".
Using a stock build of gcc trunk on x86_64-apple-darwin10, built with...
Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.5.0/4.6.0/lto-wrapper
Target: x86_64-apple-darwin10.5.0
Configured with: ../gcc-4.6-20101014/configure --prefix=/sw
--prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man --infodir=/sw/lib/gcc4.6/info
--enable-languages=c,c++,fortran,objc,obj-c++,java,lto --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.6 --enable-checking=yes
Thread model: posix
gcc version 4.6.0 20101015 (experimental) (GCC)
the error can be reproduced out of tree with the lex.i file as...
gcc-4 -g -O2 -W -Wall -Wwrite-strings -Wmissing-format-attribute
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat
-pedantic -Wno-long-long -Werror -flto -c -o lex.o -MT ex.o -MMD -MP -MF
.deps/lex.Tpo lex.i
../../gcc-4.6-20101014/libcpp/lex.c:2838:1: sorry, unimplemented: gimple
bytecode streams do not support the optimization attribute
It would be interesting to know if COFF's lto support has the same issues
(since they share the same backend design for lto support).
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (2 preceding siblings ...)
2010-10-16 13:41 ` howarth at nitro dot med.uc.edu
@ 2011-01-10 15:47 ` davek at gcc dot gnu.org
2011-01-10 15:47 ` Jan Hubicka
2011-01-10 15:52 ` hubicka at ucw dot cz
` (22 subsequent siblings)
26 siblings, 1 reply; 31+ messages in thread
From: davek at gcc dot gnu.org @ 2011-01-10 15:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #4 from Dave Korn <davek at gcc dot gnu.org> 2011-01-10 15:28:51 UTC ---
(In reply to comment #2)
> the optimize attribute isn't used in the preprocessed file but only the
> target attribute which is supported. Thus, "worksforme".
Target attributes must be implying optimisation attributes. Bug depends also
on --with-{arch,tune,fpmath} settings. I'll try and reproduce it on
x86_64-linux, it should be possible if I choose the right settings - will reply
again later.
(In reply to comment #3)
> It would be interesting to know if COFF's lto support has the same issues
> (since they share the same backend design for lto support).
No, it's not related to the backend lto support at all; the sorry comes from
the lto output streamer. It does depend on the backend's attribute handling
though.
(See also PR41201, vaguely related.)
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2011-01-10 15:47 ` davek at gcc dot gnu.org
@ 2011-01-10 15:47 ` Jan Hubicka
0 siblings, 0 replies; 31+ messages in thread
From: Jan Hubicka @ 2011-01-10 15:47 UTC (permalink / raw)
To: davek at gcc dot gnu.org; +Cc: gcc-bugs
> Target attributes must be implying optimisation attributes. Bug depends also
> on --with-{arch,tune,fpmath} settings. I'll try and reproduce it on
> x86_64-linux, it should be possible if I choose the right settings - will reply
> again later.
Well, we probably should just go ahead and implement streaming of optimizaion attribute.
But still I don't see how this implicatoin happens.
Honza
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (3 preceding siblings ...)
2011-01-10 15:47 ` davek at gcc dot gnu.org
@ 2011-01-10 15:52 ` hubicka at ucw dot cz
2011-01-10 22:47 ` hubicka at gcc dot gnu.org
` (21 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-10 15:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #5 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-10 15:46:25 UTC ---
> Target attributes must be implying optimisation attributes. Bug depends also
> on --with-{arch,tune,fpmath} settings. I'll try and reproduce it on
> x86_64-linux, it should be possible if I choose the right settings - will reply
> again later.
Well, we probably should just go ahead and implement streaming of optimizaion
attribute.
But still I don't see how this implicatoin happens.
Honza
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (4 preceding siblings ...)
2011-01-10 15:52 ` hubicka at ucw dot cz
@ 2011-01-10 22:47 ` hubicka at gcc dot gnu.org
2011-01-10 22:52 ` joseph at codesourcery dot com
` (20 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-10 22:47 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.10 22:27:07
CC| |hubicka at gcc dot gnu.org,
| |joseph at codesourcery dot
| |com
Ever Confirmed|0 |1
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-10 22:27:07 UTC ---
Well, so the problem is:
static bool
ix86_valid_target_attribute_p (tree fndecl,
tree ARG_UNUSED (name),
tree args,
int ARG_UNUSED (flags))
{
...
new_optimize = build_optimization_node ();
...
if (old_optimize != new_optimize)
DECL_FUNCTION_SPECIFIC_OPTIMIZATION (fndecl) = new_optimize;
for some reason the optimization flags are believed to not match despite the
fact only target attribute is used. The difference is:
- <optimization_node 0x143209100
+ <optimization_node 0x100fda500
align_functions (0x10)
align_jumps (0x10)
align_labels (0x1)
@@ -95,5 +96,6 @@
flag_unwind_tables (0x1)
flag_var_tracking (0x1)
flag_var_tracking_assignments (0x1)
+ flag_var_tracking_uninit (0x1)
flag_vect_cost_model (0x1)
>
so it seems that re-running process_options on darwin somehow leads to this
change. Adding Joseph to CC.
Still streaming of optimization attribute is thing we should do.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (5 preceding siblings ...)
2011-01-10 22:47 ` hubicka at gcc dot gnu.org
@ 2011-01-10 22:52 ` joseph at codesourcery dot com
2011-01-11 0:36 ` hubicka at gcc dot gnu.org
` (19 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: joseph at codesourcery dot com @ 2011-01-10 22:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #7 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-10 22:47:26 UTC ---
On Mon, 10 Jan 2011, hubicka at gcc dot gnu.org wrote:
> so it seems that re-running process_options on darwin somehow leads to this
> change. Adding Joseph to CC.
How exactly is process_options rerun? It's a static function in toplev.c,
called once from another static function in toplev.c.... I guess maybe
you mean decode_options. In that case, maybe you need to implement
TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE to set at least some of the variables
set by darwin_override_options.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (6 preceding siblings ...)
2011-01-10 22:52 ` joseph at codesourcery dot com
@ 2011-01-11 0:36 ` hubicka at gcc dot gnu.org
2011-01-11 0:45 ` hubicka at gcc dot gnu.org
` (18 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-11 0:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at redhat dot com
--- Comment #8 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-11 00:07:08 UTC ---
I guess it is decode options. But I wonder how we manage to play this
ping-pong game. I see darwin.c setting the uninit:
if (flag_var_tracking
&& (generating_for_darwin_version >= 9)
&& debug_info_level >= DINFO_LEVEL_NORMAL
&& debug_hooks->var_location != do_nothing_debug_hooks.var_location)
flag_var_tracking_uninit = 1;
and toplev.c clearing it:
/* We know which debug output will be used so we can set flag_var_tracking
and flag_var_tracking_uninit if the user has not specified them. */
if (debug_info_level < DINFO_LEVEL_NORMAL
|| debug_hooks->var_location == do_nothing_debug_hooks.var_location)
{
if (flag_var_tracking == 1
|| flag_var_tracking_uninit == 1)
{
if (debug_info_level < DINFO_LEVEL_NORMAL)
warning (0, "variable tracking requested, but useless unless "
"producing debug info");
else
warning (0, "variable tracking requested, but not supported "
"by this debug format");
}
flag_var_tracking = 0;
flag_var_tracking_uninit = 0;
}
First time we go
process_options->darwin_override_options and we end up with flag disabled
(can't verify as I am not big friend with Jack's gdb)
next time we go
#0 0x00000001009edb40 in darwin_override_options ()
#1 0x000000010099b120 in ix86_option_override_internal ()
#2 0x000000010099f15b in ix86_valid_target_attribute_tree ()
#3 0x000000010099f25b in ix86_valid_target_attribute_p ()
#4 0x000000010007ac04 in handle_target_attribute ()
#5 0x00000001000024ca in decl_attributes ()
this time we bypass process_options.
I don't see how those two conditionals can both match.
I also wonder why is darwin enabling the flag?
It seems to be off at all configurations except for darwin even if looks like
generic var tracking feature. -fvar-tracking-uninit is also undocumented.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (7 preceding siblings ...)
2011-01-11 0:36 ` hubicka at gcc dot gnu.org
@ 2011-01-11 0:45 ` hubicka at gcc dot gnu.org
2011-01-11 0:46 ` hubicka at gcc dot gnu.org
` (17 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-11 0:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-11 00:26:40 UTC ---
OK, first time the flag is not set because
debug_hooks->var_location == do_nothing_debug_hooks.var_location
second time it is no longer true
Seems we need to ininitialize the debug hook earlier or use different test when
processing options.
Honza
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (8 preceding siblings ...)
2011-01-11 0:45 ` hubicka at gcc dot gnu.org
@ 2011-01-11 0:46 ` hubicka at gcc dot gnu.org
2011-01-11 5:20 ` howarth at nitro dot med.uc.edu
` (16 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at gcc dot gnu.org @ 2011-01-11 0:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #10 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-11 00:36:33 UTC ---
Hi,
this should fix the issue.
Index: config/darwin.c
===================================================================
--- config/darwin.c (revision 168632)
+++ config/darwin.c (working copy)
@@ -2618,7 +2618,7 @@
if (flag_var_tracking
&& (generating_for_darwin_version >= 9)
&& debug_info_level >= DINFO_LEVEL_NORMAL
- && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
+ && write_symbols == DWARF2_DEBUG)
flag_var_tracking_uninit = 1;
if (MACHO_DYNAMIC_NO_PIC_P)
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (9 preceding siblings ...)
2011-01-11 0:46 ` hubicka at gcc dot gnu.org
@ 2011-01-11 5:20 ` howarth at nitro dot med.uc.edu
2011-01-11 6:55 ` howarth at nitro dot med.uc.edu
` (15 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 5:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #11 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 04:41:14 UTC ---
(In reply to comment #10)
While this patch allows the lto-bootstrap below to complete on
x86_64-apple-darwin10...
../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist
--with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --with-build-config=bootstrap-lto
--enable-stage1-languages=c,lto --enable-languages=c,lto
it breaks the standard bootstrap of...
../gcc/configure --enable-checking=release --prefix=/Users/howarth/dist
--with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib --enable-languages=c,lto
with the error...
/Users/howarth/darwin_objdir/./prev-gcc/xgcc
-B/Users/howarth/darwin_objdir/./prev-gcc/
-B/Users/howarth/dist/x86_64-apple-darwin10.6.0/bin/
-B/Users/howarth/dist/x86_64-apple-darwin10.6.0/bin/
-B/Users/howarth/dist/x86_64-apple-darwin10.6.0/lib/ -isystem
/Users/howarth/dist/x86_64-apple-darwin10.6.0/include -isystem
/Users/howarth/dist/x86_64-apple-darwin10.6.0/sys-include
-I../../gcc/libcpp -I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include
-I/sw/include -g -O2 -mdynamic-no-pic -gtoggle -W -Wall -Wwrite-strings
-Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -Werror
-I../../gcc/libcpp -I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include
-I/sw/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo
../../gcc/libcpp/charset.c
../../gcc/libcpp/charset.c:1:0: error: variable tracking requested, but useless
unless producing debug info [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [charset.o] Error 1
make[2]: *** [all-stage2-libcpp] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (10 preceding siblings ...)
2011-01-11 5:20 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 6:55 ` howarth at nitro dot med.uc.edu
2011-01-11 7:02 ` howarth at nitro dot med.uc.edu
` (14 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 6:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #12 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 06:19:54 UTC ---
In case it helps, the code being patched was introduced with r126927 and was
proposed in...
http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01799.html
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (11 preceding siblings ...)
2011-01-11 6:55 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 7:02 ` howarth at nitro dot med.uc.edu
2011-01-11 10:09 ` hubicka at ucw dot cz
` (13 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 7:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #13 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 06:31:38 UTC ---
A slight correction. There appears to be no actual gcc-patches posting for
r126927 (as it is an add-on fix to r126900)
2007-07-25 Daniel Berlin <dberlin@dberlin.org>
* config/darwin.c (darwin_override_options): Additional fix for
debug info formats that don't support var tracking.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (12 preceding siblings ...)
2011-01-11 7:02 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 10:09 ` hubicka at ucw dot cz
2011-01-11 14:03 ` howarth at nitro dot med.uc.edu
` (12 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-11 10:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #14 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-11 09:12:05 UTC ---
> /Users/howarth/darwin_objdir/./prev-gcc/xgcc
> -B/Users/howarth/darwin_objdir/./prev-gcc/
> -B/Users/howarth/dist/x86_64-apple-darwin10.6.0/bin/
> -B/Users/howarth/dist/x86_64-apple-darwin10.6.0/bin/
> -B/Users/howarth/dist/x86_64-apple-darwin10.6.0/lib/ -isystem
> /Users/howarth/dist/x86_64-apple-darwin10.6.0/include -isystem
> /Users/howarth/dist/x86_64-apple-darwin10.6.0/sys-include
> -I../../gcc/libcpp -I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include
> -I/sw/include -g -O2 -mdynamic-no-pic -gtoggle -W -Wall -Wwrite-strings
> -Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -Wc++-compat -pedantic -Wno-long-long -Werror
> -I../../gcc/libcpp -I. -I../../gcc/libcpp/../include -I../../gcc/libcpp/include
> -I/sw/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo
> ../../gcc/libcpp/charset.c
> ../../gcc/libcpp/charset.c:1:0: error: variable tracking requested, but useless
> unless producing debug info [-Werror]
> cc1: all warnings being treated as errors
I guess it is because of
if (flag_gtoggle)
{
if (debug_info_level == DINFO_LEVEL_NONE)
{
debug_info_level = DINFO_LEVEL_NORMAL;
if (write_symbols == NO_DEBUG)
write_symbols = PREFERRED_DEBUGGING_TYPE;
}
else
debug_info_level = DINFO_LEVEL_NONE;
}
The conditinal in darwin.c tests debug_info_level.
I guess either this test could be moved earlier in the queue or darwin.c needs
to test
gtoggle and adjust debug_info_level accrodingly.
I am really not expert in this area.
Joseph might know.
Honza
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (13 preceding siblings ...)
2011-01-11 10:09 ` hubicka at ucw dot cz
@ 2011-01-11 14:03 ` howarth at nitro dot med.uc.edu
2011-01-11 14:08 ` Jan Hubicka
2011-01-11 14:09 ` hubicka at ucw dot cz
` (11 subsequent siblings)
26 siblings, 1 reply; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 14:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #15 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 13:48:30 UTC ---
The regression testresults a lto-bootstrap of the proposed patch in Comment 10
on x86_64-apple-darwin10...
http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg00899.html
The patch will also be problematic for powerpc-apple-darwin9 and darwin8 since
it relies on dwarf2 and those OS releases still use stabs.
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2011-01-11 14:03 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 14:08 ` Jan Hubicka
0 siblings, 0 replies; 31+ messages in thread
From: Jan Hubicka @ 2011-01-11 14:08 UTC (permalink / raw)
To: howarth at nitro dot med.uc.edu; +Cc: gcc-bugs
> The patch will also be problematic for powerpc-apple-darwin9 and darwin8 since
> it relies on dwarf2 and those OS releases still use stabs.
It should not be problem. For stabs we don't do var tracking.
The original test tested if target debug info supports var tracking and dwarf2 is the
only one. Since stabs support is not planned, I think the new test is as good as old
one.
For that -gtoggle failure you need something like
if (flag_var_tracking
&& (generating_for_darwin_version >= 9)
&& debug_info_level >= DINFO_LEVEL_NORMAL
&& (flag_gtoggle ? (debug_info_level >= DINFO_LEVEL_NORMAL)
: (debug_info_level == DINFO_LEVEL_NONE))
&& write_symbols == DWARF2_DEBUG)
(i.e. -gtoggle is supposed to replace -g by -g0 and -g0 by -g.)
Honza
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (14 preceding siblings ...)
2011-01-11 14:03 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 14:09 ` hubicka at ucw dot cz
2011-01-11 15:29 ` howarth at nitro dot med.uc.edu
` (10 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-11 14:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #16 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-11 14:06:58 UTC ---
> The patch will also be problematic for powerpc-apple-darwin9 and darwin8 since
> it relies on dwarf2 and those OS releases still use stabs.
It should not be problem. For stabs we don't do var tracking.
The original test tested if target debug info supports var tracking and dwarf2
is the
only one. Since stabs support is not planned, I think the new test is as good
as old
one.
For that -gtoggle failure you need something like
if (flag_var_tracking
&& (generating_for_darwin_version >= 9)
&& debug_info_level >= DINFO_LEVEL_NORMAL
&& (flag_gtoggle ? (debug_info_level >= DINFO_LEVEL_NORMAL)
: (debug_info_level == DINFO_LEVEL_NONE))
&& write_symbols == DWARF2_DEBUG)
(i.e. -gtoggle is supposed to replace -g by -g0 and -g0 by -g.)
Honza
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (15 preceding siblings ...)
2011-01-11 14:09 ` hubicka at ucw dot cz
@ 2011-01-11 15:29 ` howarth at nitro dot med.uc.edu
2011-01-11 15:30 ` howarth at nitro dot med.uc.edu
` (9 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 15:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #17 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 15:11:49 UTC ---
I assume you really meant...
if (flag_var_tracking
&& (generating_for_darwin_version >= 9)
&& (flag_gtoggle ? (debug_info_level >= DINFO_LEVEL_NORMAL)
: (debug_info_level == DINFO_LEVEL_NONE))
&& write_symbols == DWARF2_DEBUG)
without the extra...
&& debug_info_level >= DINFO_LEVEL_NORMAL
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (16 preceding siblings ...)
2011-01-11 15:29 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 15:30 ` howarth at nitro dot med.uc.edu
2011-01-11 16:34 ` howarth at nitro dot med.uc.edu
` (8 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 15:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #18 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 15:23:34 UTC ---
Both the patch in comment 16 and 17 produce the same errors in a standard
bootstrap...
../../gcc/libdecnumber/decContext.c:1:0: error: variable tracking requested,
but useless unless producing debug info [-Werror]
cc1: all warnings being treated as errors
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (17 preceding siblings ...)
2011-01-11 15:30 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 16:34 ` howarth at nitro dot med.uc.edu
2011-01-11 17:02 ` Jan Hubicka
2011-01-11 17:03 ` hubicka at ucw dot cz
` (7 subsequent siblings)
26 siblings, 1 reply; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 16:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #19 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 16:32:00 UTC ---
Why not retain the original code behavior unless generating lto? The patch
below works with both a standard and lto-bootstrap on x86_64-apple-darwin10.
Index: gcc/config/darwin.c
===================================================================
--- gcc/config/darwin.c (revision 168662)
+++ gcc/config/darwin.c (working copy)
@@ -2618,7 +2618,8 @@
if (flag_var_tracking
&& (generating_for_darwin_version >= 9)
&& debug_info_level >= DINFO_LEVEL_NORMAL
- && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
+ && (flag_generate_lto ? (write_symbols == DWARF2_DEBUG)
+ : (debug_hooks->var_location != do_nothing_debug_hooks.var_location)))
flag_var_tracking_uninit = 1;
if (MACHO_DYNAMIC_NO_PIC_P)
^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2011-01-11 16:34 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 17:02 ` Jan Hubicka
0 siblings, 0 replies; 31+ messages in thread
From: Jan Hubicka @ 2011-01-11 17:02 UTC (permalink / raw)
To: howarth at nitro dot med.uc.edu; +Cc: gcc-bugs
> Why not retain the original code behavior unless generating lto? The patch
Because the original code bahviour is wrong. It assumes that debug_hooks is initialized
while it is not at the point.
Honza
> below works with both a standard and lto-bootstrap on x86_64-apple-darwin10.
>
> Index: gcc/config/darwin.c
> ===================================================================
> --- gcc/config/darwin.c (revision 168662)
> +++ gcc/config/darwin.c (working copy)
> @@ -2618,7 +2618,8 @@
> if (flag_var_tracking
> && (generating_for_darwin_version >= 9)
> && debug_info_level >= DINFO_LEVEL_NORMAL
> - && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
> + && (flag_generate_lto ? (write_symbols == DWARF2_DEBUG)
> + : (debug_hooks->var_location != do_nothing_debug_hooks.var_location)))
> flag_var_tracking_uninit = 1;
>
> if (MACHO_DYNAMIC_NO_PIC_P)
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (18 preceding siblings ...)
2011-01-11 16:34 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 17:03 ` hubicka at ucw dot cz
2011-01-11 18:46 ` howarth at nitro dot med.uc.edu
` (6 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: hubicka at ucw dot cz @ 2011-01-11 17:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #20 from Jan Hubicka <hubicka at ucw dot cz> 2011-01-11 16:56:35 UTC ---
> Why not retain the original code behavior unless generating lto? The patch
Because the original code bahviour is wrong. It assumes that debug_hooks is
initialized
while it is not at the point.
Honza
> below works with both a standard and lto-bootstrap on x86_64-apple-darwin10.
>
> Index: gcc/config/darwin.c
> ===================================================================
> --- gcc/config/darwin.c (revision 168662)
> +++ gcc/config/darwin.c (working copy)
> @@ -2618,7 +2618,8 @@
> if (flag_var_tracking
> && (generating_for_darwin_version >= 9)
> && debug_info_level >= DINFO_LEVEL_NORMAL
> - && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
> + && (flag_generate_lto ? (write_symbols == DWARF2_DEBUG)
> + : (debug_hooks->var_location != do_nothing_debug_hooks.var_location)))
> flag_var_tracking_uninit = 1;
>
> if (MACHO_DYNAMIC_NO_PIC_P)
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug bootstrap/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (19 preceding siblings ...)
2011-01-11 17:03 ` hubicka at ucw dot cz
@ 2011-01-11 18:46 ` howarth at nitro dot med.uc.edu
2011-01-11 21:20 ` [Bug target/46037] " howarth at nitro dot med.uc.edu
` (5 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 18:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #21 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 18:06:31 UTC ---
This brute force approach works for both a standard and lto-bootstrap...
Index: gcc/config/darwin.c
===================================================================
--- gcc/config/darwin.c (revision 168667)
+++ gcc/config/darwin.c (working copy)
@@ -2615,10 +2615,23 @@ darwin_override_options (void)
darwin_emit_branch_islands = true;
}
+ if (flag_gtoggle)
+ {
+ if (debug_info_level == DINFO_LEVEL_NONE)
+ {
+ debug_info_level = DINFO_LEVEL_NORMAL;
+
+ if (write_symbols == NO_DEBUG)
+ write_symbols = PREFERRED_DEBUGGING_TYPE;
+ }
+ else
+ debug_info_level = DINFO_LEVEL_NONE;
+ }
+
if (flag_var_tracking
- && (generating_for_darwin_version >= 9)
+ && generating_for_darwin_version >= 9
&& debug_info_level >= DINFO_LEVEL_NORMAL
- && debug_hooks->var_location != do_nothing_debug_hooks.var_location)
+ && write_symbols == DWARF2_DEBUG)
flag_var_tracking_uninit = 1;
if (MACHO_DYNAMIC_NO_PIC_P)
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug target/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (20 preceding siblings ...)
2011-01-11 18:46 ` howarth at nitro dot med.uc.edu
@ 2011-01-11 21:20 ` howarth at nitro dot med.uc.edu
2011-01-12 3:29 ` mikestump at comcast dot net
` (4 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-11 21:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #22 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-11 19:32:25 UTC ---
Created attachment 22949
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22949
proposed patch
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug target/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (21 preceding siblings ...)
2011-01-11 21:20 ` [Bug target/46037] " howarth at nitro dot med.uc.edu
@ 2011-01-12 3:29 ` mikestump at comcast dot net
2011-01-12 5:03 ` howarth at nitro dot med.uc.edu
` (3 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: mikestump at comcast dot net @ 2011-01-12 3:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #23 from Mike Stump <mikestump at comcast dot net> 2011-01-12 00:46:43 UTC ---
Ok.
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug target/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (22 preceding siblings ...)
2011-01-12 3:29 ` mikestump at comcast dot net
@ 2011-01-12 5:03 ` howarth at nitro dot med.uc.edu
2011-01-12 15:02 ` howarth at nitro dot med.uc.edu
` (2 subsequent siblings)
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-12 5:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
Jack Howarth <howarth at nitro dot med.uc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #22949|0 |1
is obsolete| |
--- Comment #24 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-12 03:28:39 UTC ---
Created attachment 22950
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22950
revised patch
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug target/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (23 preceding siblings ...)
2011-01-12 5:03 ` howarth at nitro dot med.uc.edu
@ 2011-01-12 15:02 ` howarth at nitro dot med.uc.edu
2011-01-14 15:44 ` rguenth at gcc dot gnu.org
2011-01-14 16:36 ` howarth at nitro dot med.uc.edu
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-12 15:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #25 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-12 15:00:11 UTC ---
Testresults for lto-bootstrap with revised patch on x86_64-apple-darwin10...
http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg01002.html
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug target/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (24 preceding siblings ...)
2011-01-12 15:02 ` howarth at nitro dot med.uc.edu
@ 2011-01-14 15:44 ` rguenth at gcc dot gnu.org
2011-01-14 16:36 ` howarth at nitro dot med.uc.edu
26 siblings, 0 replies; 31+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-14 15:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
--- Comment #26 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-14 15:42:17 UTC ---
Author: rguenth
Date: Fri Jan 14 15:42:09 2011
New Revision: 168793
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168793
Log:
2011-01-14 Jan Hubicka <jh@suse.cz>
Jack Howarth <howarth@bromo.med.uc.edu>
PR target/46037
* config/darwin.c (darwin_override_options): Honor flag_gtoggle
when checking debug_info_level. Test write_symbols instead of
debug_hooks->var_location when setting flag_var_tracking_uninit.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/darwin.c
^ permalink raw reply [flat|nested] 31+ messages in thread
* [Bug target/46037] --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin
2010-10-15 14:36 [Bug bootstrap/46037] New: --enable-stage1-languages=c,lto --enable-languages=c,lto --with-build-config=bootstrap-lto fails on darwin howarth at nitro dot med.uc.edu
` (25 preceding siblings ...)
2011-01-14 15:44 ` rguenth at gcc dot gnu.org
@ 2011-01-14 16:36 ` howarth at nitro dot med.uc.edu
26 siblings, 0 replies; 31+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-01-14 16:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46037
Jack Howarth <howarth at nitro dot med.uc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #27 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-01-14 16:14:44 UTC ---
Fixed at r168793.
^ permalink raw reply [flat|nested] 31+ messages in thread