From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23380 invoked by alias); 6 Apr 2003 02:06:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 23357 invoked by uid 71); 6 Apr 2003 02:06:07 -0000 Resent-Date: 6 Apr 2003 02:06:07 -0000 Resent-Message-ID: <20030406020607.23356.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, mats@rynge.net Resent-Reply-To: gcc-gnats@gcc.gnu.org, kelledin@users.sourceforge.net Received: (qmail 5986 invoked by uid 48); 6 Apr 2003 02:01:51 -0000 Message-Id: <20030406020151.5985.qmail@sources.redhat.com> Date: Sun, 06 Apr 2003 02:06:00 -0000 From: kelledin@users.sourceforge.net Reply-To: kelledin@users.sourceforge.net To: gcc-gnats@gcc.gnu.org Cc: mats@rynge.net X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mats@rynge.net Subject: c++/10318: GPREL32 relocation errors on alpha X-SW-Source: 2003-04/txt/msg00184.txt.bz2 List-Id: >Number: 10318 >Category: c++ >Synopsis: GPREL32 relocation errors on alpha >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sun Apr 06 02:06:02 UTC 2003 >Closed-Date: >Last-Modified: >Originator: kelledin@users.sourceforge.net >Release: gcc-3.2.1 >Organization: >Environment: host alpha-incept-linux-gnu, binutils 2.13.2.1 >Description: (This is actually a dupe of c++/6999. I just couldn't revive it or tack on feedback for some reason.) gcc-3.2.x is delivering the following type of error messages for certain projects: g++ -g -DNDEBUG -DSYSCONFDIR='"/etc/xstow"' -o xstow arg.o cppdir.o debug.o file_option.o format.o main.o setup.o string_utils.o tree.o leoini.o setup_config.o main.o(.rodata+0x8a8):itimerspec/format.h:376: relocation truncated to fit: GPREL32 *UND* main.o(.rodata+0x8ac):itimerspec/format.h:376: relocation truncated to fit: GPREL32 *UND* main.o(.rodata+0x8b0):itimerspec/format.h:376: relocation truncated to fit: GPREL32 *UND* main.o(.rodata+0x8b4):itimerspec/format.h:380: relocation truncated to fit: GPREL32 *UND* These projects compile just fine on x86. There are further reports of this problem here: http://lists.debian.org/debian-alpha/2003/debian-alpha-200303/msg00063.html http://lists.debian.org/debian-alpha/2003/debian-alpha-200303/msg00112.html Apparently certain relocations in the "undefined" section are getting malformed to the point that they overflow. I seriously doubt they get this way on their own, because the "undefined" section would have to accumulate more than 2GB worth of undefined relocation symbols, which would obviously give x86 fits as well. Clearly either binutils is malforming offset values during link, or gcc is feeding binutils incorrect relocation values. The error is consistent and very repeatable. >How-To-Repeat: Attempt to compile kdegames-3.1.x or xstow. >Fix: No known fix... >Release-Note: >Audit-Trail: >Unformatted: