public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26510]  New: --disable-shared broken for darwin platform
@ 2006-03-01 13:21 hanwen at xs4all dot nl
  2006-03-01 13:30 ` [Bug bootstrap/26510] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: hanwen at xs4all dot nl @ 2006-03-01 13:21 UTC (permalink / raw)
  To: gcc-bugs

compiling with static libs for darwin breaks during compile with the following
message.

MLIBS=`/home/hanwen/vc/gub/target/darwin-x86/build/gcc-4.1.0/./gcc/xgcc
-B/home/hanwen/vc/gub/target/darwin-x86/build/gcc-4.1.0/./gcc/
-B/home/hanwen/vc/gub/target/darwin-x86/system/usr/cross//i686-apple-darwin8/bin/
-B/home/hanwen/vc/gub/target/darwin-x86/system/usr/cross//i686-apple-darwin8/lib/
-isystem
/home/hanwen/vc/gub/target/darwin-x86/system/usr/cross//i686-apple-darwin8/include
-isystem
/home/hanwen/vc/gub/target/darwin-x86/system/usr/cross//i686-apple-darwin8/sys-include
--print-multi-lib \
        | sed -e 's/;.*$//' -e '/^\.$/d' -e 's/^/_/'` ; \
for mlib in '' $MLIBS ; do \
  i686-apple-darwin8-strip -o libgcc_s.10.4.dylib_T${mlib} \
    -s
/home/hanwen/vc/gub/target/darwin-x86/src/gcc-4.1.0/gcc/config/i386/darwin-libgcc.10.4.ver
-c -u \
    libgcc_s${mlib}.1.dylib || exit 1 ; \
done
i686-apple-darwin8-strip: can't open file: libgcc_s.1.dylib (No such file or
directory)
make[3]: *** [libgcc_s.10.4.dylib] Fout 1
make[3]: Leaving directory
`/home/hanwen/vc/gub/target/darwin-x86/build/gcc-4.1.0/gcc'
make[2]: *** [all-gcc] Fout 2


-- 
           Summary: --disable-shared broken for darwin platform
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hanwen at xs4all dot nl
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i686-apple-darwin8


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


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

* [Bug bootstrap/26510] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
@ 2006-03-01 13:30 ` pinskia at gcc dot gnu dot org
  2006-03-01 15:45 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-01 13:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-01 13:30 -------
Related to PR 19176.  But static is almost never supported on Darwin anyways.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |19176


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


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

* [Bug bootstrap/26510] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
  2006-03-01 13:30 ` [Bug bootstrap/26510] " pinskia at gcc dot gnu dot org
@ 2006-03-01 15:45 ` pinskia at gcc dot gnu dot org
  2006-03-01 16:04 ` hanwen at xs4all dot nl
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-01 15:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-01 15:45 -------
I should mention that i686-darwin is not supported in any way shape or form for
GCC's before 4.2.0.


-- 


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


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

* [Bug bootstrap/26510] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
  2006-03-01 13:30 ` [Bug bootstrap/26510] " pinskia at gcc dot gnu dot org
  2006-03-01 15:45 ` pinskia at gcc dot gnu dot org
@ 2006-03-01 16:04 ` hanwen at xs4all dot nl
  2006-10-23 15:22 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hanwen at xs4all dot nl @ 2006-03-01 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hanwen at xs4all dot nl  2006-03-01 16:04 -------
I guess that means that 4.2 snapshots don't count, and that I should stick to
Apple's sources, right?


-- 


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


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

* [Bug bootstrap/26510] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (2 preceding siblings ...)
  2006-03-01 16:04 ` hanwen at xs4all dot nl
@ 2006-10-23 15:22 ` pinskia at gcc dot gnu dot org
  2006-10-23 15:24 ` [Bug target/26510] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 15:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-10-23 15:22 -------
*** Bug 29564 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dir at lanl dot gov


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


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

