public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43715]  New: configure option --enable-plugin fails on darwin
@ 2010-04-10 13:34 howarth at nitro dot med dot uc dot edu
  2010-04-10 14:57 ` [Bug bootstrap/43715] " howarth at nitro dot med dot uc dot edu
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-10 13:34 UTC (permalink / raw)
  To: gcc-bugs

Currently configure in gcc 4.5.0 doesn't understand darwin's method of loading
shared library modules when the --enable-plugin option is invoked and fails
as...

Links are now set up to build a native compiler for x86_64-apple-darwin10.3.0.
checking for exported symbols...
/sw/src/fink.build/gcc45-4.5.0-0rc1/gcc-4.5-20100408/gcc/configure: line 25167:
-T: command not found
checking for -rdynamic...
/sw/src/fink.build/gcc45-4.5.0-0rc1/gcc-4.5-20100408/gcc/configure: line 25173:
-T: command not found
checking for library containing dlopen... none required
checking for -fPIC -shared... no
configure: error: 
Building GCC with plugin support requires a host that supports
-fPIC, -shared, -ldl and -rdynamic.
make[2]: *** [configure-stage1-gcc] Error 1
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2

This is preventing the dragon-egg developers from testing their code on darwin.


-- 
           Summary: configure option --enable-plugin fails on darwin
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: *-*-darwin*
  GCC host triplet: *-*-darwin*
GCC target triplet: *-*-darwin*


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
@ 2010-04-10 14:57 ` howarth at nitro dot med dot uc dot edu
  2010-04-11  4:37 ` howarth at nitro dot med dot uc dot edu
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-10 14:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2010-04-10 14:56 -------
One problems seems to be that configure.ac doesn't force '-Wl,-undefined
-Wl,dynamic_lookup' to be passed on darwin when it is testing -shared.


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
  2010-04-10 14:57 ` [Bug bootstrap/43715] " howarth at nitro dot med dot uc dot edu
@ 2010-04-11  4:37 ` howarth at nitro dot med dot uc dot edu
  2010-04-11 19:10 ` howarth at nitro dot med dot uc dot edu
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-11  4:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2010-04-11 04:37 -------
Patch posted at http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00516.html.


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
  2010-04-10 14:57 ` [Bug bootstrap/43715] " howarth at nitro dot med dot uc dot edu
  2010-04-11  4:37 ` howarth at nitro dot med dot uc dot edu
@ 2010-04-11 19:10 ` howarth at nitro dot med dot uc dot edu
  2010-04-11 19:11 ` howarth at nitro dot med dot uc dot edu
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-11 19:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from howarth at nitro dot med dot uc dot edu  2010-04-11 19:10 -------
Revised patch posted at
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00533.html. I do see any
combination of options for otool which would give us the required exported
symbol list. In any case, this wouldn't help any other non-darwin targets that
happen to be missing objdump. Using '$gcc_cv_nm -g | grep T' seems most
portable.


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2010-04-11 19:10 ` howarth at nitro dot med dot uc dot edu
@ 2010-04-11 19:11 ` howarth at nitro dot med dot uc dot edu
  2010-04-11 23:07 ` howarth at nitro dot med dot uc dot edu
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-11 19:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from howarth at nitro dot med dot uc dot edu  2010-04-11 19:11 -------
(In reply to comment #3)

s/do/do not/g


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2010-04-11 19:11 ` howarth at nitro dot med dot uc dot edu
@ 2010-04-11 23:07 ` howarth at nitro dot med dot uc dot edu
  2010-04-12  3:32 ` howarth at nitro dot med dot uc dot edu
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-11 23:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from howarth at nitro dot med dot uc dot edu  2010-04-11 23:07 -------
Hopefully the final revision posted at
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00539.html.


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (4 preceding siblings ...)
  2010-04-11 23:07 ` howarth at nitro dot med dot uc dot edu
@ 2010-04-12  3:32 ` howarth at nitro dot med dot uc dot edu
  2010-04-26 20:34 ` mrs at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-04-12  3:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from howarth at nitro dot med dot uc dot edu  2010-04-12 03:31 -------
Third (and hopefully really the final) revision of the patch posted at
http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00545.html.


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (5 preceding siblings ...)
  2010-04-12  3:32 ` howarth at nitro dot med dot uc dot edu
@ 2010-04-26 20:34 ` mrs at gcc dot gnu dot org
  2010-04-26 20:48 ` mrs at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mrs at gcc dot gnu dot org @ 2010-04-26 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mrs at gcc dot gnu dot org  2010-04-26 20:34 -------
Subject: Bug 43715

