Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160403214755.GB13799@newbook>
Date: Sun, 3 Apr 2016 14:47:56 -0700
From: Isaac Dunham <ibid.ag@...il.com>
To: musl@...ts.openwall.com
Subject: musl libc.so working and almost building with current pcc

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

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.