* [Bug target/26510] [4.1/4.2 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (3 preceding siblings ...)
  2006-10-23 15:22 ` pinskia at gcc dot gnu dot org
@ 2006-10-23 15:24 ` pinskia at gcc dot gnu dot org
  2006-10-23 19:02 ` dir at lanl dot gov
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-23 15:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-23 15:24 -------
Caused by:
2005-09-28  Geoffrey Keating  <geoffk@apple.com>

        * config/rs6000/t-darwin8: Uncomment contents, allow -m64
        multilib to be built.

        * Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
        (stage1-start): Delete old libgcc and libunwind before moving
        anything into the stage directory.
        (stage2-start): Likewise.
        (stage3-start): Likewise.
        (stage4-start): Likewise.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
          Component|bootstrap                   |target
     Ever Confirmed|0                           |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-23 15:24:19
               date|                            |
            Summary|--disable-shared broken for |[4.1/4.2 Regression] --
                   |darwin platform             |disable-shared broken for
                   |                            |darwin platform
   Target Milestone|---                         |4.1.2


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


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

* [Bug target/26510] [4.1/4.2 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (4 preceding siblings ...)
  2006-10-23 15:24 ` [Bug target/26510] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-10-23 19:02 ` dir at lanl dot gov
  2006-10-29 20:29 ` [Bug target/26510] [4.1/4.2/4.3 " geoffk at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dir at lanl dot gov @ 2006-10-23 19:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from dir at lanl dot gov  2006-10-23 19:02 -------
I tried to disable the multilib with -

../gcc/configure --disable-shared --disable-multilib
--prefix=/usr/local/gfortran --enable-languages=c,fortran

but I still about the save errors -

MLIBS=`/Users/dir/gfortran/ibin2/./gcc/xgcc -B/Users/dir/gfortran/ibin2/./gcc/
-B/usr/local/gfortran/powerpc-apple-darwin8.8.0/bin/
-B/usr/local/gfortran/powerpc-apple-darwin8.8.0/lib/ -isystem
/usr/local/gfortran/powerpc-apple-darwin8.8.0/include -isystem
/usr/local/gfortran/powerpc-apple-darwin8.8.0/sys-include --print-multi-lib \
        | sed -e 's/;.*$//' -e '/^\.$/d'` ; \
for mlib in '' $MLIBS ; do \
  strip -o libgcc_s.10.5.dylib_T${mlib} \
    -s ../../gcc/gcc/config/rs6000/darwin-libgcc.10.5.ver -c -u \
    ./${mlib}/libgcc_s.1.dylib.tmp || exit 1 ; \
done
strip: can't open file: /Users/dir/gfortran/ibin2/gcc/libgcc_s.1.dylib.tmp (No
such file or directory)
make[3]: *** [libgcc_s.10.4.dylib] Error 1
make[3]: *** Waiting for unfinished jobs....
strip: can't open file: /Users/dir/gfortran/ibin2/gcc/libgcc_s.1.dylib.tmp (No
such file or directory)
make[3]: *** [libgcc_s.10.5.dylib] Error 1
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
[dranta:~/gfortran/ibin2] dir% 


-- 


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


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

