|
Message-ID: <20140813115314.GJ5170@example.net> Date: Wed, 13 Aug 2014 13:53:14 +0200 From: u-igbb@...ey.se To: musl@...ts.openwall.com Subject: summary: compiling musl on x86_64 linux with pcc On Wed, Aug 13, 2014 at 01:22:07PM +0200, u-igbb@...ey.se wrote: > src/math/asinhl.c, line 25: compiler error: Cannot generate code, node 0x5be9e0 op TEMP > error: XXXXXXXX/libexec/ccom terminated with status 1 > > src/math/asinhl.c: > 24: /* |x| >= 2 */ > 25: x = logl(2*x + 1/(sqrtl(x*x+1)+x)); Trial and error showed that it is enough to split the evaluation into two expressions like x = 2*x + 1/(sqrtl(x*x+1)+x); x = logl(x); to make the compiler happy. A similar change is necessary on another line in the same file too. Given the tweaks in arch/x86_64/syscall_arch.h // let all __syscallN() call __syscall() src/env/__init_tls.c // move #if conditional outside () src/math/asinhl.c // split log*() expressions the compilation went through. Rune
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.