public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium
@ 2014-11-15 16:58 fxcoudert at gcc dot gnu.org
  2014-11-15 16:58 ` [Bug target/63893] " fxcoudert at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-15 16:58 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63893
           Summary: gcc.dg/pr61599-1.c fails on darwin, due to
                    -mcmodel=medium
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fxcoudert at gcc dot gnu.org

$ ./bin/gcc pr61599-1.c pr61599-2.c -mcmodel=medium -fdata-sections
Undefined symbols for architecture x86_64:
  "_GLOBAL_OFFSET_TABLE_", referenced from:
      _main in ccHQCqNA.o
      _bar in cckQelee.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status

I get that -mcmodel=medium is not working well for darwin at the moment, but
didn't know whether there is already a bug tracking that in general at the
moment. So I open this one.


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

* [Bug target/63893] gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium
  2014-11-15 16:58 [Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium fxcoudert at gcc dot gnu.org
@ 2014-11-15 16:58 ` fxcoudert at gcc dot gnu.org
  2014-11-15 17:00 ` fxcoudert at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-15 16:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

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


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

* [Bug target/63893] gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium
  2014-11-15 16:58 [Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium fxcoudert at gcc dot gnu.org
  2014-11-15 16:58 ` [Bug target/63893] " fxcoudert at gcc dot gnu.org
@ 2014-11-15 17:00 ` fxcoudert at gcc dot gnu.org
  2014-11-15 17:06 ` howarth at bromo dot med.uc.edu
  2014-11-15 17:13 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 5+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2014-11-15 17:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
gcc.target/i386/pr63538.c also fails, also due to -mcmodel=medium


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

* [Bug target/63893] gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium
  2014-11-15 16:58 [Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium fxcoudert at gcc dot gnu.org
  2014-11-15 16:58 ` [Bug target/63893] " fxcoudert at gcc dot gnu.org
  2014-11-15 17:00 ` fxcoudert at gcc dot gnu.org
@ 2014-11-15 17:06 ` howarth at bromo dot med.uc.edu
  2014-11-15 17:13 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 5+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-15 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

howarth at bromo dot med.uc.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |howarth at bromo dot med.uc.edu

--- Comment #2 from howarth at bromo dot med.uc.edu ---
pr63793 also is -mcmodel=medium bug on darwin which is detected by the linker.


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

* [Bug target/63893] gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium
  2014-11-15 16:58 [Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium fxcoudert at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-11-15 17:06 ` howarth at bromo dot med.uc.edu
@ 2014-11-15 17:13 ` dominiq at lps dot ens.fr
  3 siblings, 0 replies; 5+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-11-15 17:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Another sequel of r216154.

Note that tests with -mcmodel=* are compiled on darwin, but produce codes that
are not accepted by as (see also pr50077).


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

end of thread, other threads:[~2014-11-15 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-15 16:58 [Bug target/63893] New: gcc.dg/pr61599-1.c fails on darwin, due to -mcmodel=medium fxcoudert at gcc dot gnu.org
2014-11-15 16:58 ` [Bug target/63893] " fxcoudert at gcc dot gnu.org
2014-11-15 17:00 ` fxcoudert at gcc dot gnu.org
2014-11-15 17:06 ` howarth at bromo dot med.uc.edu
2014-11-15 17:13 ` dominiq at lps dot ens.fr

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