public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin
@ 2014-11-20 16:00 fxcoudert at gcc dot gnu.org
  2014-11-20 16:00 ` [Bug lto/63997] " fxcoudert at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-20 16:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

            Bug ID: 63997
           Summary: gcc.dg/lto/pr61526 failing on darwin
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org

This testcase fails with the following error:

Undefined symbols for architecture x86_64:
  "_master", referenced from:
      _bar in cccerobh.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status


I don't think it's lto-related: even without the lto flags, the same error
message is issued. In fact, even with the system compiler, the same error is
issued.


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

* [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin
  2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
@ 2014-11-20 16:00 ` fxcoudert at gcc dot gnu.org
  2014-11-20 16:35 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-20 16:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-apple-darwin14
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-20
               Host|                            |x86_64-apple-darwin14
     Ever confirmed|0                           |1
              Build|                            |x86_64-apple-darwin14


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

* [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin
  2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
  2014-11-20 16:00 ` [Bug lto/63997] " fxcoudert at gcc dot gnu.org
@ 2014-11-20 16:35 ` rguenth at gcc dot gnu.org
  2014-11-20 16:37 ` dominiq at lps dot ens.fr
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-11-20 16:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The testcase uses -shared at link time which is supposed to build a shared
object and generate an external (unresolved) reference to _master.  Why is
that (/* { dg-extra-ld-options { -shared } } */) not working on darwin?


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

* [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin
  2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
  2014-11-20 16:00 ` [Bug lto/63997] " fxcoudert at gcc dot gnu.org
  2014-11-20 16:35 ` rguenth at gcc dot gnu.org
@ 2014-11-20 16:37 ` dominiq at lps dot ens.fr
  2014-11-20 16:42 ` fxcoudert at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-11-20 16:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iains at gcc dot gnu.org

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> The testcase uses -shared at link time which is supposed to build a shared
> object and generate an external (unresolved) reference to _master.  Why is
> that (/* { dg-extra-ld-options { -shared } } */) not working on darwin?

pr59888?


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

* [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin
  2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-11-20 16:37 ` dominiq at lps dot ens.fr
@ 2014-11-20 16:42 ` fxcoudert at gcc dot gnu.org
  2021-12-24  8:38 ` [Bug testsuite/63997] " pinskia at gcc dot gnu.org
  2021-12-24  9:34 ` iains at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-20 16:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> The testcase uses -shared at link time which is supposed to build a shared
> object and generate an external (unresolved) reference to _master.

Adding -Wl,-undefined,dynamic_lookup makes it pass. (And the -shared is
correctly passed, as far as I can see.)


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

* [Bug testsuite/63997] gcc.dg/lto/pr61526 failing on darwin
  2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-11-20 16:42 ` fxcoudert at gcc dot gnu.org
@ 2021-12-24  8:38 ` pinskia at gcc dot gnu.org
  2021-12-24  9:34 ` iains at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-24  8:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|lto                         |testsuite
           Keywords|                            |testsuite-fail

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Does this testcase still fail?

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

* [Bug testsuite/63997] gcc.dg/lto/pr61526 failing on darwin
  2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2021-12-24  8:38 ` [Bug testsuite/63997] " pinskia at gcc dot gnu.org
@ 2021-12-24  9:34 ` iains at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: iains at gcc dot gnu.org @ 2021-12-24  9:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #7 from Iain Sandoe <iains at gcc dot gnu.org> ---
not on i686, powerpc darwin9 or x86-64-darwin[10-21] as of r12-6053 so closing.

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

end of thread, other threads:[~2021-12-24  9:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 16:00 [Bug lto/63997] New: gcc.dg/lto/pr61526 failing on darwin fxcoudert at gcc dot gnu.org
2014-11-20 16:00 ` [Bug lto/63997] " fxcoudert at gcc dot gnu.org
2014-11-20 16:35 ` rguenth at gcc dot gnu.org
2014-11-20 16:37 ` dominiq at lps dot ens.fr
2014-11-20 16:42 ` fxcoudert at gcc dot gnu.org
2021-12-24  8:38 ` [Bug testsuite/63997] " pinskia at gcc dot gnu.org
2021-12-24  9:34 ` iains 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).