public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: kelledin@users.sourceforge.net
To: gcc-gnats@gcc.gnu.org
Cc: mats@rynge.net
Subject: c++/10318: GPREL32 relocation errors on alpha
Date: Sun, 06 Apr 2003 02:06:00 -0000	[thread overview]
Message-ID: <20030406020151.5985.qmail@sources.redhat.com> (raw)


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


             reply	other threads:[~2003-04-06  2:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-06  2:06 kelledin [this message]
2003-04-07 14:29 bangerth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030406020151.5985.qmail@sources.redhat.com \
    --to=kelledin@users.sourceforge.net \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=mats@rynge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).