mailing list of musl libc
 help / color / mirror / code / Atom feed
* issues with headers?
@ 2014-11-13 22:02 stephen Turner
  2014-11-13 22:13 ` Justin Cormack
  0 siblings, 1 reply; 13+ messages in thread
From: stephen Turner @ 2014-11-13 22:02 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 1094 bytes --]

I have been trying various ways of compiling a musl system using gcc and
found that GCC-4.7.3 does not seem to want to compile against musl headers.
I install the linux headers in /usr/include then i install musl and move
its headers to /usr/include. then i specify -I/usr/include to gcc and it
errors every time (technically its /cross/usr/include as i have a separated
env from my host system) The same compile works fine against musl libs but
not the headers. The only change made from a working to a non-working
system appears to be the use of the musl generated headers.

In the scripts to build a musl toolchain (such as gregorr) the header
location is not specified but sysroot is used (which obviously isn't
linking against the headers)  I first started to see this issue when
chroot'ing into a newly created musl gcc system.

Is musl suitable as a stand alone libc replacement? Should i not be
building against musl headers? If there is any reports or details you want
me to provide please let me know.

PS: I have found that GCC-4.7.3, GCC-4.8.3, both have the issue

thanks,
Stephen

[-- Attachment #2: Type: text/html, Size: 1231 bytes --]

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

end of thread, other threads:[~2014-11-17 23:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-13 22:02 issues with headers? stephen Turner
2014-11-13 22:13 ` Justin Cormack
2014-11-13 23:23   ` stephen Turner
2014-11-14 19:49     ` stephen Turner
2014-11-14 20:01       ` stephen Turner
2014-11-14 20:22         ` stephen Turner
2014-11-14 21:34           ` stephen Turner
2014-11-14 23:21             ` Szabolcs Nagy
2014-11-14 23:28               ` Matias A. Fonzo
2014-11-14 23:37           ` Matias A. Fonzo
2014-11-14 23:57             ` stephen Turner
2014-11-15  7:01       ` Weldon Goree
2014-11-17 23:54         ` stephen Turner

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).