public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion)
@ 2011-07-13 18:29 bosephus61 at gmail dot com
  2011-07-13 19:11 ` [Bug fortran/49738] " kargl at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bosephus61 at gmail dot com @ 2011-07-13 18:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

           Summary: Compile errors on OSX darwin 11 (Lion)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bosephus61@gmail.com


checking dynamic linker characteristics... darwin11 dyld
checking how to hardcode library paths into programs... immediate
checking whether the GNU Fortran compiler is working... no
configure: error: GNU Fortran is not working; please report a bug in
http://gcc.gnu.org/bugzilla, attaching
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc44/work/build/x86_64-apple-darwin11/libgfortran/config.log


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

* [Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
  2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
@ 2011-07-13 19:11 ` kargl at gcc dot gnu.org
  2011-07-13 21:47 ` howarth at nitro dot med.uc.edu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-07-13 19:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2011.07.13 19:10:58
                 CC|                            |kargl at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from kargl at gcc dot gnu.org 2011-07-13 19:10:58 UTC ---
This normally means that you are missing one or
more of the required libraries:  GMP, MPFR, or MPC.

Please check that these are installed and gcc can
find the libs.


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

* [Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
  2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
  2011-07-13 19:11 ` [Bug fortran/49738] " kargl at gcc dot gnu.org
@ 2011-07-13 21:47 ` howarth at nitro dot med.uc.edu
  2011-07-13 21:53 ` bosephus61 at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-07-13 21:47 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

Jack Howarth <howarth at nitro dot med.uc.edu> changed:

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

--- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-07-13 21:45:23 UTC ---
If you built stock gmp 5.0.2 under llvm-gcc, you have a broken gmp (which a
make check will show you). The fix is to apply...


-- gmp-5.0.2/acinclude.m4.orig 2011-05-17 19:03:09.000000000 -0400
+++ gmp-5.0.2/acinclude.m4      2011-05-17 19:03:43.000000000 -0400
@@ -1941,8 +1941,8 @@
 esac

 cat >conftest.c <<EOF
-extern const int foo[];                /* Suppresses C++'s suppression of foo
*/
-const int foo[] = {1,2,3};
+extern const int foo[[]];              /* Suppresses C++'s suppression of foo
*/
+const int foo[[]] = {1,2,3};
 EOF
 echo "Test program:" >&AC_FD_CC
 cat conftest.c >&AC_FD_CC
--- gmp-5.0.2/configure.orig    2011-05-17 19:15:41.000000000 -0400
+++ gmp-5.0.2/configure 2011-05-17 19:16:00.000000000 -0400
@@ -26446,8 +26446,8 @@
 esac

 cat >conftest.c <<EOF
-extern const int foo;          /* Suppresses C++'s suppression of foo */
-const int foo = {1,2,3};
+extern const int foo[];        /* Suppresses C++'s suppression of foo */
+const int foo[] = {1,2,3};
 EOF
 echo "Test program:" >&5
 cat conftest.c >&5

http://gmplib.org/list-archives/gmp-bugs/2011-April/002236.html
http://gmplib.org/list-archives/gmp-bugs/2011-May/002255.html
http://gmplib.org/list-archives/gmp-bugs/2011-May/002256.html


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

