Re: athlon-builder ... a sequel to pentium-builder
Robert Bihlmeyer <robbe@orcus.priv.at> immo vero scripsit
> Junichi Uekawa <dancer@netfort.gr.jp> wrote:
>
> > This thing works in the same way as pentium-builder, just that it
> > uses gcc-3.0 and g++-3.0 instead of the default compiler.
>
> Hmm, that means that if you build a C++ application with it, that
> links to a C++ library not built with it (i.e. from stock Debian),
> you'll likely experience breakage (cf. past threads about changed g++
> ABI).
>
> Maybe you should disable the g++ part of it for now.
One of the aims of athlon-optimization is to test g++-3.0,
and checking if binaries will compile with g++-3.0 in an easy way.
Disabling g++-3.0 is defeating the whole point of
gcc3.0-athlon-builder.
> > I was thinking that maybe everything can be rebuilt using Athlon
> > optimization, and I could make a local repository, but I could not
> > think of any way to mark such a package so that it was built for
> > Athlon processors.
>
> The -march=athlon case, i.e. that your binaries will only work on
> Ahtlon compatibles, is easy: Have all your packages depend on
> "platform-athlon", and offer a dummy package of that name (perhaps
> with dire "installing this package on non-Athlon compatibles will hose
> your system" warnings in the preinst).
Hmm.. that would be interesting.
I could divert dpkg-shlibdeps and make it output
platform-athlon in addition to other things.
I don't know.
It's a gross hack, not very clean.
regards,
junichi
--
dancer@debian.org http://www.netfort.gr.jp/~dancer
Reply to: