From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16606 invoked by alias); 30 Aug 2006 15:21:37 -0000 Received: (qmail 16580 invoked by uid 48); 30 Aug 2006 15:21:29 -0000 Date: Wed, 30 Aug 2006 15:21:00 -0000 Subject: [Bug c++/28904] New: operand out of range on Linux/PowerPC X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "glibersat at linux62 dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-08/txt/msg02678.txt.bz2 List-Id: 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