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.


Ciao,
Michael.

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

Reply via email to