public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/42400]  New: objc build fails
@ 2009-12-17 10:13 developer at sandoe-acoustics dot co dot uk
  2009-12-17 11:16 ` [Bug bootstrap/42400] " paolo dot carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: developer at sandoe-acoustics dot co dot uk @ 2009-12-17 10:13 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1906 bytes --]

most likely the changes of 155302 are the cause.

../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘objc_substitute_decl’:
../../gcc-4-5-libwork/gcc/objc/objc-act.c:3118:14: error: incompatible type for
argument 3 of ‘build_indirect_ref’
../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
argument is of type ‘const char *’
../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’:
../../gcc-4-5-libwork/gcc/objc/objc-act.c:6826:14: error: incompatible type for
argument 3 of ‘build_indirect_ref’
../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
argument is of type ‘const char *’
../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘get_super_receiver’:
../../gcc-4-5-libwork/gcc/objc/objc-act.c:8844:10: error: incompatible type for
argument 3 of ‘build_indirect_ref’
../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
argument is of type ‘const char *’
cc1: warnings being treated as errors
../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’:
../../gcc-4-5-libwork/gcc/objc/objc-act.c:6827:1: error: control reaches end of
non-void function
make[3]: *** [objcp/objcp-act.o] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2


-- 
           Summary: objc build fails
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: developer at sandoe-acoustics dot co dot uk
 GCC build triplet: i686-pc-linux-gnu, i686-apple-darwin
  GCC host triplet: i686-pc-linux-gnu, i686-apple-darwin
GCC target triplet: i686-pc-linux-gnu, i686-apple-darwin


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


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

* [Bug bootstrap/42400] objc build fails
  2009-12-17 10:13 [Bug bootstrap/42400] New: objc build fails developer at sandoe-acoustics dot co dot uk
@ 2009-12-17 11:16 ` paolo dot carlini at oracle dot com
  2009-12-17 11:22 ` rainer at emrich-ebersheim dot de
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-17 11:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pzhao at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-17 11:15:51
               date|                            |


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


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

* [Bug bootstrap/42400] objc build fails
  2009-12-17 10:13 [Bug bootstrap/42400] New: objc build fails developer at sandoe-acoustics dot co dot uk
  2009-12-17 11:16 ` [Bug bootstrap/42400] " paolo dot carlini at oracle dot com
@ 2009-12-17 11:22 ` rainer at emrich-ebersheim dot de
  2009-12-17 11:30 ` developer at sandoe-acoustics dot co dot uk
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rainer at emrich-ebersheim dot de @ 2009-12-17 11:22 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2025 bytes --]



------- Comment #1 from rainer at emrich-ebersheim dot de  2009-12-17 11:21 -------
(In reply to comment #0)
> most likely the changes of 155302 are the cause.
> 
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘objc_substitute_decl’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:3118:14: error: incompatible type for
> argument 3 of ‘build_indirect_ref’
> ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
> argument is of type ‘const char *’
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6826:14: error: incompatible type for
> argument 3 of ‘build_indirect_ref’
> ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
> argument is of type ‘const char *’
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘get_super_receiver’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:8844:10: error: incompatible type for
> argument 3 of ‘build_indirect_ref’
> ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but
> argument is of type ‘const char *’
> cc1: warnings being treated as errors
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’:
> ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6827:1: error: control reaches end of
> non-void function
> make[3]: *** [objcp/objcp-act.o] Error 1
> make[2]: *** [all-stage2-gcc] Error 2
> make[1]: *** [stage2-bubble] Error 2
> make: *** [bootstrap] Error 2
> 

Confirmed for x86_64-unknown-linux-gnu.

It's caused by r155302 see http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00446.html
and PR40885.


-- 

rainer at emrich-ebersheim dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rainer at emrich-ebersheim
                   |                            |dot de


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


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

* [Bug bootstrap/42400] objc build fails
  2009-12-17 10:13 [Bug bootstrap/42400] New: objc build fails developer at sandoe-acoustics dot co dot uk
  2009-12-17 11:16 ` [Bug bootstrap/42400] " paolo dot carlini at oracle dot com
  2009-12-17 11:22 ` rainer at emrich-ebersheim dot de
@ 2009-12-17 11:30 ` developer at sandoe-acoustics dot co dot uk
  2009-12-17 12:00 ` paolo dot carlini at oracle dot com
  2009-12-17 12:33 ` linuxl4 at sohu dot com
  4 siblings, 0 replies; 6+ messages in thread
From: developer at sandoe-acoustics dot co dot uk @ 2009-12-17 11:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from developer at sandoe-acoustics dot co dot uk  2009-12-17 11:30 -------
Created an attachment (id=19337)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19337&action=view)
apply the new ref_operator to objc-act.c

this is a mechanical change to the file, bootstrapped and checked on
i686-apple-darwin9


-- 


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


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

* [Bug bootstrap/42400] objc build fails
  2009-12-17 10:13 [Bug bootstrap/42400] New: objc build fails developer at sandoe-acoustics dot co dot uk
                   ` (2 preceding siblings ...)
  2009-12-17 11:30 ` developer at sandoe-acoustics dot co dot uk
@ 2009-12-17 12:00 ` paolo dot carlini at oracle dot com
  2009-12-17 12:33 ` linuxl4 at sohu dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-17 12:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo dot carlini at oracle dot com  2009-12-17 12:00 -------
Fixed with:

  http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00455.html


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug bootstrap/42400] objc build fails
  2009-12-17 10:13 [Bug bootstrap/42400] New: objc build fails developer at sandoe-acoustics dot co dot uk
                   ` (3 preceding siblings ...)
  2009-12-17 12:00 ` paolo dot carlini at oracle dot com
@ 2009-12-17 12:33 ` linuxl4 at sohu dot com
  4 siblings, 0 replies; 6+ messages in thread
From: linuxl4 at sohu dot com @ 2009-12-17 12:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from linuxl4 at sohu dot com  2009-12-17 12:32 -------
confirmed! Today my gcc 4.5 bootstrap also failed :(


-- 


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


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

end of thread, other threads:[~2009-12-17 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-17 10:13 [Bug bootstrap/42400] New: objc build fails developer at sandoe-acoustics dot co dot uk
2009-12-17 11:16 ` [Bug bootstrap/42400] " paolo dot carlini at oracle dot com
2009-12-17 11:22 ` rainer at emrich-ebersheim dot de
2009-12-17 11:30 ` developer at sandoe-acoustics dot co dot uk
2009-12-17 12:00 ` paolo dot carlini at oracle dot com
2009-12-17 12:33 ` linuxl4 at sohu dot com

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