public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
@ 2004-09-29 18:46 berndtrog at yahoo dot com
  2004-09-29 22:38 ` [Bug target/17735] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: berndtrog at yahoo dot com @ 2004-09-29 18:46 UTC (permalink / raw)
  To: gcc-bugs

$ /src/gcc/configure --target=avr --enable-languages=c --disable-nls
--with-as=/usr/local/bin/avr-as --with-ld=/usr/local/bin/avr-ld 
[..]
$ make
[..]
/src/obj/gcc/xgcc -B/src/obj/gcc/ -B/usr/local/avr/bin/ -B/usr/local/avr/lib/
-isystem /usr/local/avr/include -isystem /usr/local/avr/sys-include -O2 
-DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF
-Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I -I/src/gcc/gcc -I/src/gcc/gcc/ -I/src/gcc/gcc/../include
-I/src/gcc/gcc/../libcpp/include  -DL__main -c /src/gcc/gcc/libgcc2.c -o
libgcc/./__main.o
/src/gcc/gcc/libgcc2.c: In function '__do_global_dtors':
/src/gcc/gcc/libgcc2.c:1576: error: initializer for integer value is too complicated
make[2]: *** [libgcc/./__main.o] Error 1
make[2]: Leaving directory `/src/obj/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/src/obj/gcc'
make: *** [all-gcc] Error 2

-- 
           Summary: [4.0 Regression] make stops with "initializer for
                    integer value is too complicated" while building an avr-
                    cross compiler
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: berndtrog at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
@ 2004-09-29 22:38 ` pinskia at gcc dot gnu dot org
  2004-09-29 23:58 ` bangerth at dealii dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-29 22:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-29 22:38 -------
Could attach the preprocessed source?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build, rejects-valid
   Target Milestone|---                         |4.0.0


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
  2004-09-29 22:38 ` [Bug target/17735] " pinskia at gcc dot gnu dot org
@ 2004-09-29 23:58 ` bangerth at dealii dot org
  2004-09-30 17:53 ` berndtrog at yahoo dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2004-09-29 23:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-09-29 23:58 -------
Can you also state the version number of libgcc2.c? I'd like to look 
at the actual line, the error message strikes me as rather badly 
worded... 
 
W. 

-- 


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
  2004-09-29 22:38 ` [Bug target/17735] " pinskia at gcc dot gnu dot org
  2004-09-29 23:58 ` bangerth at dealii dot org
@ 2004-09-30 17:53 ` berndtrog at yahoo dot com
  2004-09-30 18:00 ` berndtrog at yahoo dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: berndtrog at yahoo dot com @ 2004-09-30 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From berndtrog at yahoo dot com  2004-09-30 17:53 -------
Created an attachment (id=7247)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7247&action=view)
libgcc2.i


-- 


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (2 preceding siblings ...)
  2004-09-30 17:53 ` berndtrog at yahoo dot com
@ 2004-09-30 18:00 ` berndtrog at yahoo dot com
  2004-09-30 18:50 ` bangerth at dealii dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: berndtrog at yahoo dot com @ 2004-09-30 18:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From berndtrog at yahoo dot com  2004-09-30 18:00 -------
> Can you also state the version number of libgcc2.c?

Its the version from gcc-HEAD (gcc version 4.0.0 20040928)
The error-text seems to come from varasm.c :-/

-- 


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (3 preceding siblings ...)
  2004-09-30 18:00 ` berndtrog at yahoo dot com
@ 2004-09-30 18:50 ` bangerth at dealii dot org
  2004-09-30 18:55 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2004-09-30 18:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-09-30 18:50 -------