Author: mrs
Date: Mon Apr 26 20:33:49 2010
New Revision: 158747

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158747
Log:
2010-04-21  Jack Howarth <howarth@bromo.med.uc.edu>

        PR 43715
        * testsuite/lib/plugin-support.exp: Use "-undefined
        dynamic_lookup" on darwin.

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/plugin-support.exp


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (6 preceding siblings ...)
  2010-04-26 20:34 ` mrs at gcc dot gnu dot org
@ 2010-04-26 20:48 ` mrs at gcc dot gnu dot org
  2010-04-26 20:55 ` mrs at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mrs at gcc dot gnu dot org @ 2010-04-26 20:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mrs at gcc dot gnu dot org  2010-04-26 20:48 -------
Subject: Bug 43715

Author: mrs
Date: Mon Apr 26 20:48:35 2010
New Revision: 158748

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158748
Log:
2010-04-26  Jack Howarth <howarth@bromo.med.uc.edu>

        PR 43715
        * gcc/configure.ac: Use "$gcc_cv_nm -g" on darwin
        instead of "$gcc_cv_objdump -T".
        Use "-undefined dynamic_lookup" on darwin.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/configure
    trunk/gcc/configure.ac


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (7 preceding siblings ...)
  2010-04-26 20:48 ` mrs at gcc dot gnu dot org
@ 2010-04-26 20:55 ` mrs at gcc dot gnu dot org
  2010-04-26 20:56 ` mrs at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mrs at gcc dot gnu dot org @ 2010-04-26 20:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mrs at gcc dot gnu dot org  2010-04-26 20:55 -------
Trunk fixed, leaving open for 4.5.1.


-- 


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


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

* [Bug bootstrap/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (8 preceding siblings ...)
  2010-04-26 20:55 ` mrs at gcc dot gnu dot org
@ 2010-04-26 20:56 ` mrs at gcc dot gnu dot org
  2010-05-17 12:00 ` [Bug bootstrap/43715] [4.5] " fxcoudert at gcc dot gnu dot org
  2010-05-19 12:25 ` [Bug target/43715] " rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: mrs at gcc dot gnu dot org @ 2010-04-26 20:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

mrs at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.5.1


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


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

* [Bug bootstrap/43715] [4.5] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (9 preceding siblings ...)
  2010-04-26 20:56 ` mrs at gcc dot gnu dot org
@ 2010-05-17 12:00 ` fxcoudert at gcc dot gnu dot org
  2010-05-19 12:25 ` [Bug target/43715] " rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2010-05-17 12:00 UTC (permalink / raw)
  To: gcc-bugs



-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-05-17 12:00:06
               date|                            |
            Summary|configure option --enable-  |[4.5] configure option --
                   |plugin fails on darwin      |enable-plugin fails on
                   |                            |darwin


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


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

* [Bug target/43715] configure option --enable-plugin fails on darwin
  2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
                   ` (10 preceding siblings ...)
  2010-05-17 12:00 ` [Bug bootstrap/43715] [4.5] " fxcoudert at gcc dot gnu dot org
@ 2010-05-19 12:25 ` rguenth at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-19 12:25 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
      Known to fail|                            |4.5.0
      Known to work|                            |4.6.0
            Summary|[4.5] configure option --   |configure option --enable-
                   |enable-plugin fails on      |plugin fails on darwin
                   |darwin                      |
   Target Milestone|4.5.1                       |---


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


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

end of thread, other threads:[~2010-05-19 12:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-10 13:34 [Bug bootstrap/43715] New: configure option --enable-plugin fails on darwin howarth at nitro dot med dot uc dot edu
2010-04-10 14:57 ` [Bug bootstrap/43715] " howarth at nitro dot med dot uc dot edu
2010-04-11  4:37 ` howarth at nitro dot med dot uc dot edu
2010-04-11 19:10 ` howarth at nitro dot med dot uc dot edu
2010-04-11 19:11 ` howarth at nitro dot med dot uc dot edu
2010-04-11 23:07 ` howarth at nitro dot med dot uc dot edu
2010-04-12  3:32 ` howarth at nitro dot med dot uc dot edu
2010-04-26 20:34 ` mrs at gcc dot gnu dot org
2010-04-26 20:48 ` mrs at gcc dot gnu dot org
2010-04-26 20:55 ` mrs at gcc dot gnu dot org
2010-04-26 20:56 ` mrs at gcc dot gnu dot org
2010-05-17 12:00 ` [Bug bootstrap/43715] [4.5] " fxcoudert at gcc dot gnu dot org
2010-05-19 12:25 ` [Bug target/43715] " rguenth at gcc dot gnu dot 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).