[Bug 2590] Seccomp filter for missing architectures

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Aug 19 01:19:55 AEST 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2590

--- Comment #9 from Joshua Kinard <kumba at gentoo.org> ---
(In reply to Darren Tucker from comment #8)
> Created attachment 2861 [details]
> add mips gnuabin32 targets.
> 
> how about this?  it should make ./configure
> --host=mips64-linux-gnuabin32 do what you want.
> 
> I guess the next thing to do is get config.guess to guess this
> configuration when appropriate.

I think the problem with overriding --host like that is it might work
for binary distros, but not Gentoo or other source-based distros.  My
system's CHOST is "mips64-unknown-linux-gnu", and I believe that will
be passed to --host instead, as well as --build.  If --build and --host
differ, I believe GNU autoconf treats it as a cross-compile instead of
a normal compile.

Equally, that CHOST tuple is only valid for glibc-based systems.  I
don't think there is an equivalent like
"mips64-unknown-linux-uclibcn32" for uClibc-based systems or other
libc's that might happen to support ABIs other than O32.  So I don't
think relying on the CHOST will work 100% here (especially for multilib
instances where multiple ABIs coexist on the same root).

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list