* powerpc toolchain question
@ 2017-04-24 0:28 Rob Landley
2017-04-24 9:02 ` Szabolcs Nagy
0 siblings, 1 reply; 2+ messages in thread
From: Rob Landley @ 2017-04-24 0:28 UTC (permalink / raw)
To: musl
I checked that mcm-buildall.sh script (the one I've sent here a few
times) into https://github.com/landley/mkroot and it's building a simple
kernel and root filesystem with the musl-cross-make toolchain that boots
under qemu. So far I've done x86-64, sh4, and powerpc32 kernels.
But back in Aboriginal Linux, the 32 bit ppc target had gcc building with:
GCC_FLAGS=--enable-secureplt # --with-long-double-64 (default on 4.2.1)
I.E. my old 4.2.1 toolchain was doing --enable-secureplt and I had a
comment that newer ones needed --with-long-double-64. I'm not currently
telling the gcc configure to do either of these. Should I be? (Seems to
work but I'm not sure anything's using floating point yet...)
Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: powerpc toolchain question
2017-04-24 0:28 powerpc toolchain question Rob Landley
@ 2017-04-24 9:02 ` Szabolcs Nagy
0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2017-04-24 9:02 UTC (permalink / raw)
To: musl
* Rob Landley <rob@landley.net> [2017-04-23 19:28:14 -0500]:
> I checked that mcm-buildall.sh script (the one I've sent here a few
> times) into https://github.com/landley/mkroot and it's building a simple
> kernel and root filesystem with the musl-cross-make toolchain that boots
> under qemu. So far I've done x86-64, sh4, and powerpc32 kernels.
>
> But back in Aboriginal Linux, the 32 bit ppc target had gcc building with:
>
> GCC_FLAGS=--enable-secureplt # --with-long-double-64 (default on 4.2.1)
>
> I.E. my old 4.2.1 toolchain was doing --enable-secureplt and I had a
> comment that newer ones needed --with-long-double-64. I'm not currently
> telling the gcc configure to do either of these. Should I be? (Seems to
> work but I'm not sure anything's using floating point yet...)
--with-long-double-64 should be --without-long-double-128, but it is
the default if the gcc configure script cannot detect a recent enough
glibc version so it works out.
and --enable-secureplt is the default since gcc-6 on powerpc*-linux*-musl*
on older gcc you still need it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-24 9:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-24 0:28 powerpc toolchain question Rob Landley
2017-04-24 9:02 ` Szabolcs Nagy
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).