This is the mail archive of the
mailing list for the glibc project.
Re: Dealing with target variance
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 2 Oct 2019 16:49:48 +0000
- Subject: Re: Dealing with target variance
- Ironport-sdr: 4GMBqQD4PlpkZNE5k4A8m3R2CGYrbZiCYoin745T7EOPNAcze7uGwuDrTRQ2efH2iso3QjFB1B NmfJG1msvTxXIloAt+hVY0syOFhD0n5hcYw56el/zxNXfATtsmMFWT5gPYaXabT403PmgwhFZA +Me0bc/oTtgd+7GlFdfOc8ksUcl3aOnECYOTRB1mAGv7O5b4ltxlnwSEZN2xx2wJx9D0wsosvJ Vg0n1RiSqN6choPCohhzUwV7EQ0EO8bzKRS5vfDXJbstwvCICqJ674gcXQ8cH1E3Fob1kfm52P M1k=
- Ironport-sdr: IguAExtOkmrBOGiU3SiyTh0a8F/Uv+trzQxt5n7LCkaAFssaiIKuQGiyKBjeCY5ExHYFakGON9 +Co8HZWcGBgRy06A/bjXztOcmyXKXIVFSqNrXN3a3mlJ3VBy2dGL8JPvsHP+UNiiuauJoYN1GD hg83YgHRwm2qhg0lzer6zr1nsWd+GSskBlwHL/YpUKo71l994skaIWNEu2wKmkXhH3LBiX+nS6 QtcxUI1BSzhp55wCY1gu3hw6mdRV18N9BfQUfuG2ajPlH1EltcZ+3A/x+S4bYOdfYD0qdPjKXf KVA=
- References: <firstname.lastname@example.org> <alpine.DEB.email@example.com> <firstname.lastname@example.org>
On Wed, 2 Oct 2019, Florian Weimer wrote:
> The only concern I would have is something like generic → m68k →
> coldfire, where coldfire goes back to the generic default. At that
In that particular case you'd put it in sysdeps/m68k/m680x0/.
> point, it's no longer obvious in which direction the override works, you
> need to look at the file contents, and there is risk that we end up with
> the existing multitude of override mechanisms.
In quite a few of these cases you need to look at the file contents
anyway, because the override is conditional within the file in some
architecture-specific way that might not correspond to sysdeps
directories. For example, sysdeps/mips/nan-high-order-bit.h tests
> Can we make the default definition the one for future targets? Even if
I think that's the right way to go.
(In some cases there may not be a clear default that most future
architectures are definitely going to choose. E.g. tininess.h is an
architecture property; the default is more or less arbitrarily "before
rounding" but new architectures might choose either "before rounding" or
Joseph S. Myers