public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43287]  New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
@ 2010-03-08 11:06 dominiq at lps dot ens dot fr
  2010-03-08 11:09 ` [Bug bootstrap/43287] " dominiq at lps dot ens dot fr
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-08 11:06 UTC (permalink / raw)
  To: gcc-bugs

At revision 157266 bootstrap fails at stage 1 on powerpc-apple-darwin9:

/opt/gcc/darwin_buildw/./gcc/xgcc -B/opt/gcc/darwin_buildw/./gcc/
-B/opt/gcc/gcc4.5w/powerpc-apple-darwin9/bin/
-B/opt/gcc/gcc4.5w/powerpc-apple-darwin9/lib/ -isystem
/opt/gcc/gcc4.5w/powerpc-apple-darwin9/include -isystem
/opt/gcc/gcc4.5w/powerpc-apple-darwin9/sys-include    -g -O2 -m64 -O2  -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include 
-Wa,-force_cpusubtype_ALL -pipe -mmacosx-version-min=10.4 -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I.
-I../../.././gcc -I../../../../gcc-4.5-work/libgcc
-I../../../../gcc-4.5-work/libgcc/. -I../../../../gcc-4.5-work/libgcc/../gcc
-I../../../../gcc-4.5-work/libgcc/../include  -DHAVE_CC_TLS -o _floatdisf.o -MT
_floatdisf.o -MD -MP -MF _floatdisf.dep -DL_floatdisf -c
../../../../gcc-4.5-work/libgcc/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
../../../../gcc-4.5-work/libgcc/../gcc/libgcc2.c:1526:1: internal compiler
error: Bus error

(see http://gcc.gnu.org/ml/gcc-regression/2010-03/msg00024.html).

Note that I get the bus error with '-O2 -m64', but not with '-O2' nor with
'-m64 -O1'.
I'll attach libgcc2.i.


-- 
           Summary: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-
                    apple-darwin9
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: powerpc-apple-darwin9
  GCC host triplet: powerpc-apple-darwin9
GCC target triplet: powerpc-apple-darwin9


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
@ 2010-03-08 11:09 ` dominiq at lps dot ens dot fr
  2010-03-08 11:14 ` jakub at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-08 11:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from dominiq at lps dot ens dot fr  2010-03-08 11:08 -------
Created an attachment (id=20042)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20042&action=view)
file libgcc2.i


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
  2010-03-08 11:09 ` [Bug bootstrap/43287] " dominiq at lps dot ens dot fr
@ 2010-03-08 11:14 ` jakub at gcc dot gnu dot org
  2010-03-08 11:17 ` dominiq at lps dot ens dot fr
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-08 11:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2010-03-08 11:13 -------
Can you provide backtrace where it SIGBUSes?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
  2010-03-08 11:09 ` [Bug bootstrap/43287] " dominiq at lps dot ens dot fr
  2010-03-08 11:14 ` jakub at gcc dot gnu dot org
@ 2010-03-08 11:17 ` dominiq at lps dot ens dot fr
  2010-03-08 11:50 ` jakub at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-08 11:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from dominiq at lps dot ens dot fr  2010-03-08 11:17 -------
> Can you provide backtrace where it SIGBUSes?

I tried with a breakpoint in gdb for fancy_abort, but only got

../../../../gcc-4.5-work/libgcc/../gcc/libgcc2.c:1526:1: internal compiler
error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Program exited with code 01.
(gdb) bt
No stack.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (2 preceding siblings ...)
  2010-03-08 11:17 ` dominiq at lps dot ens dot fr
@ 2010-03-08 11:50 ` jakub at gcc dot gnu dot org
  2010-03-08 12:45 ` dominiq at lps dot ens dot fr
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-08 11:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2010-03-08 11:50 -------
That seems like you've tried to debug xgcc instead of cc1.  Of course the
backtrace from cc1 is interesting, not from xgcc (which doesn't SIGBUS).
Run xgcc with additional -v option, and copy&paste the cc1 command line it
invokes and run that under gdb.  Or instead of -v use -### and copy&paste the
cc1 command line from there.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (3 preceding siblings ...)
  2010-03-08 11:50 ` jakub at gcc dot gnu dot org
@ 2010-03-08 12:45 ` dominiq at lps dot ens dot fr
  2010-03-08 14:08 ` howarth at nitro dot med dot uc dot edu
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-08 12:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from dominiq at lps dot ens dot fr  2010-03-08 12:45 -------
(gdb) run  -fpreprocessed libgcc2.i -feliminate-unused-debug-symbols -fPIC
-quiet -dumpbase libgcc2.c -m64 -mmacosx-version-min=10.4 -auxbase-strip
_floatdisf.o -g -O2 -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -version -fvisibility=hidden -o
libgcc2.s

[...]

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00c4e12c in decl_assembler_name (decl=0x0) at
../../gcc-4.5-work/gcc/tree.c:567
567       if (!DECL_ASSEMBLER_NAME_SET_P (decl))
(gdb) bt
#0  0x00c4e12c in decl_assembler_name (decl=0x0) at
../../gcc-4.5-work/gcc/tree.c:567
#1  0x00d2ff60 in machopic_output_function_base_name (file=0xa03fd4c8) at
../../gcc-4.5-work/gcc/config/darwin.c:303
#2  0x00d1282c in rs6000_output_addr_const_extra (file=0xa03fd4c8, x=0x128fdec)
at ../../gcc-4.5-work/gcc/config/rs6000/rs6000.c:15087
#3  0x005316ec in output_addr_const (file=0xa03fd4c8, x=0x128fdec) at
../../gcc-4.5-work/gcc/final.c:3636
#4  0x0053136c in output_addr_const (file=0xa03fd4c8, x=0x1290008) at
../../gcc-4.5-work/gcc/final.c:3559
#5  0x004642c4 in dw2_assemble_integer (size=8, x=0x1290008) at
../../gcc-4.5-work/gcc/dwarf2asm.c:59
#6  0x00464958 in dw2_asm_output_addr_rtx (size=8, addr=0x1290008, comment=0x0)
at ../../gcc-4.5-work/gcc/dwarf2asm.c:253
#7  0x00473f1c in output_loc_operands (loc=0x129230c) at
../../gcc-4.5-work/gcc/dwarf2out.c:5035
#8  0x00473fa4 in output_loc_sequence (loc=0x129230c) at
../../gcc-4.5-work/gcc/dwarf2out.c:5060
#9  0x0047fc34 in output_loc_list (list_head=0x1280bb8) at
../../gcc-4.5-work/gcc/dwarf2out.c:10380
#10 0x0047e100 in output_location_lists (die=0x1283300) at
../../gcc-4.5-work/gcc/dwarf2out.c:9799
#11 0x0047e180 in output_location_lists (die=0x12831e0) at
../../gcc-4.5-work/gcc/dwarf2out.c:9801
#12 0x0047e180 in output_location_lists (die=0x41ea0cf0) at
../../gcc-4.5-work/gcc/dwarf2out.c:9801
#13 0x004ab348 in dwarf2out_finish (filename=0x41d09320
"../../../../gcc-4.5-work/libgcc/../gcc/libgcc2.c") at
../../gcc-4.5-work/gcc/dwarf2out.c:21404
#14 0x00987a10 in compile_file () at ../../gcc-4.5-work/gcc/toplev.c:1095
#15 0x0098b01c in do_compile () at ../../gcc-4.5-work/gcc/toplev.c:2409
#16 0x0098b140 in toplev_main (argc=25, argv=0xbfffd5e8) at
../../gcc-4.5-work/gcc/toplev.c:2451
#17 0x00122f80 in main (argc=25, argv=0xbfffd5e8) at
../../gcc-4.5-work/gcc/main.c:35


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (4 preceding siblings ...)
  2010-03-08 12:45 ` dominiq at lps dot ens dot fr
@ 2010-03-08 14:08 ` howarth at nitro dot med dot uc dot edu
  2010-03-08 17:50 ` howarth at nitro dot med dot uc dot edu
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-08 14:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from howarth at nitro dot med dot uc dot edu  2010-03-08 14:08 -------
i686-apple-darwin10 built fine at 157264 and 157265/156266 are commits to the
melt-branch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (5 preceding siblings ...)
  2010-03-08 14:08 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-08 17:50 ` howarth at nitro dot med dot uc dot edu
  2010-03-08 17:54 ` howarth at nitro dot med dot uc dot edu
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-08 17:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from howarth at nitro dot med dot uc dot edu  2010-03-08 17:50 -------
regress is failing from this...

http://gcc.gnu.org/regtest/HEAD/native-lastbuild.txt.gzip


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (6 preceding siblings ...)
  2010-03-08 17:50 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-08 17:54 ` howarth at nitro dot med dot uc dot edu
  2010-03-08 18:11 ` jakub at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-08 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from howarth at nitro dot med dot uc dot edu  2010-03-08 17:54 -------
The last good build for powerpc-apple-darwin9 on regress was at r157263 so...

r157264

must be the offending commit. Is powerpc64-unknown-linux-gnu still
bootstrapping?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (7 preceding siblings ...)
  2010-03-08 17:54 ` howarth at nitro dot med dot uc dot edu
@ 2010-03-08 18:11 ` jakub at gcc dot gnu dot org
  2010-03-08 19:09 ` jakub at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-08 18:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jakub at gcc dot gnu dot org  2010-03-08 18:11 -------
x is:
(unspec:DI [
        (symbol_ref/u:DI ("*LC0") [flags 0x2])
    ] 50)

Guess rs6000_delegitimize_address needs to handle UNSPEC_MACHOPIC_OFFSET.
ix86_delegitimize_address handles it, so assuming it means the same on ppc too,
you should just add similar support for it for TARGET_MACHO.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (8 preceding siblings ...)
  2010-03-08 18:11 ` jakub at gcc dot gnu dot org
@ 2010-03-08 19:09 ` jakub at gcc dot gnu dot org
  2010-03-08 20:06 ` dominiq at lps dot ens dot fr
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-08 19:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from jakub at gcc dot gnu dot org  2010-03-08 19:08 -------
Created an attachment (id=20045)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20045&action=view)
gcc45-pr43287.patch

Possible fix.  Needs testing on darwin as well as verification that there
really isn't any indirection etc. missed (i.e. that (lo_sum ((reg X),
(symbol_ref "foo"))) is always equivalent to (symbol_ref "foo").


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (9 preceding siblings ...)
  2010-03-08 19:09 ` jakub at gcc dot gnu dot org
@ 2010-03-08 20:06 ` dominiq at lps dot ens dot fr
  2010-03-09  8:09 ` dominiq at lps dot ens dot fr
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-08 20:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from dominiq at lps dot ens dot fr  2010-03-08 20:06 -------
With the patch in comment #10 I am now at stage 2. So far so good! Thanks for
the patch.

Why is rs6000_delegitimize_address much simpler (even with the patch) than
ix86_delegitimize_address?


-- 

dominiq at lps dot ens dot fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikestump at comcast dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (10 preceding siblings ...)
  2010-03-08 20:06 ` dominiq at lps dot ens dot fr
@ 2010-03-09  8:09 ` dominiq at lps dot ens dot fr
  2010-03-09  8:52 ` dominiq at lps dot ens dot fr
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-09  8:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from dominiq at lps dot ens dot fr  2010-03-09 08:08 -------
Bootstrapping all languages minus ADA with the patch in comment #10 succeeded
at revision 157293.

> Needs testing on darwin as well as verification that there
> really isn't any indirection etc. missed (i.e. that (lo_sum ((reg X),
> (symbol_ref "foo"))) is always equivalent to (symbol_ref "foo").

I'll try to some testing in the coming nights, but I am leaving the
"verification ..." to those who really know the details about Darwin.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (11 preceding siblings ...)
  2010-03-09  8:09 ` dominiq at lps dot ens dot fr
