mailing list of musl libc
 help / color / mirror / code / Atom feed
* Request for ideas on arch-specific musl-gcc specfile additions
@ 2013-04-15  1:31 Rich Felker
  2013-04-15  4:31 ` Zvi Gilboa
  0 siblings, 1 reply; 4+ messages in thread
From: Rich Felker @ 2013-04-15  1:31 UTC (permalink / raw)
  To: musl

Right now, musl-gcc has problems on at least a few archs:

- powerpc: it does not setup the right secure-plt options for dynamic
  linking.

- mips: gcc's internals on mips expect the -EL and -EB options to work
  for selecting endianness, but they're not real options; they're
  created by the specfile

- any arch with 32/64-bit variants: if -m32 or -m64 was used building
  musl, it should get added to the specfile for musl-gcc.

I'm looking for a clean approach to fixing this. Certainly the
configure script could just generate one or more extra variables that
get stored in config.mak and substituted into the specfile, but I'd
rather avoid having essential logic like this in configure, as it
makes it difficult for anybody who wants to generate config.mak by
hand. If there are specific options always needed on a given arch, the
build process (even without configure being used) should automatically
add them to the specfile.

Any good proposals?

Rich


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

end of thread, other threads:[~2013-04-15  5:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15  1:31 Request for ideas on arch-specific musl-gcc specfile additions Rich Felker
2013-04-15  4:31 ` Zvi Gilboa
2013-04-15  4:49   ` Rich Felker
2013-04-15  5:35     ` Zvi Gilboa

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