* [Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
  2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
  2011-07-13 19:11 ` [Bug fortran/49738] " kargl at gcc dot gnu.org
  2011-07-13 21:47 ` howarth at nitro dot med.uc.edu
@ 2011-07-13 21:53 ` bosephus61 at gmail dot com
  2011-07-13 22:22 ` howarth at nitro dot med.uc.edu
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bosephus61 at gmail dot com @ 2011-07-13 21:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

--- Comment #3 from bosephus61 at gmail dot com 2011-07-13 21:53:19 UTC ---
I'll have to check as that's likely the case since I have apple Xcode 4.1
installed. 

On Jul 13, 2011, at 2:46 PM, howarth at nitro dot med.uc.edu wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738
> 
> Jack Howarth <howarth at nitro dot med.uc.edu> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |howarth at nitro dot
>                   |                            |med.uc.edu
> 
> --- Comment #2 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-07-13 21:45:23 UTC ---
> If you built stock gmp 5.0.2 under llvm-gcc, you have a broken gmp (which a
> make check will show you). The fix is to apply...
> 
> 
> -- gmp-5.0.2/acinclude.m4.orig 2011-05-17 19:03:09.000000000 -0400
> +++ gmp-5.0.2/acinclude.m4      2011-05-17 19:03:43.000000000 -0400
> @@ -1941,8 +1941,8 @@
> esac
> 
> cat >conftest.c <<EOF
> -extern const int foo[];                /* Suppresses C++'s suppression of foo
> */
> -const int foo[] = {1,2,3};
> +extern const int foo[[]];              /* Suppresses C++'s suppression of foo
> */
> +const int foo[[]] = {1,2,3};
> EOF
> echo "Test program:" >&AC_FD_CC
> cat conftest.c >&AC_FD_CC
> --- gmp-5.0.2/configure.orig    2011-05-17 19:15:41.000000000 -0400
> +++ gmp-5.0.2/configure 2011-05-17 19:16:00.000000000 -0400
> @@ -26446,8 +26446,8 @@
> esac
> 
> cat >conftest.c <<EOF
> -extern const int foo;          /* Suppresses C++'s suppression of foo */
> -const int foo = {1,2,3};
> +extern const int foo[];        /* Suppresses C++'s suppression of foo */
> +const int foo[] = {1,2,3};
> EOF
> echo "Test program:" >&5
> cat conftest.c >&5
> 
> http://gmplib.org/list-archives/gmp-bugs/2011-April/002236.html
> http://gmplib.org/list-archives/gmp-bugs/2011-May/002255.html
> http://gmplib.org/list-archives/gmp-bugs/2011-May/002256.html
> 
> -- 
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.


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

* [Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
  2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
                   ` (2 preceding siblings ...)
  2011-07-13 21:53 ` bosephus61 at gmail dot com
@ 2011-07-13 22:22 ` howarth at nitro dot med.uc.edu
  2011-11-07 22:46 ` fxcoudert at gcc dot gnu.org
  2011-11-29 14:57 ` howarth at nitro dot med.uc.edu
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-07-13 22:22 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

--- Comment #4 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-07-13 22:21:38 UTC ---
Also note that...

2011-06-19  Jack Howarth <howarth@bromo.med.uc.edu>

    PR target/49461
    * configure.ac: Use mh-x86-darwin.
    * configure: Regenerate.
config:
2011-06-19  Jack Howarth <howarth@bromo.med.uc.edu>

    PR target/49461
    * mh-x86-darwin: Add file and pass -no_pie on BOOT_LDFLAGS for
    darwin11.

Modified:
    branches/gcc-4_5-branch/ChangeLog
    branches/gcc-4_5-branch/config/ChangeLog

...hasn't been backported to gcc-4_4-branch. Without this change, pch in FSF
gcc
is broken on darwin11 as well as gcj/ecj1.


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

* [Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
  2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
                   ` (3 preceding siblings ...)
  2011-07-13 22:22 ` howarth at nitro dot med.uc.edu
@ 2011-11-07 22:46 ` fxcoudert at gcc dot gnu.org
  2011-11-29 14:57 ` howarth at nitro dot med.uc.edu
  5 siblings, 0 replies; 7+ messages in thread
From: fxcoudert at gcc dot gnu.org @ 2011-11-07 22:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |fxcoudert at gcc dot
                   |                            |gnu.org
         Resolution|                            |WORKSFORME

--- Comment #5 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> 2011-11-07 22:44:45 UTC ---
No news, and current trunk and 4.6 build fine under Mac OS 10.7 (Lion), so I'm
closing this. Please reopen with specific details (i.e., which version of GCC
you are compiling, how it is configured, etc.) if the issue persists.


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

* [Bug fortran/49738] Compile errors on OSX darwin 11 (Lion)
  2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
                   ` (4 preceding siblings ...)
  2011-11-07 22:46 ` fxcoudert at gcc dot gnu.org
@ 2011-11-29 14:57 ` howarth at nitro dot med.uc.edu
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med.uc.edu @ 2011-11-29 14:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49738

--- Comment #6 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-11-29 14:34:13 UTC ---
This issue also impacts darwin10 users who have installed Xcode 4.2 since that
release no longer includes Apple gcc-4.2 and now defaults the system compiler
to Apple llvm-gcc-4.2 which exhibits this bug.


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

end of thread, other threads:[~2011-11-29 14:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-13 18:29 [Bug fortran/49738] New: Compile errors on OSX darwin 11 (Lion) bosephus61 at gmail dot com
2011-07-13 19:11 ` [Bug fortran/49738] " kargl at gcc dot gnu.org
2011-07-13 21:47 ` howarth at nitro dot med.uc.edu
2011-07-13 21:53 ` bosephus61 at gmail dot com
2011-07-13 22:22 ` howarth at nitro dot med.uc.edu
2011-11-07 22:46 ` fxcoudert at gcc dot gnu.org
2011-11-29 14:57 ` howarth at nitro dot med.uc.edu

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