public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/42827]  New: error in building libgcc; error: 'BITS_PEP_UNIT' undeclared
@ 2010-01-21 14:18 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
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: marekarturpenther at gmail dot com @ 2010-01-21 14:18 UTC (permalink / raw)
  To: gcc-bugs

make[4]: Opuszczenie katalogu
`/home/data/gcc/build/gcc-4.3.4/i686-linux-gnu/libgcc'
/home/data/gcc/build/gcc-4.3.4/./gcc/xgcc
-B/home/data/gcc/build/gcc-4.3.4/./gcc/ -B/usr/i686-linux-gnu/bin/
-B/usr/i686-linux-gnu/lib/ -isystem /usr/i686-linux-gnu/include -isystem
/usr/i686-linux-gnu/sys-include -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 -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 -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 -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 -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 -g -fkeep-inline-functions -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 -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 -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 -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  -I. -I. -I../.././gcc
-I../../../../sources/gcc-4.3.4/libgcc -I../../../../sources/gcc-4.3.4/libgcc/.
-I../../../../sources/gcc-4.3.4/libgcc/../gcc
-I../../../../sources/gcc-4.3.4/libgcc/../include
-I../../../../sources/gcc-4.3.4/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o
-MD -MP -MF _muldi3.dep -DL_muldi3 -c
../../../../sources/gcc-4.3.4/libgcc/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
../../../../sources/gcc-4.3.4/libgcc/../gcc/libgcc2.c: In function
‘__mulhi3’:
../../../../sources/gcc-4.3.4/libgcc/../gcc/libgcc2.c:560: error:
‘BITS_PER_UNIT’ undeclared (first use in this function)
../../../../sources/gcc-4.3.4/libgcc/../gcc/libgcc2.c:560: error: (Each
undeclared identifier is reported only once
../../../../sources/gcc-4.3.4/libgcc/../gcc/libgcc2.c:560: error: for each
function it appears in.)
make[3]: *** [_muldi3.o] Błąd 1
make[3]: Opuszczenie katalogu
`/home/data/gcc/build/gcc-4.3.4/i686-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Błąd 2
make[2]: Opuszczenie katalogu `/home/data/gcc/build/gcc-4.3.4'
make[1]: *** [stage1-bubble] Błąd 2
make[1]: Opuszczenie katalogu `/home/data/gcc/build/gcc-4.3.4'
make: *** [all] Błąd 2
r


-- 
           Summary: error in building libgcc; error: 'BITS_PEP_UNIT'
                    undeclared
           Product: gcc
           Version: 4.3.4
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marekarturpenther at gmail dot com
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i686-linux-gnu
GCC target triplet: i686-linux-gnu


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 ` 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

end of thread, other threads:[~2010-02-08  5:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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