Re: Static compilation: segmentation fault in execution [host=x86_64, target: ia64]

Neil Williams <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
On Fri, 14 Sep 2012 08:42:36 -0700
Jonathan Nieder <[email protected]> wrote:

> Neil Williams wrote:
> 
> > Static linking is not fully supported in Debian and therefore Emdebian.
> > Sometimes it might work, sometimes it will fail, sometimes it will run
> > but give you mysterious issues... "behaviour is undefined".
> 
> Just to be clear, modulo bugs, that's not actually the intent in
> Debian proper. :)  Otherwise Debian wouldn't have much reason to
> provide static libraries at all.  I suspect that when a package
> provides a broken static lib that most maintainers would not mind
> either a patch to fix it or a patch to remove the static lib.

I doubt that such bugs would get a particularly high priority in
Debian right now and are certainly unlikely to be fixed during a release
freeze. If the simplest c task won't execute when linked statically,
it's a fair sign that nobody has bothered to fixing static linkage
problems anywhere else.

Emdebian has the same intent as Debian where static linking is
concerned, but I am also realistic - right now, the amount of interest
in fixing static linkages in Debian is approaching zero (and the
interest wasn't that much higher before the release freeze). Even if the
bugs have been reported, the chances of a fix any time soon are also
approaching zero. Therefore, despite the intent, the reality is
approximately what I described. I was being pessimistic but, overall,
fair. Depends if we're describing a fix for this particular issue
(during the freeze) or the support for static linking once the freeze is
over. Sadly, I suspect that unless the same static linkage problem can
be shown on a recent box running something more popular than ia64, it
is not going to be fixable. Not enough people care about ia64 anymore
that there would be enough people also interested in static linkage on
ia64. Maybe it shouldn't be architecture-specific, but right now, we
can't tell.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJQVEQ3AAoJEPFn5DyBQ7aCQz4P/0mMRPxlhZ6PDXHL3d8mD0+q
gmEzc98m186nIQPpLhpfFzy1yNs7r8Lt0JHCmpfgre7EHNNdwz1lBdqRt3+M2i0O
QbjHlNsYOP5EIoVrFyLJgJxoS9ncfAaVBv7E0eXLwkVv0kTvur+1KIIir42t0jsA
HUZBpAAV01ZDpozYBbsVZkK6FeGIooPZRFUc1K3F2gDAvZ1XW+jCkWj0auK8cBFX
1IBBy1IUTSnYX6+FdiRQjTNh+Mb610ZFz+kj7vC6U2hOpPyK+pSKniIb/JXTJaIn
7QzVF0Bh7bmv6T9YN9QweRIsQ6uM1iZbs2Y6n84CAKYdlQmdi769zZoLZiSsN9VX
pL9KVBTY5upsk8V24aZ3knYaURWgQIm5HBqk8oE8dgPvgslGL/3j/CwIVQuCDQ6k
NbGeo6IX9j9MZtAgCAylEdzR/2gTFx+W+Po8VOG9dXKnBThYPzMeo2sUt0gRPFnO
51X8ygs00UDrUUVWSPK6nejNaq/001hUYNKeFZw8HgQXcbU99hPzVVSIsLAfu355
61c0t1LW4UjOUTSL2swBXr2U6m3pXS1splnuZxwe4SFpHYeJrgsUXvMVtk1hCLQ+
EDOJII9b3uPe7dLPCio062ZM4ys7dSnsyjm4+SN0GCC84cDVwGGdNbUDhAXSFFKO
m2l0MKK5Reb6sFiaEev0
=kjvW
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.