tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Fwd: Bug#675024: tcc: errors " Symbol `mpfr_xxx' causes o


From: Thomas Preudhomme
Subject: [Tinycc-devel] Fwd: Bug#675024: tcc: errors " Symbol `mpfr_xxx' causes overflow in R_X86_64_PC32 relocation"
Date: Tue, 01 Apr 2014 20:40:57 +0800
User-agent: Roundcube Webmail/0.7.2

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 <address@hidden>
À: Thomas Preud'homme <address@hidden>
Cc: address@hidden
Répondre à: Vincent Lefevre <address@hidden>, address@hidden

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 <address@hidden> - 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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]