* [Bug target/26510] [4.1/4.2/4.3 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (5 preceding siblings ...)
  2006-10-23 19:02 ` dir at lanl dot gov
@ 2006-10-29 20:29 ` geoffk at gcc dot gnu dot org
  2006-10-30 13:59 ` dir at lanl dot gov
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2006-10-29 20:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from geoffk at gcc dot gnu dot org  2006-10-29 20:29 -------
I think I'll just declare that GCC requires a shared libgcc on Darwin.


-- 

geoffk at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


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

* [Bug target/26510] [4.1/4.2/4.3 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (6 preceding siblings ...)
  2006-10-29 20:29 ` [Bug target/26510] [4.1/4.2/4.3 " geoffk at gcc dot gnu dot org
@ 2006-10-30 13:59 ` dir at lanl dot gov
  2006-12-24  6:21 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dir at lanl dot gov @ 2006-10-30 13:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dir at lanl dot gov  2006-10-30 13:58 -------
Fixing the errors that are shown above is trivial - so I assume that they are
just the first of a cascade of errors in trying to fix the problem. Having a
shared libgcc is Ok - the real problem is distributing version of programs
compilied with gfortran to people that do not have gfortran installed.
--disable-shared appears to be the only way to do it - I tried just loading the
static libraries, but a few dependencies on the shared parts remained.


-- 


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


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

* [Bug target/26510] [4.1/4.2/4.3 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (7 preceding siblings ...)
  2006-10-30 13:59 ` dir at lanl dot gov
@ 2006-12-24  6:21 ` pinskia at gcc dot gnu dot org
  2006-12-26 13:57 ` dir at lanl dot gov
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-24  6:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-12-24 06:21 -------
*** Bug 19176 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hideishi at magisystem dot
                   |                            |net
Bug 26510 depends on bug 19176, which changed state.

Bug 19176 Summary: [4.0/4.1/4.2/4.3 Regression] static gcc cannot be build (libgcc_eh.a required for static gcc)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19176

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

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


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

* [Bug target/26510] [4.1/4.2/4.3 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (8 preceding siblings ...)
  2006-12-24  6:21 ` pinskia at gcc dot gnu dot org
@ 2006-12-26 13:57 ` dir at lanl dot gov
  2006-12-26 18:07 ` pinskia at gcc dot gnu dot org
  2007-01-02 15:41 ` dir at lanl dot gov
  11 siblings, 0 replies; 13+ messages in thread
From: dir at lanl dot gov @ 2006-12-26 13:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from dir at lanl dot gov  2006-12-26 13:57 -------
This is no problem with g95. You can move files to other Macintosh computers
without g95 istalled and use them. This really is quite important, the
usefulness of gfortran is greatly limited without this ablity. Programs built
with gfortran cannot be distributed to a general group of users.


-- 


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


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

* [Bug target/26510] [4.1/4.2/4.3 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (9 preceding siblings ...)
  2006-12-26 13:57 ` dir at lanl dot gov
@ 2006-12-26 18:07 ` pinskia at gcc dot gnu dot org
  2007-01-02 15:41 ` dir at lanl dot gov
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-26 18:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2006-12-26 18:07 -------
(In reply to comment #10)
> This is no problem with g95. 

That is because g95's library is not fully integrated at all in GCC's build
infrastructure at all.
You can use just disable's gfortran shared library anyways, See the
installation documentation which describes how to do that.


-- 


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


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

* [Bug target/26510] [4.1/4.2/4.3 Regression] --disable-shared broken for darwin platform
  2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
                   ` (10 preceding siblings ...)
  2006-12-26 18:07 ` pinskia at gcc dot gnu dot org
@ 2007-01-02 15:41 ` dir at lanl dot gov
  11 siblings, 0 replies; 13+ messages in thread
From: dir at lanl dot gov @ 2007-01-02 15:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from dir at lanl dot gov  2007-01-02 15:41 -------
    Hi Andrew,

    I thought that was the problem - there appears to be no way to disable the
shared libraries on the Macintosh. In comment #6, I tried to disable the shared
libraries and the multilib with "--disable-shared --disable-multilib". Where do
I find the installation documentation ? Does the installation documentation
tell another way to do it ?  


-- 


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


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

end of thread, other threads:[~2007-01-02 15:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-01 13:21 [Bug bootstrap/26510] New: --disable-shared broken for darwin platform hanwen at xs4all dot nl
2006-03-01 13:30 ` [Bug bootstrap/26510] " pinskia at gcc dot gnu dot org
2006-03-01 15:45 ` pinskia at gcc dot gnu dot org
2006-03-01 16:04 ` hanwen at xs4all dot nl
2006-10-23 15:22 ` pinskia at gcc dot gnu dot org
2006-10-23 15:24 ` [Bug target/26510] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-10-23 19:02 ` dir at lanl dot gov
2006-10-29 20:29 ` [Bug target/26510] [4.1/4.2/4.3 " geoffk at gcc dot gnu dot org
2006-10-30 13:59 ` dir at lanl dot gov
2006-12-24  6:21 ` pinskia at gcc dot gnu dot org
2006-12-26 13:57 ` dir at lanl dot gov
2006-12-26 18:07 ` pinskia at gcc dot gnu dot org
2007-01-02 15:41 ` dir at lanl dot gov

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