public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: "Yaakov (Cygwin Ports)" <yselkowitz@users.sourceforge.net>
To: cygwin-apps@cygwin.com
Subject: Re: [RFC] 1.7 Packaging: Toolchain
Date: Thu, 31 Jul 2008 06:07:00 -0000	[thread overview]
Message-ID: <48915696.8090608@users.sourceforge.net> (raw)
In-Reply-To: <039301c8f17a$f36c14f0$9601a8c0@CAM.ARTIMI.COM>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dave Korn wrote:
|   I've got libgcc shared and working fine and correctly, either with a
| separate static libgcc_eh, or with it shared, although that's only an
option
| if you also have shared libstdc++.
|
|   Getting libstdc++ to work shared is being tricky; for some reason
| libsupc++ is only built static, which means libtool links it into
libstdc++
| only to resolve imports, not as objects that need to be exported.
Removing
| the --disable-shared libtool tag from libsupc++'s build configuration gets
| me what appears to be a complete libstdc++, but it fails in early startup,
| probably down to the relocs-in-.rodata issue; and that's where I've
got to.
| I'm not sure whether to just try and go for a
shared-libstdc-static-libsupc
| combo, or to try and figure out what needs to be fixed to prevent the
relocs
| problem - if indeed that's what it is.

This thread seems to explain the logic behind libsupc++:

http://gcc.gnu.org/ml/gcc/2001-06/msg01886.html

I'd say it makes the most sense to stick with the upstream
shared-libstdc-static-libsupc setup.  I gather that this this isn't
creating a complete libstdc++ though, but I don't see why.  libsupc++ is
being linked in via a convenience lib, which means that it should be
linking the .a with -Wl,--whole-archive, and exporting any symbols
therein.  Which method is being used for symbol exports, and what
exactly is missing?

BTW, what about libg2c/libobjc/libgcj?

|   That's my plan.

May I dare ask for a timeframe?

|   Famous last words.  Yes, that's the scheme we decided on some time ago,
| but given how long it's already taking to get vanilla gcc4 working, I was
| just going to leave that as it stands for now.

I'm not sure I follow.  Is -mno-cygwin part of the "vanilla" gcc now?


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkiRVpYACgkQpiWmPGlmQSMUDwCgjpDBQYmtpanPQXAjrSccBAJM
fIoAoK8gul9UBxBM0kAxU0hW09NGTiwS
=zdr0
-----END PGP SIGNATURE-----

  reply	other threads:[~2008-07-31  6:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-24  5:26 Yaakov (Cygwin Ports)
2008-07-24  9:52 ` Corinna Vinschen
2008-07-24 10:55   ` Brian Dessent
2008-07-24 19:24     ` Christopher Faylor
2008-07-24 21:09       ` Corinna Vinschen
2008-07-29 12:59 ` Dave Korn
2008-07-31  6:07   ` Yaakov (Cygwin Ports) [this message]
2008-07-31 13:54   ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48915696.8090608@users.sourceforge.net \
    --to=yselkowitz@users.sourceforge.net \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).