public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin
@ 2014-11-09 14:41 howarth at bromo dot med.uc.edu
  2014-11-09 14:43 ` [Bug middle-end/63794] " howarth at bromo dot med.uc.edu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-09 14:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63794
           Summary: -mcmodel=large in gfortran on x86_64 emits references
                    junk `@GOTOFF' after expression on darwin
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: howarth at bromo dot med.uc.edu

The src_flexwrf_v3.1 package from
http://flexpart.eu/downloads/src_flexwrf_v3.1.tar.gz fails to compile on x86_64
darwin with the -mcmodel=large option at the error...

gfortran -c -I/sw/include -mcmodel=large -fconvert=little-endian
-finit-local-zero -fno-range-check  cmapf_mod.f90
/var/tmp//ccy9jxUR.s:32:junk `@GOTOFF' after expression
/var/tmp//ccy9jxUR.s:35:junk `@GOTOFF' after expression
/var/tmp//ccy9jxUR.s:40:junk `@GOTOFF' after expression
...

in the Xcode 6.1 as assembler.


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

* [Bug middle-end/63794] -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin
  2014-11-09 14:41 [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin howarth at bromo dot med.uc.edu
@ 2014-11-09 14:43 ` howarth at bromo dot med.uc.edu
  2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-09 14:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from howarth at bromo dot med.uc.edu ---
Created attachment 33928
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33928&action=edit
assembly for cmapf_mod.f90 compiled with -mcmodel=large on x86_64 darwin

Produced with "gfortran -c -I/sw/include -mcmodel=large -fconvert=little-endian
-finit-local-zero -fno-range-check cmapf_mod.f90 --save-temps"


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

* [Bug middle-end/63794] -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin
  2014-11-09 14:41 [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin howarth at bromo dot med.uc.edu
  2014-11-09 14:43 ` [Bug middle-end/63794] " howarth at bromo dot med.uc.edu
  2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
@ 2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
  2014-11-09 14:46 ` howarth at bromo dot med.uc.edu
  2014-11-09 14:57 ` dominiq at lps dot ens.fr
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-09 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from howarth at bromo dot med.uc.edu ---
Unfortunately, due to the number of modules required cmapf_mod.f90,  it is
impossible to create a small test case. However this problem can be reproduced
by downloading the src_flexwrf_v3.1.tar.bz2 source code and executing...

make -f makefile.mom serial


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

* [Bug middle-end/63794] -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin
  2014-11-09 14:41 [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin howarth at bromo dot med.uc.edu
  2014-11-09 14:43 ` [Bug middle-end/63794] " howarth at bromo dot med.uc.edu
@ 2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
  2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-09 14:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from howarth at bromo dot med.uc.edu ---
Note that the default makefile.mom in the source tarball can be linked against
the libnetcdff installed from the fink (http://finkproject.org)
netcdf-fortran7/netcdf-fortran7-shlibs packages.


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

* [Bug middle-end/63794] -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin
  2014-11-09 14:41 [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin howarth at bromo dot med.uc.edu
                   ` (2 preceding siblings ...)
  2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
@ 2014-11-09 14:46 ` howarth at bromo dot med.uc.edu
  2014-11-09 14:57 ` dominiq at lps dot ens.fr
  4 siblings, 0 replies; 6+ messages in thread
From: howarth at bromo dot med.uc.edu @ 2014-11-09 14:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from howarth at bromo dot med.uc.edu ---
I am unclear if this is a code-generation bug or if the assembly generated in
gfortran 4.9.2 for the cmapf_mod.f90 sources using -mcmodel=large is tickling a
bug in the legacy gas (as) in Xcode 6.1.

# as -version
Apple Inc version cctools-862, GNU assembler version 1.38


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

* [Bug middle-end/63794] -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin
  2014-11-09 14:41 [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin howarth at bromo dot med.uc.edu
                   ` (3 preceding siblings ...)
  2014-11-09 14:46 ` howarth at bromo dot med.uc.edu
@ 2014-11-09 14:57 ` dominiq at lps dot ens.fr
  4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-11-09 14:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Probably related to pr50077.


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

end of thread, other threads:[~2014-11-09 14:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-09 14:41 [Bug middle-end/63794] New: -mcmodel=large in gfortran on x86_64 emits references junk `@GOTOFF' after expression on darwin howarth at bromo dot med.uc.edu
2014-11-09 14:43 ` [Bug middle-end/63794] " howarth at bromo dot med.uc.edu
2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
2014-11-09 14:44 ` howarth at bromo dot med.uc.edu
2014-11-09 14:46 ` howarth at bromo dot med.uc.edu
2014-11-09 14:57 ` 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).