mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <ibid.ag@gmail.com>
To: musl@lists.openwall.com
Subject: musl libc.so working and almost building with current pcc
Date: Sun, 3 Apr 2016 14:47:56 -0700	[thread overview]
Message-ID: <20160403214755.GB13799@newbook> (raw)

Hello,
Current (20160403) pcc almost builds a working libc.so.

(Unfortunately, it's still necessary to fix the pcc-libs package
by updating config.guess/config.sub and adding protected visibility;
I didn't add protected visibility and forced -fPIC, though the build
system seems to add -fPIC for some files.)

However, PCC reports a major internal compiler error at line 1382
of ldso/dynlink.c (which is conditional on FDPIC support).
If I convert the "if (DL_FDPIC) ..." to an ifdef, I get a working libc.
(src/complex/catanf.c is now properly compiled.)

I'd like to find out what's causing the ICE and report it, but reducing
the dynamic linker to a testcase isn't something that I'm ready to do.
If someone has any further ideas, that would be appreciated.

Thanks,
Isaac Dunham



             reply	other threads:[~2016-04-03 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03 21:47 Isaac Dunham [this message]
2016-04-04  0:04 ` Rich Felker
2016-04-04  4:00   ` Isaac Dunham
2016-04-04 15:36   ` Isaac Dunham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160403214755.GB13799@newbook \
    --to=ibid.ag@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).