public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
@ 2011-04-29  8:17 henry0312 at gmail dot com
  2011-04-29  8:24 ` [Bug other/48815] " henry0312 at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29  8:17 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: configure: error: Link tests are not allowed after
                    GCC_NO_EXECUTABLES.
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: henry0312@gmail.com


Hello.

I tried to compile gcc 4.5.3 stable on Mac OS X 10.6.7 (Darwin 10.7.3, Xcode
3.2.3) and confronted configure errors at libiberty and libssp.

My configure options:
../gcc-4.5.3/configure\
    --with-pkgversion='GCC 4.5.3 x86_64-apple-darwin10'\
    --prefix=$HOME/local/gcc45\
    --build=x86_64-apple-darwin10\
    --with-local-prefix=$HOME/local/gcc45\
    --disable-debug\
    --disable-shared\
    --enable-static\
    --disable-multilib\
    --enable-threads=posix\
    --disable-bootstrap\
    --enable-version-specific-runtime-libs\
    --enable-languages=c,c++,objc,obj-c++\
    --enable-stage1-checking\
    --disable-nls\
    --enable-werror\
    --enable-lto\
    --with-system-zlib\
    --enable-fully-dynamic-string

However, When I tried without '--disable-debug' and '--enable-static", compiled
successfully.


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
@ 2011-04-29  8:24 ` henry0312 at gmail dot com
  2011-04-29  8:25 ` henry0312 at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29  8:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from henry0312 at gmail dot com 2011-04-29 08:19:46 UTC ---
Created attachment 24139
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24139
libiberty's config log

libiberty's config log


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
  2011-04-29  8:24 ` [Bug other/48815] " henry0312 at gmail dot com
@ 2011-04-29  8:25 ` henry0312 at gmail dot com
  2011-04-29 10:05 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from henry0312 at gmail dot com 2011-04-29 08:20:28 UTC ---
Created attachment 24140
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24140
libssp's config log


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
  2011-04-29  8:24 ` [Bug other/48815] " henry0312 at gmail dot com
  2011-04-29  8:25 ` henry0312 at gmail dot com
@ 2011-04-29 10:05 ` rguenth at gcc dot gnu.org
  2011-04-29 11:02 ` henry0312 at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-29 10:05 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-29 10:05:01 UTC ---
    --build=x86_64-apple-darwin10\

do not specify this.


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (2 preceding siblings ...)
  2011-04-29 10:05 ` rguenth at gcc dot gnu.org
@ 2011-04-29 11:02 ` henry0312 at gmail dot com
  2011-04-29 15:04 ` henry0312 at gmail dot com
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29 11:02 UTC (permalink / raw)
  To: gcc-bugs

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

henry0312 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #4 from henry0312 at gmail dot com 2011-04-29 10:59:48 UTC ---
(In reply to comment #3)
>     --build=x86_64-apple-darwin10\
> 
> do not specify this.

I tried without '--build=x86_64-apple-darwin10', but the result was the same.
Any suggestions?


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (3 preceding siblings ...)
  2011-04-29 11:02 ` henry0312 at gmail dot com
@ 2011-04-29 15:04 ` henry0312 at gmail dot com
  2011-04-29 15:06 ` henry0312 at gmail dot com
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29 15:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from henry0312 at gmail dot com 2011-04-29 15:03:23 UTC ---
I'm sorry.

This error, 'configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES. ', occurs when 'make -j4'.

I tried 'make', then 

configure: error: in
`/Users/henry/Build/GCC/build/x86_64-apple-darwin10.7.3/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libgomp] Error 1
make: *** [all] Error 2

Anyway, I fail to compile with '--disable-shared' and '--enable-static'.


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (4 preceding siblings ...)
  2011-04-29 15:04 ` henry0312 at gmail dot com
@ 2011-04-29 15:06 ` henry0312 at gmail dot com
  2011-04-29 15:08 ` henry0312 at gmail dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29 15:06 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from henry0312 at gmail dot com 2011-04-29 15:04:56 UTC ---
Created attachment 24147
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24147
libgomp's config log


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (5 preceding siblings ...)
  2011-04-29 15:06 ` henry0312 at gmail dot com
@ 2011-04-29 15:08 ` henry0312 at gmail dot com
  2011-04-29 19:07 ` henry0312 at gmail dot com
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29 15:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from henry0312 at gmail dot com 2011-04-29 15:07:36 UTC ---
> However, When I tried without '--disable-debug' and '--enable-static", compiled
> successfully.

I made typo :(

Correctly, without '--disable-shared' and '--enable-static".


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (6 preceding siblings ...)
  2011-04-29 15:08 ` henry0312 at gmail dot com
@ 2011-04-29 19:07 ` henry0312 at gmail dot com
  2011-04-29 19:08 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29 19:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from henry0312 at gmail dot com 2011-04-29 19:06:04 UTC ---
Now I know the problem.
in config log,
ld: library not found for -lgcc_ext.10.5

I put libgcc_ext.10.5.dylib that is made with shared build to build_dir/gcc,
and compiled again.
Successfully.

Why doesn't libgcc_ext.10.5.dylib exist anywhere when static build.


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (7 preceding siblings ...)
  2011-04-29 19:07 ` henry0312 at gmail dot com
@ 2011-04-29 19:08 ` pinskia at gcc dot gnu.org
  2011-04-29 21:14 ` henry0312 at gmail dot com
  2012-02-01 23:30 ` [Bug bootstrap/48815] " pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-29 19:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-04-29 19:08:11 UTC ---
--disable-shared cannot be used for darwin.


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

* [Bug other/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (8 preceding siblings ...)
  2011-04-29 19:08 ` pinskia at gcc dot gnu.org
@ 2011-04-29 21:14 ` henry0312 at gmail dot com
  2012-02-01 23:30 ` [Bug bootstrap/48815] " pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: henry0312 at gmail dot com @ 2011-04-29 21:14 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from henry0312 at gmail dot com 2011-04-29 21:13:27 UTC ---
(In reply to comment #9)
> --disable-shared cannot be used for darwin.

I see.
Thank you, Andrew Pinski.


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

* [Bug bootstrap/48815] configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
  2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
                   ` (9 preceding siblings ...)
  2011-04-29 21:14 ` henry0312 at gmail dot com
@ 2012-02-01 23:30 ` pinskia at gcc dot gnu.org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01 23:30 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|other                       |bootstrap
         Resolution|                            |INVALID

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 23:30:35 UTC ---
Closing as invalid as --disabled-shared is invalid for darwin.


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

end of thread, other threads:[~2012-02-01 23:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-29  8:17 [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES henry0312 at gmail dot com
2011-04-29  8:24 ` [Bug other/48815] " henry0312 at gmail dot com
2011-04-29  8:25 ` henry0312 at gmail dot com
2011-04-29 10:05 ` rguenth at gcc dot gnu.org
2011-04-29 11:02 ` henry0312 at gmail dot com
2011-04-29 15:04 ` henry0312 at gmail dot com
2011-04-29 15:06 ` henry0312 at gmail dot com
2011-04-29 15:08 ` henry0312 at gmail dot com
2011-04-29 19:07 ` henry0312 at gmail dot com
2011-04-29 19:08 ` pinskia at gcc dot gnu.org
2011-04-29 21:14 ` henry0312 at gmail dot com
2012-02-01 23:30 ` [Bug bootstrap/48815] " pinskia at gcc dot gnu.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).