@ 2010-03-09  8:52 ` dominiq at lps dot ens dot fr
  2010-03-09  8:54 ` developer at sandoe-acoustics dot co dot uk
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-09  8:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from dominiq at lps dot ens dot fr  2010-03-09 08:49 -------
AFAICT the patch in comment #10 affects only powerpc-apple-darwin*. Could it be
committed now in order to allow the automatic tester 'regress' to start again?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (12 preceding siblings ...)
  2010-03-09  8:52 ` dominiq at lps dot ens dot fr
@ 2010-03-09  8:54 ` developer at sandoe-acoustics dot co dot uk
  2010-03-09  9:15 ` dominiq at lps dot ens dot fr
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: developer at sandoe-acoustics dot co dot uk @ 2010-03-09  8:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from developer at sandoe-acoustics dot co dot uk  2010-03-09 08:54 -------
(In reply to comment #12)
> Bootstrapping all languages minus ADA with the patch in comment #10 succeeded
> at revision 157293.

at 157294 (minus ada and java) with the patch.
I see the following new 4.5 regressions (possibly unrelated)

FAIL: gcc.dg/vmx/7-01.c  -O3 -g  (internal compiler error)
FAIL: gcc.dg/vmx/7-01.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/vmx/7-01a.c  -O3 -g  (internal compiler error)
FAIL: gcc.dg/vmx/7-01a.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/vmx/fft.c  -O3 -g  (internal compiler error)
FAIL: gcc.dg/vmx/fft.c  -O3 -g  (test for excess errors)

> > Needs testing on darwin as well as verification that there
> > really isn't any indirection etc. missed (i.e. that (lo_sum ((reg X),
> > (symbol_ref "foo"))) is always equivalent to (symbol_ref "foo").
> 
> I'll try to some testing in the coming nights, but I am leaving the
> "verification ..." to those who really know the details about Darwin.

ditto [157304 is building at present] - but, to be sure, this needs someone
familiar with the nitty gritty of macho.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (13 preceding siblings ...)
  2010-03-09  8:54 ` developer at sandoe-acoustics dot co dot uk
@ 2010-03-09  9:15 ` dominiq at lps dot ens dot fr
  2010-03-09 10:01 ` dominiq at lps dot ens dot fr
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-09  9:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from dominiq at lps dot ens dot fr  2010-03-09 09:14 -------
> at 157294 (minus ada and java) with the patch.
> I see the following new 4.5 regressions (possibly unrelated)
>
> FAIL: gcc.dg/vmx/7-01.c  -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/7-01.c  -O3 -g  (test for excess errors)
> FAIL: gcc.dg/vmx/7-01a.c  -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/7-01a.c  -O3 -g  (test for excess errors)
> FAIL: gcc.dg/vmx/fft.c  -O3 -g  (internal compiler error)
> FAIL: gcc.dg/vmx/fft.c  -O3 -g  (test for excess errors)

Minimal options '-O1 -g' for 7-01.c and fft.c, and '-O2 -g' for 7-01a.c giving

[karma] f90/bug% gcc45 -O1 -g
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/7-01.c
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/7-01.c: In function 'haar':
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/7-01.c:36:1: internal compiler
error: in simplify_binary_operation_1, at simplify-rtx.c:2958
[karma] f90/bug% gcc45 -O1 -g
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/fft.c
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/fft.c: In function 'transpose4x4':
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/fft.c:18:1: internal compiler
error: in simplify_binary_operation_1, at simplify-rtx.c:2958


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (14 preceding siblings ...)
  2010-03-09  9:15 ` dominiq at lps dot ens dot fr
@ 2010-03-09 10:01 ` dominiq at lps dot ens dot fr
  2010-03-09 12:22 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-03-09 10:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from dominiq at lps dot ens dot fr  2010-03-09 10:01 -------
Backtrace of run -maltivec -O1 -g
/opt/gcc/_gcc_clean/gcc/testsuite/gcc.dg/vmx/7-01.c:

