On 2015-12-17 07:24:09 +0100, Michael Matz wrote:
> Hi,
> 
> On Tue, 15 Dec 2015, Vincent Lefevre wrote:
> 
> > > With glibc 2.21 (Debian/unstable on x86_64), on any code compiled by
> > > tcc segfaults. This occurs with both old tcc (tcc
> > > 0.9.27~git20140923.9d7fb33-3 Debian package) and mob. I wonder
> > > whether this is a bug in tcc or in the glibc.
> > 
> > According to Aurelien Jarno, this is actually due to new binutils
> > relocations (and the Debian glibc 2.21-4 package is built with a recent
> > binutils, hence the problem with it).
> > 
> > Details:
> > 
> >  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808008#22
> 
> Blaeh.  I didn't consider the case of the libc runtime startup .o files when
> agreeing to the new relocs.  Arguably those object files exposed to every
> linker trying to create user-space programs shouldn't use the new relocs
> (they provide a very minor performance benefit sometimes) even with new
> binutils (and so that's a QoI issue in glibc), but it's easy enough to deal
> with them in tcc.
> 
> Try newest mob again.

Works well. Thanks.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to