[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#184446: libstdc++5-dev has i486 specific asm code



On Sat, Mar 15, 2003 at 08:32:26PM +0100, Matthias Klose wrote:
> Daniel Jacobowitz writes:
> > On Wed, Mar 12, 2003 at 12:49:44PM +0100, Sebastian Wilhelmi wrote:
> > > Package: libstdc++5-dev
> > > Version: 1:3.2.3-0pre5
> > > Severity: normal
> > >  
> > > The file /usr/include/c++/3.2/i386-linux/bits/atomicity.h
> > > has code, which does not work on i386. It needs i486 or above.
> > >  
> > > Is i386 unsupported by debian?
> > >  
> > > Personally I haven't found any info regarding this on debian-devel or
> > > in the debian policy, so is there any consensus in dropping i386?
> > >  
> > > (Note, that I don't have i386 myself, so I hope I didn't get that wrong.)
> > >  
> > > This bug would make nearly all C++-packages compiled with it unusable on i386.
> > 
> > The comment in that file says:
> > 
> > // Low-level functions for atomic operations: x86, x < 4 version  -*- C++ -*-
> > 
> > Is that incorrect?  Hmm, it's the same as the 486 version, so the
> > comment is wrong.
> > 
> > This will be fixed in gcc 3.3 (at a performance penalty; we need to
> > think about providing the i486 version also).
> 
> or we do think to drop i386 alltogether? How should this library be
> installed? Building can be done in a second libstdc++-v3 build dir
> with the compiler just built and -march=486 -mtune=585.

It could just be built for i686 and put in /usr/lib/i686; see OpenSSL
for an example.  I don't know that it's worth the effort.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: