public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found
@ 2014-11-29 7:30 mcree at orcon dot net.nz
2014-12-01 19:49 ` [Bug target/64113] " ubizjak at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: mcree at orcon dot net.nz @ 2014-11-29 7:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
Bug ID: 64113
Summary: Gcc on Alpha: Error: No lda !gpdisp!282 was found
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mcree at orcon dot net.nz
Target: alpha-linux-gnu
gcc-4.9.x (and the trunk a couple of weeks ago) compiling certain software
packages (e.g. systemd) on an Alpha running Debian Alpha Linux results in
errors at the link stage such as:
{standard input}: Assembler messages:
{standard input}:5327: Error: No lda !gpdisp!282 was found
lto-wrapper: gcc returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
These packages are successfully compiled with gcc-4.8.x.
I have not been able to construct a minimal source exhibiting the problem. But
because gcc-4.9.0 exhibits the failure and gcc-4.8.0 compiles the code
successfully I have been able to bisect to the first commit in gcc that
produces those errors, and that commit is:
commit c59258dcb37171743fdc6d393e767834aac9642b
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue Nov 12 16:41:51 2013 +0000
* gimple-ssa-isolate-paths.c (check_loadstore): New function.
(insert_trap_and_remove_trailing_statements): New argument OP which
is the NULL pointer. Emit the trap after the load/store through
the NULL pointer. Simplify the RHS of a store through a NULL pointer
when trivial to do so.
(isolate_path): Corresponding changes.
(gimple_ssa_isolate_erroneous_path): Likewise.
* gcc.dg/tree-ssa/isolate-1.c: Update expected output.
* gcc.dg/tree-ssa/isolate-5.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204708
138bc75d-0d04-0410-961f-82ee72b054a4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/64113] Gcc on Alpha: Error: No lda !gpdisp!282 was found
2014-11-29 7:30 [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found mcree at orcon dot net.nz
@ 2014-12-01 19:49 ` ubizjak at gmail dot com
2014-12-02 10:04 ` uros at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2014-12-01 19:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2014-12-01
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Target Milestone|--- |4.9.3
Ever confirmed|0 |1
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
This is actually a target problem, the quoted patch just exposed it.
The problem is in the way call to __tls_get_addr is split. Currently, when the
gp register is not used, life analysis removes only UNSPEC_LDGP2 - the last
part of the sequence. This call has to be split with a peephole2, in the same
way other calls are handled. alpha.md has the comment that says:
;; We must use peep2 instead of a split because we need accurate life
;; information for $gp. Consider the case of { bar(); while (1); }.
I have the patch in testing.
>From gcc-bugs-return-469135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 01 19:56:42 2014
Return-Path: <gcc-bugs-return-469135-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15664 invoked by alias); 1 Dec 2014 19:56:42 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 15638 invoked by uid 48); 1 Dec 2014 19:56:38 -0000
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64113] Gcc on Alpha: Error: No lda !gpdisp!282 was found
Date: Mon, 01 Dec 2014 19:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ubizjak at gmail dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: ubizjak at gmail dot com
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-64113-4-85rT48UZLu@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64113-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64113-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg00142.txt.bz2
Content-length: 367
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 34157
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34157&action=edit
Proposed patch
Patch in testing.
Using this patch, I was able to compile systemd-217 that otherwise failed to
compile with the reported error.
>From gcc-bugs-return-469136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Dec 01 20:10:09 2014
Return-Path: <gcc-bugs-return-469136-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 22436 invoked by alias); 1 Dec 2014 20:10:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 22402 invoked by uid 48); 1 Dec 2014 20:10:05 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64144] std::async can deadlock during thread exit
Date: Mon, 01 Dec 2014 20:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-64144-4-lUfm3mplbH@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64144-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64144-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg00143.txt.bz2
Content-length: 592
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd144
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
But that one doesn't block because wait_for() returns future_status::ready
immediately ... it was failing due to some local changes I had. So I think this
is a false alarm.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/64113] Gcc on Alpha: Error: No lda !gpdisp!282 was found
2014-11-29 7:30 [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found mcree at orcon dot net.nz
2014-12-01 19:49 ` [Bug target/64113] " ubizjak at gmail dot com
@ 2014-12-02 10:04 ` uros at gcc dot gnu.org
2014-12-02 19:30 ` uros at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2014-12-02 10:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
--- Comment #3 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Dec 2 10:04:14 2014
New Revision: 218264
URL: https://gcc.gnu.org/viewcvs?rev=218264&root=gcc&view=rev
Log:
PR target/64113
* config/alpha/alpha.md (call_value_osf_tlsgd): Do not split insn
using post-reload splitter. Use peephole2 pass instead.
(call_value_osf_tlsldm): Ditto.
(TLS_CALL): New int iterator.
(tls): New int attribute.
(call_value_osf_<tls>): Merge insn pattern from call_value_osf_tlsgd
and call_value_tlsldm using TLS_CALL int iterator.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/alpha/alpha.md
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/64113] Gcc on Alpha: Error: No lda !gpdisp!282 was found
2014-11-29 7:30 [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found mcree at orcon dot net.nz
2014-12-01 19:49 ` [Bug target/64113] " ubizjak at gmail dot com
2014-12-02 10:04 ` uros at gcc dot gnu.org
@ 2014-12-02 19:30 ` uros at gcc dot gnu.org
2014-12-02 19:32 ` ubizjak at gmail dot com
2015-02-22 16:22 ` uros at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2014-12-02 19:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
--- Comment #4 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Dec 2 19:29:28 2014
New Revision: 218282
URL: https://gcc.gnu.org/viewcvs?rev=218282&root=gcc&view=rev
Log:
PR target/64113
* config/alpha/alpha.md (call_value_osf_tlsgd): Do not split insn
using post-reload splitter. Use peephole2 pass instead.
(call_value_osf_tlsldm): Ditto.
(TLS_CALL): New int iterator.
(tls): New int attribute.
(call_value_osf_<tls>): Merge insn pattern from call_value_osf_tlsgd
and call_value_tlsldm using TLS_CALL int iterator.
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/alpha/alpha.md
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/64113] Gcc on Alpha: Error: No lda !gpdisp!282 was found
2014-11-29 7:30 [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found mcree at orcon dot net.nz
` (2 preceding siblings ...)
2014-12-02 19:30 ` uros at gcc dot gnu.org
@ 2014-12-02 19:32 ` ubizjak at gmail dot com
2015-02-22 16:22 ` uros at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2014-12-02 19:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed for 4.9.3+.
>From gcc-bugs-return-469254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 02 19:40:37 2014
Return-Path: <gcc-bugs-return-469254-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12168 invoked by alias); 2 Dec 2014 19:40:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 11574 invoked by uid 48); 2 Dec 2014 19:40:31 -0000
From: "meissner at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/64156] Subversion id 218266 breaks the big-endian 64-bit PowerPC build (wilco.dijkstra@arm.com's mod to ira-costs.c)
Date: Tue, 02 Dec 2014 19:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: meissner at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64156-4-6UOtWRlCwL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64156-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64156-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-12/txt/msg00261.txt.bz2
Content-length: 291
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd156
--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> ---
Note, the fix proposed in PR64151 DOES NOT work on the PowerPC, so it may be a
dup in terms of what change broke the build, but the potential fix needs more
analysis.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/64113] Gcc on Alpha: Error: No lda !gpdisp!282 was found
2014-11-29 7:30 [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found mcree at orcon dot net.nz
` (3 preceding siblings ...)
2014-12-02 19:32 ` ubizjak at gmail dot com
@ 2015-02-22 16:22 ` uros at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: uros at gcc dot gnu.org @ 2015-02-22 16:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64113
--- Comment #6 from uros at gcc dot gnu.org ---
Author: uros
Date: Sun Feb 22 15:29:16 2015
New Revision: 220896
URL: https://gcc.gnu.org/viewcvs?rev=220896&root=gcc&view=rev
Log:
Backport from mainline
2014-12-02 Uros Bizjak <ubizjak@gmail.com>
PR target/64113
* config/alpha/alpha.md (call_value_osf_tlsgd): Do not split insn
using post-reload splitter. Use peephole2 pass instead.
(call_value_osf_tlsldm): Ditto.
(TLS_CALL): New int iterator.
(tls): New int attribute.
(call_value_osf_<tls>): Merge insn pattern from call_value_osf_tlsgd
and call_value_tlsldm using TLS_CALL int iterator.
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/alpha/alpha.md
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-22 15:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-29 7:30 [Bug target/64113] New: Gcc on Alpha: Error: No lda !gpdisp!282 was found mcree at orcon dot net.nz
2014-12-01 19:49 ` [Bug target/64113] " ubizjak at gmail dot com
2014-12-02 10:04 ` uros at gcc dot gnu.org
2014-12-02 19:30 ` uros at gcc dot gnu.org
2014-12-02 19:32 ` ubizjak at gmail dot com
2015-02-22 16:22 ` uros at gcc dot gnu.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).