public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* target/10326: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha
@ 2003-04-06 23:16 lucier
0 siblings, 0 replies; 3+ messages in thread
From: lucier @ 2003-04-06 23:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: bangerth
>Number: 10326
>Category: target
>Synopsis: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 06 23:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: B. Lucier
>Release: gcc version 3.4 20030328
>Organization:
>Environment:
alphaev6-unknown-linux-gnu
binutils-2.13.2.1
>Description:
This is a regression at least from Redhat's gcc 2.96 on alpha.
When trying to link the step-1 example from Deal II CVS
(http://www.dealii.org), there is the following link error:
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e00): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e04): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e08): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e0c): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e10): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e14): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e18): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparse_matrix.float.g.o)(.rodata+0x2e1c): relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
/export/home/lucier/programs/deal.II/lib/liblac.g.a(sparsity_pattern.g.o):ExcInvalidIndex/source/sparsity_pattern.cc:99: relocation truncated to fit: GPREL32 *UND*
collect2: ld returned 1 exit status
The .ii and .s files are here:
http://www.math.purdue.edu/~lucier/GNATS/GNATS-7
There is some discussion of this problem in the thread
begining at
http://gcc.gnu.org/ml/gcc/2003-04/msg00191.html
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: target/10326: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha
@ 2003-04-09 20:09 rth
0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2003-04-09 20:09 UTC (permalink / raw)
To: bangerth, gcc-bugs, gcc-prs, lucier, nobody
Synopsis: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha
State-Changed-From-To: analyzed->closed
State-Changed-By: rth
State-Changed-When: Wed Apr 9 20:09:39 2003
State-Changed-Why:
http://sources.redhat.com/ml/binutils/2003-04/msg00241.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10326
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: target/10326: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha
@ 2003-04-09 5:04 rth
0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2003-04-09 5:04 UTC (permalink / raw)
To: bangerth, gcc-bugs, gcc-prs, lucier, nobody
Synopsis: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha
State-Changed-From-To: open->analyzed
State-Changed-By: rth
State-Changed-When: Wed Apr 9 05:04:56 2003
State-Changed-Why:
http://gcc.gnu.org/ml/gcc/2003-04/msg00202.html
I'm fairly sure this shouldn't be considered a gcc bug at all,
but rather a binutils bug. Yes, there are things that the
compiler could do to make things better, but I'd consider
that an optimization rather than necessary for correctness.
Attached a minimal test case.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10326
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-09 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-06 23:16 target/10326: [3.2/3.3/3.4] regression: relocation truncated to fit error on alpha lucier
2003-04-09 5:04 rth
2003-04-09 20:09 rth
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).