(gdb) bt
#0  fancy_abort (file=0x81ed14 "../../gcc-4.5-work/gcc/simplify-rtx.c",
line=2958, function=0x9f3c14 "simplify_binary_operation_1") at
../../gcc-4.5-work/gcc/diagnostic.c:763
#1  0x00523314 in simplify_binary_operation (code=<value temporarily
unavailable, due to optimizations>, mode=V8HImode, op0=0x4160a178,
op1=0x416bc828) at ../../gcc-4.5-work/gcc/simplify-rtx.c:2958
#2  0x002378c4 in cselib_expand_value_rtx_1 (orig=<value temporarily
unavailable, due to optimizations>, evd=0xbfffcba8, max_depth=<value
temporarily unavailable, due to optimizations>) at
../../gcc-4.5-work/gcc/cselib.c:1388
#3  0x00237528 in cselib_expand_value_rtx_1 (orig=0x416f5a10, evd=0xbfffcba8,
max_depth=<value temporarily unavailable, due to optimizations>) at
../../gcc-4.5-work/gcc/cselib.c:1286
#4  0x00238220 in cselib_expand_value_rtx_cb (orig=<value temporarily
unavailable, due to optimizations>, regs_active=<value temporarily unavailable,
due to optimizations>, max_depth=<value temporarily unavailable, due to
optimizations>, cb=<value temporarily unavailable, due to optimizations>,
data=<value temporarily unavailable, due to optimizations>) at
../../gcc-4.5-work/gcc/cselib.c:1095
#5  0x007030dc in vt_expand_loc_callback (x=0x416fbccc, regs=0x4181faa4,
max_depth=5, data=0xbfffce78) at ../../gcc-4.5-work/gcc/var-tracking.c:6563
#6  0x00237698 in cselib_expand_value_rtx_1 (orig=0x416fbccc, evd=0xbfffcce8,
max_depth=5) at ../../gcc-4.5-work/gcc/cselib.c:1214
#7  0x00238258 in cselib_dummy_expand_value_rtx_cb (orig=<value temporarily
unavailable, due to optimizations>, regs_active=<value temporarily unavailable,
due to optimizations>, max_depth=<value temporarily unavailable, due to
optimizations>, cb=<value temporarily unavailable, due to optimizations>,
data=<value temporarily unavailable, due to optimizations>) at
../../gcc-4.5-work/gcc/cselib.c:1113
#8  0x007032fc in vt_expand_loc_callback (x=0x4182dc08, regs=0x4181faa4,
max_depth=5, data=0xbfffce78) at ../../gcc-4.5-work/gcc/var-tracking.c:6647
#9  0x002377cc in cselib_expand_value_rtx_1 (orig=0x4182dc08, evd=0xbfffce28,
max_depth=5) at ../../gcc-4.5-work/gcc/cselib.c:1249
#10 0x00238258 in cselib_dummy_expand_value_rtx_cb (orig=<value temporarily
unavailable, due to optimizations>, regs_active=<value temporarily unavailable,
due to optimizations>, max_depth=<value temporarily unavailable, due to
optimizations>, cb=<value temporarily unavailable, due to optimizations>,
data=<value temporarily unavailable, due to optimizations>) at
../../gcc-4.5-work/gcc/cselib.c:1113
#11 0x006f9f1c in vt_expand_loc_dummy (loc=<value temporarily unavailable, due
to optimizations>, vars=<value temporarily unavailable, due to optimizations>,
pcur_loc_changed=0xbfffced8 "") at ../../gcc-4.5-work/gcc/var-tracking.c:6718
#12 0x006fa700 in check_changed_vars_3 (slot=<value temporarily unavailable,
due to optimizations>, data=0x41513df0) at
../../gcc-4.5-work/gcc/var-tracking.c:7070
#13 0x007c9cac in htab_traverse_noresize (htab=<value temporarily unavailable,
due to optimizations>, callback=<value temporarily unavailable, due to
optimizations>, info=0x41513df0) at ../../gcc-4.5-work/libiberty/hashtab.c:753
#14 0x00700064 in emit_notes_for_changes (insn=0x416f7264,
where=EMIT_NOTE_AFTER_INSN) at ../../gcc-4.5-work/gcc/var-tracking.c:7107
#15 0x007064d8 in vt_emit_notes () at
../../gcc-4.5-work/gcc/var-tracking.c:7507
#16 0x007095cc in variable_tracking_main () at
../../gcc-4.5-work/gcc/var-tracking.c:8126
#17 0x0047edf0 in execute_one_pass (pass=0xa8a358) at
../../gcc-4.5-work/gcc/passes.c:1567
#18 0x0047f124 in execute_pass_list (pass=0xa8a358) at
../../gcc-4.5-work/gcc/passes.c:1622
#19 execute_pass_list (pass=0xa76b70) at ../../gcc-4.5-work/gcc/passes.c:1624
#20 execute_pass_list (pass=0xa76b3c) at ../../gcc-4.5-work/gcc/passes.c:1624
#21 0x005ac81c in tree_rest_of_compilation (fndecl=0x416a2c80) at
../../gcc-4.5-work/gcc/tree-optimize.c:413
#22 0x00752054 in cgraph_expand_function (node=0x416bd1a0) at
../../gcc-4.5-work/gcc/cgraphunit.c:1545
#23 0x00754f64 in cgraph_optimize () at
../../gcc-4.5-work/gcc/cgraphunit.c:1624
#24 0x0075537c in cgraph_finalize_compilation_unit () at
../../gcc-4.5-work/gcc/cgraphunit.c:1093
#25 0x000208e4 in c_write_global_declarations () at
../../gcc-4.5-work/gcc/c-decl.c:9510
#26 0x00545328 in toplev_main (argc=5, argv=Cannot access memory at address
0x1c
) at ../../gcc-4.5-work/gcc/toplev.c:1065
#27 0x000027d4 in start ()


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (15 preceding siblings ...)
  2010-03-09 10:01 ` dominiq at lps dot ens dot fr
@ 2010-03-09 12:22 ` jakub at gcc dot gnu dot org
  2010-03-10  7:51 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-09 12:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from jakub at gcc dot gnu dot org  2010-03-09 12:22 -------
