public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21888] New: bootstrap failure with linker relaxation enabled
@ 2005-06-02 21:38 rth at gcc dot gnu dot org
2005-06-02 21:50 ` [Bug target/21888] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-06-02 21:38 UTC (permalink / raw)
To: gcc-bugs
When bootstrapping for EV4, pp_base_set_prefix is miscompiled. An fnop is
emitted between the two insns of the initial ldgp pair.
The abi for "standard pv usage", implied by ".prologue 1", requires that this
instruction pair be sequential. Which allows the linker to alter "jsr foo"
into "bsr foo+8".
With the additional fnop, a bsr pp_base_set_prefix+8 results in the gp being
corrupted. Hilarity ensues.
--
Summary: bootstrap failure with linker relaxation enabled
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: rth at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: alpha-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21888
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21888] bootstrap failure with linker relaxation enabled
2005-06-02 21:38 [Bug target/21888] New: bootstrap failure with linker relaxation enabled rth at gcc dot gnu dot org
@ 2005-06-02 21:50 ` pinskia at gcc dot gnu dot org
2005-06-04 19:24 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-02 21:50 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21888
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21888] bootstrap failure with linker relaxation enabled
2005-06-02 21:38 [Bug target/21888] New: bootstrap failure with linker relaxation enabled rth at gcc dot gnu dot org
2005-06-02 21:50 ` [Bug target/21888] " pinskia at gcc dot gnu dot org
@ 2005-06-04 19:24 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:26 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-04 19:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-04 19:23 -------
Subject: Bug 21888
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2005-06-04 19:23:54
Modified files:
gcc : ChangeLog
gcc/config/alpha: alpha.c
Log message:
PR target/21888
* config/alpha/alpha.c (alpha_align_insns): Don't insert nops
until we've passed initial ldgp.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9037&r2=2.9038
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&r1=1.426&r2=1.427
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21888
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21888] bootstrap failure with linker relaxation enabled
2005-06-02 21:38 [Bug target/21888] New: bootstrap failure with linker relaxation enabled rth at gcc dot gnu dot org
2005-06-02 21:50 ` [Bug target/21888] " pinskia at gcc dot gnu dot org
2005-06-04 19:24 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-04 19:26 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:27 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:28 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-04 19:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-04 19:25 -------
Subject: Bug 21888
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: rth@gcc.gnu.org 2005-06-04 19:25:48
Modified files:
gcc : ChangeLog
gcc/config/alpha: alpha.c
Log message:
PR target/21888
* config/alpha/alpha.c (alpha_align_insns): Don't insert nops
until we've passed initial ldgp.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.278&r2=2.7592.2.279
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.408.8.3&r2=1.408.8.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21888
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21888] bootstrap failure with linker relaxation enabled
2005-06-02 21:38 [Bug target/21888] New: bootstrap failure with linker relaxation enabled rth at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-06-04 19:26 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-04 19:27 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:28 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-04 19:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-06-04 19:27 -------
Subject: Bug 21888
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rth@gcc.gnu.org 2005-06-04 19:27:34
Modified files:
gcc : ChangeLog
gcc/config/alpha: alpha.c
Log message:
PR target/21888
* config/alpha/alpha.c (alpha_align_insns): Don't insert nops
until we've passed initial ldgp.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.875&r2=2.2326.2.876
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/alpha/alpha.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.342.4.14&r2=1.342.4.15
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21888
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/21888] bootstrap failure with linker relaxation enabled
2005-06-02 21:38 [Bug target/21888] New: bootstrap failure with linker relaxation enabled rth at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-06-04 19:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-04 19:28 ` rth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-06-04 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rth at gcc dot gnu dot org 2005-06-04 19:28 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21888
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-06-04 19:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-02 21:38 [Bug target/21888] New: bootstrap failure with linker relaxation enabled rth at gcc dot gnu dot org
2005-06-02 21:50 ` [Bug target/21888] " pinskia at gcc dot gnu dot org
2005-06-04 19:24 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:26 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:27 ` cvs-commit at gcc dot gnu dot org
2005-06-04 19:28 ` rth at gcc dot gnu dot org
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).