public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19500] New: compillation fail in intl with "error: can't find a register in class `GENERAL_REGS' while reloading `asm'"
@ 2005-01-18  9:24 kloczek at pld dot org dot pl
  2005-01-18 11:39 ` [Bug c/19500] " steven at gcc dot gnu dot org
  2005-04-21  1:01 ` [Bug target/19500] " pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: kloczek at pld dot org dot pl @ 2005-01-18  9:24 UTC (permalink / raw)
  To: gcc-bugs

I can't compile glibc from glibc-2_3-branch. It fails on:

i386-pld-linux-gcc loadmsgcat.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -march=i386 -mpreferred-stack-boundary=2 
-fPIC -
g0 -fomit-frame-pointer -D__USE_STRING_INLINES    -I../include -I.
-I/home/users/builder/rpm/BUILD/glibc-2.3.4/builddir/intl -I.. -I../libio  -I/home/
users/builder/rpm/BUILD/glibc-2.3.4/builddir -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/
linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysd
eps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/
unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/fpu -I../sy
sdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
-I../sys
deps/generic/elf -I../sysdeps/generic  -D_LIBC_REENTRANT -include
../include/libc-symbols.h  -DPIC -DSHARED     -D'LOCALEDIR="/usr/share/locale"' -D'L
OCALE_ALIAS_PATH="/usr/share/locale"' -o
/home/users/builder/rpm/BUILD/glibc-2.3.4/builddir/intl/loadmsgcat.os -MD -MP
-MF /home/users/builder/rpm/BUI
LD/glibc-2.3.4/builddir/intl/loadmsgcat.os.dt -MT
/home/users/builder/rpm/BUILD/glibc-2.3.4/builddir/intl/loadmsgcat.os
loadmsgcat.c: In function `_nl_init_domain_conv':
../sysdeps/i386/bits/string.h:655: error: can't find a register in class
`GENERAL_REGS' while reloading `asm'
make[2]: ***
[/home/users/builder/rpm/BUILD/glibc-2.3.4/builddir/intl/loadmsgcat.os] Error 1
make[2]: Leaving directory `/home/users/builder/rpm/BUILD/glibc-2.3.4/intl'

The same source builded in the same enviroment but optimized for i686, i586,
athlon and sparc compiles correctly.

Full build log avalaible on:
http://buildlogs.pld.org.pl/index.php?idx=1&ok=0&ns=0&cnt=16&off=0&id=c1736055cea944fc96160cd807d0b762&action=text

Build enviroment contain gcc 3.4.3 and binutils 2.15.94.0.2.

-- 
           Summary: compillation fail in intl with "error: can't find a
                    register in class `GENERAL_REGS' while reloading `asm'"
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kloczek at pld dot org dot pl
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/19500] compillation fail in intl with "error: can't find a register in class `GENERAL_REGS' while reloading `asm'"
  2005-01-18  9:24 [Bug c/19500] New: compillation fail in intl with "error: can't find a register in class `GENERAL_REGS' while reloading `asm'" kloczek at pld dot org dot pl
@ 2005-01-18 11:39 ` steven at gcc dot gnu dot org
  2005-04-21  1:01 ` [Bug target/19500] " pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2005-01-18 11:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2005-01-18 11:39 -------
Build logs are not very useful.  Please try to extract a self-contained
test case and attach it to this problem report.

Probably this is not easily fixable in GCC.  A reload failure in an asm
means you're just out of registers, and usually the problem is not with
gcc but with the asm constraining the compiler too much.  But maybe the
problem can be resolved, who knows.

Without a test case, we cannot help you ;-)

It would also be helpful if you could tell us if earlier GCC versions
did not cause this problem for you.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug target/19500] compillation fail in intl with "error: can't find a register in class `GENERAL_REGS' while reloading `asm'"
  2005-01-18  9:24 [Bug c/19500] New: compillation fail in intl with "error: can't find a register in class `GENERAL_REGS' while reloading `asm'" kloczek at pld dot org dot pl
  2005-01-18 11:39 ` [Bug c/19500] " steven at gcc dot gnu dot org
@ 2005-04-21  1:01 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-21  1:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-21 01:01 -------
No feedback in 3 months.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2005-04-21  1:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18  9:24 [Bug c/19500] New: compillation fail in intl with "error: can't find a register in class `GENERAL_REGS' while reloading `asm'" kloczek at pld dot org dot pl
2005-01-18 11:39 ` [Bug c/19500] " steven at gcc dot gnu dot org
2005-04-21  1:01 ` [Bug target/19500] " pinskia 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).