From: Michael Meissner <meissner@cygnus.com>
To: Ralf Weidemann <RalfW@Scalar.de>,
LinuxPPC Dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: EGCS 1.1.1 FYI
Date: Mon, 7 Dec 1998 20:05:22 -0500 [thread overview]
Message-ID: <19981207200522.A4510@tiktok.cygnus.com> (raw)
In-Reply-To: <13932.21810.162591.80793@onyx.nowhere.net>; from Ralf Weidemann on Mon, Dec 07, 1998 at 11:22:42PM +0100
On Mon, Dec 07, 1998 at 11:22:42PM +0100, Ralf Weidemann wrote:
>
> >>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:
> >>>>> "Paul J Schinder" writes:
> Paul> So are Gary Thomas' patches still necessary?
>
> David> The trampoline patch now has become a shared library
> David> compatibility issue for glibc-1.99 support. It only is
> David> necessary until LinuxPPC cuts over to glibc-2.1 which will
> David> require other binary incompatible changes at the same time.
>
> Can someone clarify where the problem is exact with native
> egcs and libc-1.99 ? I use egcs-1.1.1 since the weekend and
> it seems to work fine. I had no trouble to build some shared
> lib stuff like in the latest jade or sgml-tools. This packages
> didn't compile with older version I tried (also Gary's egcs-1.1b),
> but that were generell compiler issues, I think.
There is a difference of opinion on the difference of the size of the
instruction block for trampolines coupled with a coding error in the trampoline
support module. Some version of the compiler other than the egcs/fsf compiler
has upped the size of the trampolines to be larger than the 40 bytes checked
for, and the tramp.asm module check for too small of a block aborts due to the
test being backwards. If you don't use trampolines (including running the
compiler testsuite), you won't see the problem. If you don't know what
trampolines are then you probably aren't using them.
<arrogant opinion>
Trampolines are a botch, and I have encounted problems with them in just above
every single GCC platform I have worked on in the last 9 years, but RMS loves
them, so they have remained. What they are is a chunk of stack that the
compiler puts instructions to load up the static chain, and jump to the real
function in the location. This address is then passed when you take the
address of a nested (lexically scoped) function.
</arrogant opinion>
> But on the other side I also tried to run the SeaMonkeyBrowser
> (Mozilla) from recent cvs-sources. Building went fine, but the
> beast didn't run. I get only a simple "Aborted" message on the
> console and it seems to crash somewhere in the startup code.
> So maybe this is somehow related ?
If SeaMonkeyBrowser calls through a trampoline inside of static constructors,
then yes, this is a symptom.
--
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
meissner@cygnus.com, 617-354-5416 (office), 617-354-7161 (fax)
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
next prev parent reply other threads:[~1998-12-08 1:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <schinder@pobox.com>
1998-12-08 2:51 ` EGCS 1.1.1 FYI Paul J. Schinder
1998-12-07 15:10 ` David Edelsohn
1998-12-07 22:22 ` Ralf Weidemann
1998-12-08 1:05 ` Michael Meissner [this message]
1998-12-08 6:17 ` Elgin Lee
1998-12-08 11:38 ` Gary Thomas
1998-12-08 4:28 ` hagopiar
1998-12-08 10:42 ` David T. McWherter
1998-12-09 12:36 ` Compiler porblems Giovanni Liotine
1998-12-11 12:40 ` Gary Thomas
1998-12-12 0:54 ` hagopiar
1998-12-08 6:59 ` EGCS 1.1.1 FYI Daniel Jacobowitz
[not found] <nester@nester.dyn.ml.org>
[not found] ` <Pine.LNX.3.96.981208202419.4464D-100000@zero>
1998-12-09 5:22 ` Elgin Lee
1998-12-06 8:06 jeramy
1998-12-07 16:12 ` Michael Meissner
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=19981207200522.A4510@tiktok.cygnus.com \
--to=meissner@cygnus.com \
--cc=RalfW@Scalar.de \
--cc=linuxppc-dev@lists.linuxppc.org \
/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 NNTP newsgroup(s).