Another report about the current state of shared libraries produced by
tcc. Michael, I'm just copying it here because you asked. It's ok if you
don't want or can't work on this.
Best regards,
Thomas
-------- Message original --------
Objet: Bug#675024: tcc: errors "Symbol `mpfr_xxx' causes overflow in
R_X86_64_PC32 relocation"
Date: 2014-04-01 07:15
De: Vincent Lefevre <vinc...@vinc17.net>
À: Thomas Preud'homme <robo...@debian.org>
Cc: 675...@bugs.debian.org
Répondre à: Vincent Lefevre <vinc...@vinc17.net>,
675...@bugs.debian.org
Control: tags -1 - fixed-upstream
On 2014-03-31 22:22:03 +0800, Thomas Preud'homme wrote:
Two commits were done upstream to fix this bug. The author (Michael
Matz) would appreciate some testing to see if it works correctly.
With MPFR 3.1.2 configured with "./configure CC=tcc", I still get
"Symbol `...' causes overflow in R_X86_64_PC32 relocation" messages,
but the tests no longer fail... except texceptions.
Actually the symbols are no longer mpfr_xxx, but libc functions, e.g.
ypig:.../mpfr-3.1.2/tests> ./texceptions
./texceptions: Symbol `abort' causes overflow in R_X86_64_PC32
relocation
zsh: segmentation fault (core dumped) ./texceptions
I'm not sure whether this is related, but it seems so, because
if I configure MPFR with "./configure --disable-shared CC=tcc",
all tests pass.
I could reduce texceptions.c to:
#include "mpfr-test.h"
int
main (void)
{
(mpfr_clear_flags)();
return 0;
}
Then I get:
ypig:.../mpfr-3.1.2/tests> ./texceptions
zsh: segmentation fault (core dumped) ./texceptions
The message has disappeared, but it still crashes.
--
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