public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28904]  New: operand out of range on Linux/PowerPC
@ 2006-08-30 15:21 glibersat at linux62 dot org
  2006-08-31  2:41 ` [Bug target/28904] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: glibersat at linux62 dot org @ 2006-08-30 15:21 UTC (permalink / raw)
  To: gcc-bugs

When trying to build CrystalSpace3d, which is a very big application, on
GNU/Linux, I get errors like this :

{standard input}:1236795: Error: operand out of range (0x0000000000008220 is
not between 0xffffffffffff8000 and 0x0000000000007fff)
(repeated about 300 times)

The file, cs_pyth.cpp generates a huge .S (45Mb).

Every error refers to a "lwz" instruction :
        lwz 4,.LC42716-.LCTOC1(30)
        lwz 4,.LC42718-.LCTOC1(30)
        lwz 4,.LC42720-.LCTOC1(30)
        lwz 4,.LC42722-.LCTOC1(30)
        lwz 4,.LC42724-.LCTOC1(30)
        lwz 4,.LC42726-.LCTOC1(30)

=========

Here's what I'm using :
[sakura>glibersat::crystal]$ g++ -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-softfloat
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--enable-checking=release powerpc-linux-gnu
Thread model: posix
gcc version 4.1.2 20060814 (prerelease) (Debian 4.1.1-11)

=========

The complete command line is :
g++ -c -o ./out/linuxppc/debug/plugins/cscript/cspython/cs_pyth.o -I.
-I./include -I./include -pipe -Wall -Wno-unknown-pragmas -I/usr/local/include
-fno-exceptions -g3 -DCS_DEBUG -fPIC -I/usr/include/python2.3 -DSWIG_GLOBAL
-Wno-unused -Wno-uninitialized -fno-strict-aliasing 
./out/linuxppc/debug/plugins/cscript/cspython/cs_pyth.cpp

=========

I can't attach the .i file since it's really big. You can get it there :
http://glibersat.linux62.org/~glibersat/cs_pyth.ii

Thanks !


-- 
           Summary: operand out of range on Linux/PowerPC
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: glibersat at linux62 dot org
 GCC build triplet: powerpc-linux-gnu
  GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu


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


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

end of thread, other threads:[~2009-05-14  4:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30 15:21 [Bug c++/28904] New: operand out of range on Linux/PowerPC glibersat at linux62 dot org
2006-08-31  2:41 ` [Bug target/28904] " pinskia at gcc dot gnu dot org
2006-08-31  4:31 ` pinskia at gcc dot gnu dot org
2006-08-31  4:34 ` pinskia at gcc dot gnu dot org
2006-09-05 22:51 ` amodra at bigpond dot net dot au
2007-06-26 16:12 ` srm at schokokeks dot org
2007-06-26 20:30 ` pinskia at gcc dot gnu dot org
2007-06-26 20:36 ` srm at schokokeks dot org
2007-06-27  8:06 ` srm at schokokeks dot org
2007-07-07 13:37 ` srm at schokokeks dot org
2009-05-14  4:03 ` bje 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).