[Bug libc/10339] Terminal interface: non-standard baudrates are not handled properly on Linux-systems

adhemerval.zanella at linaro dot org sourceware-bugzilla@sourceware.org
Tue Oct 2 20:57:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=10339

--- Comment #7 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to hpa@zytor.com from comment #5)
> To answer a few more questions:
> 
> 1. All future Linux ports are required to use the new generic ABI definitions
>    (defined in include/uapi/asm-generic).  This is intended to permanently
>    address the issue of platform-specific ABIs (which was an artifact of
>    the misguided idea of providing binary compatibility with legacy Unices
>    on some platforms.)
> 
>    So all future platforms will support termios2.
> 
> 2. After doing some digging, it seems like the only platform that doesn't
>    support termios2 is Alpha... ironically because it had c_ispeed and
>    c_ospeed in its termios structure already.  However, at least somewhere
>    along the line, the kernel infrastructure for supporting this as a one-
>    off without BOTHER seems to have broken.  I have contacted the serial
>    and Alpha maintainers and proposed a very simple solution, but it would of
>    course only work on new enough kernels.

Thanks, and it seems again we will need to add arch-specific code to
accommodate a legacy platform.

> Final question:
> 
> What platforms and Linux kernel versions does glibc support these days?

Current we support a minimum of 3.2 kernel and the following architectures
(using Linux terminology):

alpha
arm
arm64
ia64
m68k
microblaze
mips
nios2
parisc (32-bits userland)
powerpc
riscv
s390
sh
sparc
x86

For some architecture we also support multiple ABI variants.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list