Advertisement
goatbar

gcc fortran memory modes and large failing

Jul 6th, 2014
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.32 KB | None | 0 0
  1. xcodebuild -version
  2. Xcode 5.1.1
  3. Build version 5B1008
  4.  
  5. gfortran --version
  6. GNU Fortran (GCC) 4.9.0
  7. Copyright (C) 2014 Free Software Foundation, Inc.
  8.  
  9. gfortran-fsf-4.8 foo.f && ./a.out && otool -L a.out && ls -l a.out
  10. Hello, world
  11. a.out:
  12.     /sw/lib/gcc4.8/lib/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
  13.     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
  14.     /sw/lib/gcc4.8/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
  15.     /sw/lib/gcc4.8/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
  16. -rwxr-xr-x  1 schwehr  staff  9048 Jul  6 18:13 a.out
  17.  
  18.  rm -f a.out; gfortran-fsf-4.8 -mcmodel=medium foo.f && ./a.out && otool -L a.out && ls -l a.out
  19. Hello, world
  20. a.out:
  21.     /sw/lib/gcc4.8/lib/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0)
  22.     /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
  23.     /sw/lib/gcc4.8/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
  24.     /sw/lib/gcc4.8/lib/libquadmath.0.dylib (compatibility version 1.0.0, current version 1.0.0)
  25. -rwxr-xr-x  1 schwehr  staff  9048 Jul  6 18:15 a.out
  26.  
  27. rm -f a.out; gfortran-fsf-4.8 -mcmodel=large foo.f && ./a.out && otool -L a.out && ls -l a.out
  28. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:23:junk `@GOTOFF' after expression
  29. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:27:junk `@GOTOFF' after expression
  30. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:35:junk `@PLTOFF' after expression
  31. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:40:junk `@GOTOFF' after expression
  32. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:43:junk `@PLTOFF' after expression
  33. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:48:junk `@PLTOFF' after expression
  34. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:53:junk `@PLTOFF' after expression
  35. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:77:junk `@PLTOFF' after expression
  36. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:80:junk `@GOTOFF' after expression
  37. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:83:junk `@PLTOFF' after expression
  38. /var/folders/bl/xwd4g1xj0f1b0v9_6cgdnz400000gp/T//cc9d7TyE.s:86:junk `@GOTOFF' after expression
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement