* [Bug target/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared
2010-01-21 14:18 [Bug target/42827] New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared marekarturpenther at gmail dot com
@ 2010-01-21 14:43 ` rguenth at gcc dot gnu dot org
2010-01-21 15:57 ` marekarturpenther at gmail dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-21 14:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-21 14:42 -------
works for me. Are you building inside the source tree?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|error in building libgcc; |error in building libgcc;
|error: 'BITS_PEP_UNIT' |error: 'BITS_PER_UNIT'
|undeclared |undeclared
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42827
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug target/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared
2010-01-21 14:18 [Bug target/42827] New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared marekarturpenther at gmail dot com
2010-01-21 14:43 ` [Bug target/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared rguenth at gcc dot gnu dot org
@ 2010-01-21 15:57 ` marekarturpenther at gmail dot com
2010-02-07 20:18 ` [Bug bootstrap/42827] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marekarturpenther at gmail dot com @ 2010-01-21 15:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from marekarturpenther at gmail dot com 2010-01-21 15:57 -------
Subject: Re: error in building libgcc; error: 'BITS_PER_UNIT' undeclared
No, I building completely outside of source tree:
/home/data/gcc/source/gcc-4.3.4 - that is source
/home/data/gcc/build/gcc-4.3.4 - that is build
I using compiler flags anywhere I can, but I tryed build this by invoking it
by hand without mine compiler flag - still not working.
On Thursday 21 January 2010 14:42, rguenth at gcc dot gnu dot org wrote:
> ------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-21 14:42
> ------- works for me. Are you building inside the source tree?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42827
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared
2010-01-21 14:18 [Bug target/42827] New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared marekarturpenther at gmail dot com
2010-01-21 14:43 ` [Bug target/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared rguenth at gcc dot gnu dot org
2010-01-21 15:57 ` marekarturpenther at gmail dot com
@ 2010-02-07 20:18 ` pinskia at gcc dot gnu dot org
2010-02-07 22:07 ` marekarturpenther at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-07 20:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2010-02-07 20:18 -------
How did you invoke configure and make? What are your env variables settings
for CFLAGS, STAGE1_CFLAGS and BOOT_CFLAGS?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
Status|UNCONFIRMED |WAITING
Component|target |bootstrap
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42827
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared
2010-01-21 14:18 [Bug target/42827] New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared marekarturpenther at gmail dot com
` (2 preceding siblings ...)
2010-02-07 20:18 ` [Bug bootstrap/42827] " pinskia at gcc dot gnu dot org
@ 2010-02-07 22:07 ` marekarturpenther at gmail dot com
2010-02-07 22:10 ` pinskia at gcc dot gnu dot org
2010-02-08 5:55 ` marekarturpenther at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: marekarturpenther at gmail dot com @ 2010-02-07 22:07 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from marekarturpenther at gmail dot com 2010-02-07 22:07 -------
Subject: Re: error in building libgcc; error: 'BITS_PER_UNIT' undeclared
BOOT_CFLAGS is same as CFLAGS:
-mmmx -m3dnow -msse -march=athlon-xp -mtune=athlon-xp -O2 -pipe -DUSE_X86_ASM
-DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DUSE_3DNOW_PREFETCH
STAGE1_CFLAGS is empty (not set)
anyway I forcing using all setuped flags by invoking make with this flags
before make, because I using chroot environment to build gcc. I started to
use it, when I had problem with java, but I found out it is bug in gcc.
On Sunday 07 February 2010 20:18, pinskia at gcc dot gnu dot org wrote:
> ------- Comment #3 from pinskia at gcc dot gnu dot org 2010-02-07 20:18
> ------- How did you invoke configure and make? What are your env variables
> settings for CFLAGS, STAGE1_CFLAGS and BOOT_CFLAGS?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42827
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared
2010-01-21 14:18 [Bug target/42827] New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared marekarturpenther at gmail dot com
` (3 preceding siblings ...)
2010-02-07 22:07 ` marekarturpenther at gmail dot com
@ 2010-02-07 22:10 ` pinskia at gcc dot gnu dot org
2010-02-08 5:55 ` marekarturpenther at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-07 22:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2010-02-07 22:09 -------
So I think we are miscompiling GCC with BOOT_CFLAGS set. I don't have access
to an x86 machine which could use those CFLAGS so someone else needs to debug
this. Can you try 4.4.3?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42827
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug bootstrap/42827] error in building libgcc; error: 'BITS_PER_UNIT' undeclared
2010-01-21 14:18 [Bug target/42827] New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared marekarturpenther at gmail dot com
` (4 preceding siblings ...)
2010-02-07 22:10 ` pinskia at gcc dot gnu dot org
@ 2010-02-08 5:55 ` marekarturpenther at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: marekarturpenther at gmail dot com @ 2010-02-08 5:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from marekarturpenther at gmail dot com 2010-02-08 05:55 -------
Subject: Re: error in building libgcc; error: 'BITS_PER_UNIT' undeclared
I can't compile it without 4.3.4, becuase depends could not be compiled by
4.2.4.
There is another bug in all versions of gcc:
building libada (if I am not wrong), gnatmake using just gcc, even if other
exec is forced to be used by using $CC (in my case gcc-4.2.4 with flags), and
this effecting in not compatible *.ali files. I will find it and report, but
not now, cause I going to work right now.
On Sunday 07 February 2010 22:09, pinskia at gcc dot gnu dot org wrote:
> ------- Comment #5 from pinskia at gcc dot gnu dot org 2010-02-07 22:09
> ------- So I think we are miscompiling GCC with BOOT_CFLAGS set. I don't
> have access to an x86 machine which could use those CFLAGS so someone else
> needs to debug this. Can you try 4.4.3?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42827
^ permalink raw reply [flat|nested] 7+ messages in thread