From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] speed up building of posix apps
Date: Fri, 18 Aug 2006 15:58:01 +0200 [thread overview]
Message-ID: <44E5C769.4050605@domain.hid> (raw)
In-Reply-To: <17637.50472.580142.331066@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]
Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
> > Hi,
> >
> > with the growing number of wrapped posix applications also their fairly
> > slow build process became visible. It somehow scaled badly.
> >
> > I had the idea to pass all wrapping commands to the linker via a file
> > for quite some time. Now I tried it and it gives a nice speedup of
> > roughly 400% for me when building typical single-file apps (mileage may
> > vary, I'm building on vmware box...). Moreover, it beautifies the
> > compiler output.
> >
> > Tested on various setups, no regressions known so far.
> >
> > Jan
> >
> >
> > PS: What about the silence-libtool patch? I've heard neither ack nor
> > nack so far.
> > Index: configure.in
> > ===================================================================
> > --- configure.in (revision 1453)
> > +++ configure.in (working copy)
> > @@ -525,8 +525,7 @@ XENO_USER_APP_CFLAGS=$XENO_USER_CFLAGS
> > XENO_USER_CFLAGS="$XENO_USER_CFLAGS -D__IN_XENO__ -Wstrict-prototypes"
> > XENO_USER_APP_LDFLAGS=$XENO_USER_LDFLAGS
> >
> > -XENO_POSIX_WRAPPERS=`while read symbol; do echo -n "-Wl,--wrap,$symbol "; done \
> > - < $srcdir/src/skins/posix/posix.wrappers`
> > +XENO_POSIX_WRAPPERS="-Wl,@`cd $srcdir && pwd`/src/skins/posix/posix.wrappers"
>
> Does not work here: the @ is passed to ld which does not know how to
> handle it.
>
>
Mmm, which version of ld do you have? If it's different from 2.16.91,
please check if "man ld" says something about the "@file" option.
Also, could you mail me the output of the build run?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-08-18 13:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-18 12:05 [Xenomai-core] [PATCH] speed up building of posix apps Jan Kiszka
2006-08-18 12:38 ` Philippe Gerum
2006-08-18 12:57 ` Jan Kiszka
2006-08-18 13:48 ` Gilles Chanteperdrix
2006-08-18 13:58 ` Jan Kiszka [this message]
2006-08-18 16:40 ` Jan Kiszka
2006-08-18 17:28 ` Gilles Chanteperdrix
2006-08-18 17:39 ` Jan Kiszka
2006-08-18 21:11 ` Gilles Chanteperdrix
2006-08-19 10:24 ` Jan Kiszka
2006-08-19 11:09 ` Gilles Chanteperdrix
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=44E5C769.4050605@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.