public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/10318: GPREL32 relocation errors on alpha
@ 2003-04-06  2:06 kelledin
  0 siblings, 0 replies; 2+ messages in thread
From: kelledin @ 2003-04-06  2:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mats


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


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

* Re: c++/10318: GPREL32 relocation errors on alpha
@ 2003-04-07 14:29 bangerth
  0 siblings, 0 replies; 2+ messages in thread
From: bangerth @ 2003-04-07 14:29 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, kelledin, mats, nobody

Synopsis: GPREL32 relocation errors on alpha

State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Mon Apr  7 14:29:09 2003
State-Changed-Why:
    Duplicate of 10326. However, the latter has a link to a 
    testcase.
    W.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10318


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

end of thread, other threads:[~2003-04-07 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06  2:06 c++/10318: GPREL32 relocation errors on alpha kelledin
2003-04-07 14:29 bangerth

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).