Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACq8dh0=ojyQfVFs012OVGQkortEoK6RQ9QGoR3exMJk_eS4bw@mail.gmail.com>
Date: Wed, 13 May 2020 12:00:24 -0500
From: John Arnold <iohannes.eduardus.arnold@...il.com>
To: Anders Magnusson <ragge@...d.ltu.se>
Cc: Rich Felker <dalias@...c.org>, musl@...ts.openwall.com, pcc@...ts.ludd.ltu.se
Subject: Re: [Pcc] PCC unable to build musl 1.2.0 (and likely earlier)

> Can you please sen med the offending line?

include/limits.h:10:
#if '\xff' > 0

> Same here, can you send me the line that causes the bug?
> And true, __builtin_complex is not recognized in pcc.

catan.c:105 is:
w = CMPLX(w, 0.25 * log(a));

which pcc -E expands to:
w = ((union { _Complex double __z; double __xy[2]; }){.__xy =
{(w),(0.25 * log(a))}}.__z);

Rich is right, changing line 105 to:
w = w+0.25*log(a)*I

solves the problem, but then we get the bad register name `%%ax' error
when trying to assemble catan.o.
Running make -j also reveals that this assembly error pops up in more
places, at least also catanl.o, catanf.o, and csqrt.o.

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.