From: Mark Wielaard <mark@klomp.org>
To: Tom de Vries <tdevries@suse.de>, Jakub Jelinek <jakub@redhat.com>
Cc: dwz@sourceware.org
Subject: Re: [RFC] External testsuite using binaries
Date: Tue, 01 Jan 2019 00:00:00 -0000 [thread overview]
Message-ID: <e3b517d73088bdb4eda7399b953083a3cc579f0c.camel@klomp.org> (raw)
In-Reply-To: <3ed89fb7-ae0c-23de-a6c5-78cc7c370083@suse.de>
Hi Tom,
Sorry for the late response. I saw others (on overseers) already gave
some feedback. I don't think my feedback is really very different, but
here are my 2 cents.
On Thu, 2019-03-07 at 14:51 +0100, Tom de Vries wrote:
> since large files tend to be a problem in git, I've created a
> testsuite
> containing binaries, that can be downloaded from ftp and plugged into
> the dwz sources.
>
> It contains the following executables:
> ...
> 272M cc1
> 223M cc1.dwz-processed
> 16K dw2-restrict
> 16K dw2-skip-prologue
> 9,1M etcd
> 8,2M etcdctl
> 16K multidictionary
> 8,0K py-section-script.debug
> ...
>
> Is it ok to move some of these (based on a size limit) to dwz.git, or
> do we want to keep these separate?
- I think the binaries shouldn't be in the main git repo.
- For the smaller ones adding .S files might be acceptable in the
main git repo.
- If you offer them on some ftp site you want some mechanism (hash?)
to make sure people don't need to redownload these binaries over
and over again (especially important for the autobuilders).
- So a (separate) git repo seems better. I don't think you really
need an extension for large binary files unless you intend to
replace or alter the binaries checked in. If it is just adding
new binaries I believe git handles that fine as is.
- It IMHO essential that they come with corresponding source
and build instructions. So they can be reproduced.
- If at all possible I would try to only use small ones of
a couple of K. I am not sure what multi-megabyte binaries add.
- If multi-megabyte binaries are really essential how would we
handle the extra memory and disk space needed on the test
machines? Can skip processing if there isn't enough
disk/memory available?
- Have you considered extending the dwz.tests/dwz.sh self test instead?
Build the different .o files with -g(123) -g[no-]strict-dwarf,
-gdwarf-(2345), -f[no-]debug-types-section, etc. And see if dwz
handles itself when combining those object files? Or is this for
catching different issues?
Cheers,
Mark
prev parent reply other threads:[~2019-03-20 18:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-01 0:00 Tom de Vries
2019-01-01 0:00 ` Mark Wielaard [this message]
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=e3b517d73088bdb4eda7399b953083a3cc579f0c.camel@klomp.org \
--to=mark@klomp.org \
--cc=dwz@sourceware.org \
--cc=jakub@redhat.com \
--cc=tdevries@suse.de \
/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).