I can't reproduce this error message on x86 linux with your .i file 
and a CVS snapshot of an hour ago :-( 
 
W. 

-- 


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (4 preceding siblings ...)
  2004-09-30 18:50 ` bangerth at dealii dot org
@ 2004-09-30 18:55 ` pinskia at gcc dot gnu dot org
  2004-11-17  0:54 ` bernie at develer dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-30 18:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-30 18:54 -------
Confirmed:

The problem comes from:
2011      /* Avoid GAS bugs for values > word size.  */
2012      if (size > UNITS_PER_WORD)
2013        return false;

Caused by:
2004-09-21  Paul Brook  <paul@codesourcery.com>
        
        * varasm.c (default_assemble_integer): Return false for values wider
        than the target word size.  Works around GAS bug.


Reduced testcase:
typedef void (*func_ptr) (void);
extern func_ptr __DTOR_LIST__[];
func_ptr *p = __DTOR_LIST__ + 1;

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pbrook at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-30 18:55:05
               date|                            |


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (5 preceding siblings ...)
  2004-09-30 18:55 ` pinskia at gcc dot gnu dot org
@ 2004-11-17  0:54 ` bernie at develer dot com
  2004-11-18  0:22 ` pbrook at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bernie at develer dot com @ 2004-11-17  0:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bernie at develer dot com  2004-11-17 00:54 -------
Still present on mainline.  Prevents bootstrap on avr. 
 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernie at develer dot com
   Last reconfirmed|2004-09-30 18:55:05         |2004-11-17 00:54:25
               date|                            |


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (6 preceding siblings ...)
  2004-11-17  0:54 ` bernie at develer dot com
@ 2004-11-18  0:22 ` pbrook at gcc dot gnu dot org
  2004-11-18 18:41 ` bernie at develer dot com
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-11-18  0:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-11-18 00:21 -------
Patch Here. 
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01437.html 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (7 preceding siblings ...)
  2004-11-18  0:22 ` pbrook at gcc dot gnu dot org
@ 2004-11-18 18:41 ` bernie at develer dot com
  2004-11-19 13:13 ` cvs-commit at gcc dot gnu dot org
  2004-11-19 13:14 ` pbrook at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: bernie at develer dot com @ 2004-11-18 18:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bernie at develer dot com  2004-11-18 18:41 -------
Works for me, thanks!
Patch still waiting for review in gcc-patches.


-- 


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (8 preceding siblings ...)
  2004-11-18 18:41 ` bernie at develer dot com
@ 2004-11-19 13:13 ` cvs-commit at gcc dot gnu dot org
  2004-11-19 13:14 ` pbrook at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-19 13:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-19 13:12 -------
Subject: Bug 17735

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pbrook@gcc.gnu.org	2004-11-19 13:12:45

Modified files:
	gcc            : ChangeLog varasm.c 

Log message:
	PR target/17735
	* varasm.c (default_assemble_integer): Allow pointer-sized values.
	Expand comment.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6413&r2=2.6414
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/varasm.c.diff?cvsroot=gcc&r1=1.460&r2=1.461



-- 


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


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

* [Bug target/17735] [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler
  2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
                   ` (9 preceding siblings ...)
  2004-11-19 13:13 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-19 13:14 ` pbrook at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-11-19 13:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pbrook at gcc dot gnu dot org  2004-11-19 13:13 -------
Fixed. 

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


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


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

end of thread, other threads:[~2004-11-19 13:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-29 18:46 [Bug target/17735] New: [4.0 Regression] make stops with "initializer for integer value is too complicated" while building an avr-cross compiler berndtrog at yahoo dot com
2004-09-29 22:38 ` [Bug target/17735] " pinskia at gcc dot gnu dot org
2004-09-29 23:58 ` bangerth at dealii dot org
2004-09-30 17:53 ` berndtrog at yahoo dot com
2004-09-30 18:00 ` berndtrog at yahoo dot com
2004-09-30 18:50 ` bangerth at dealii dot org
2004-09-30 18:55 ` pinskia at gcc dot gnu dot org
2004-11-17  0:54 ` bernie at develer dot com
2004-11-18  0:22 ` pbrook at gcc dot gnu dot org
2004-11-18 18:41 ` bernie at develer dot com
2004-11-19 13:13 ` cvs-commit at gcc dot gnu dot org
2004-11-19 13:14 ` pbrook at gcc dot gnu dot 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).