mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] PCC unable to build musl 1.2.0 (and likely earlier)
@ 2020-05-12 20:59 John Arnold
  2020-05-12 21:21 ` Rich Felker
  0 siblings, 1 reply; 16+ messages in thread
From: John Arnold @ 2020-05-12 20:59 UTC (permalink / raw)
  To: musl

With an i386 PCC 1.2.0.DEVEL built from source from
http://pcc.ludd.ltu.se/ftp/pub/pcc/pcc-20200510.tgz, I was unable to
build an i386 musl 1.2.0. The compiler first hits this error:

./include/limits.h:10: error: bad charcon

This line was the only change made in commit cdbbcfb8f5d, but it has a
lengthy commit message about the proper way of determining CHAR_MIN
and CHAR_MAX.

Reverting that change fixes the issue with limits.h, but PCC then runs
into another problem:

src/complex/catan.c, line 105: operands of = have incompatible types
src/complex/catan.c, line 105: cannot recover from earlier errors: goodbye!

catan.c only has one change that could possibly be relevant:
10e4bd3780050e75b72, which fixed a hack labeled FIXME.

Undoing this change results in hitting yet more errors:
/tmp/ctm.AkDmnc: Assembler messages:
/tmp/ctm.AkDmnc:50: Error: bad register name `%%ax'

Which are beyond my ability to debug on my own. Happy to help with the
hunt though. I'm not on the musl mailing list, but please CC me on the
replies to this.
-- John

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-05-15  0:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 20:59 [musl] PCC unable to build musl 1.2.0 (and likely earlier) John Arnold
2020-05-12 21:21 ` Rich Felker
2020-05-13  7:10   ` [musl] Re: [Pcc] " Anders Magnusson
2020-05-13 14:30     ` Rich Felker
2020-05-13 19:09       ` Anders Magnusson
2020-05-13 19:33         ` Rich Felker
2020-05-13 20:31           ` Anders Magnusson
2020-05-13 21:49             ` Rich Felker
2020-05-13 17:00     ` John Arnold
2020-05-13 17:27       ` Rich Felker
2020-05-13 17:53         ` John Arnold
2020-05-13 18:04           ` Rich Felker
2020-05-13 18:49             ` John Arnold
2020-05-13 18:50               ` Rich Felker
2020-05-15  0:24             ` John Arnold
2020-05-13 19:36       ` Anders Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).