The vmx/{fft,7-01{,a}}.c failures are tracked in PR43304.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (16 preceding siblings ...)
  2010-03-09 12:22 ` jakub at gcc dot gnu dot org
@ 2010-03-10  7:51 ` jakub at gcc dot gnu dot org
  2010-03-10 16:34 ` rguenth at gcc dot gnu dot org
  2010-03-10 22:52 ` howarth at nitro dot med dot uc dot edu
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-10  7:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from jakub at gcc dot gnu dot org  2010-03-10 07:51 -------
Subject: Bug 43287

Author: jakub
Date: Wed Mar 10 07:51:17 2010
New Revision: 157334

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157334
Log:
        PR bootstrap/43287
        * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle
        UNSPEC_MACHOPIC_OFFSET.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (17 preceding siblings ...)
  2010-03-10  7:51 ` jakub at gcc dot gnu dot org
@ 2010-03-10 16:34 ` rguenth at gcc dot gnu dot org
  2010-03-10 22:52 ` howarth at nitro dot med dot uc dot edu
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-10 16:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from rguenth at gcc dot gnu dot org  2010-03-10 16:33 -------
Fixed (I assume).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

* [Bug bootstrap/43287] [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9
  2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
                   ` (18 preceding siblings ...)
  2010-03-10 16:34 ` rguenth at gcc dot gnu dot org
@ 2010-03-10 22:52 ` howarth at nitro dot med dot uc dot edu
  19 siblings, 0 replies; 21+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-03-10 22:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from howarth at nitro dot med dot uc dot edu  2010-03-10 22:52 -------
According to...

http://gcc.gnu.org/regtest/HEAD/native-lastbuild.txt.gzip

it is fixed for powerpc-apple-darwin9.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43287


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

end of thread, other threads:[~2010-03-10 22:52 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-08 11:06 [Bug bootstrap/43287] New: [4.5 Regression] Bootstrap fails at stage 1 on powerpc-apple-darwin9 dominiq at lps dot ens dot fr
2010-03-08 11:09 ` [Bug bootstrap/43287] " dominiq at lps dot ens dot fr
2010-03-08 11:14 ` jakub at gcc dot gnu dot org
2010-03-08 11:17 ` dominiq at lps dot ens dot fr
2010-03-08 11:50 ` jakub at gcc dot gnu dot org
2010-03-08 12:45 ` dominiq at lps dot ens dot fr
2010-03-08 14:08 ` howarth at nitro dot med dot uc dot edu
2010-03-08 17:50 ` howarth at nitro dot med dot uc dot edu
2010-03-08 17:54 ` howarth at nitro dot med dot uc dot edu
2010-03-08 18:11 ` jakub at gcc dot gnu dot org
2010-03-08 19:09 ` jakub at gcc dot gnu dot org
2010-03-08 20:06 ` dominiq at lps dot ens dot fr
2010-03-09  8:09 ` dominiq at lps dot ens dot fr
2010-03-09  8:52 ` dominiq at lps dot ens dot fr
2010-03-09  8:54 ` developer at sandoe-acoustics dot co dot uk
2010-03-09  9:15 ` dominiq at lps dot ens dot fr
2010-03-09 10:01 ` dominiq at lps dot ens dot fr
2010-03-09 12:22 ` jakub at gcc dot gnu dot org
2010-03-10  7:51 ` jakub at gcc dot gnu dot org
2010-03-10 16:34 ` rguenth at gcc dot gnu dot org
2010-03-10 22:52 ` howarth at nitro dot med dot uc dot edu

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