Language Selection

English French German Italian Portuguese Spanish

LWN

Syndicate content
LWN.net is a comprehensive source of news and opinions from and about the Linux community. This is the main LWN.net feed, listing all articles which are posted to the site front page.
Updated: 1 hour 43 min ago

LLVM 13.0.0 released

Tuesday 5th of October 2021 03:14:42 PM
Version 13.0.0 of the LLVM compiler suite is out. There is a long list of changes, as always; see the numerous sets of release notes below for details.

Security updates for Tuesday

Tuesday 5th of October 2021 02:51:14 PM
Security updates have been issued by Fedora (cryptopp), Mageia (kernel, kernel-linus, and sqlite), openSUSE (rabbitmq-server), Red Hat (kernel and samba), SUSE (glibc and webkit2gtk3), and Ubuntu (containerd, docker.io, imlib2, ledgersmb, mercurial, mongodb, and node-bl).

Python 3.10.0 released

Monday 4th of October 2021 09:17:07 PM
Version 3.10.0 of the Python language has been released. There are a lot of significant changes in this release, including the much-discussed structural pattern-matching feature. See this article for an overview of what's in 3.10.

[$] New features coming in Julia 1.7

Monday 4th of October 2021 07:10:19 PM
Julia is an open-source programming language and ecosystem for high-performance scientific computing; its development team has made the first release candidate for version 1.7 available for testing on Linux, BSD, macOS, and Windows. Back in May, we looked at the increased performance that arrived with Julia 1.6, its last major release. In this article we describe some of the changes and new features in the language and its libraries that are coming in 1.7.

[$] Rust and GCC, two different ways

Monday 4th of October 2021 03:33:11 PM
Developers working in languages like C or C++ have access to two competing compilers — GCC and LLVM — either of which can usually get the job done. Rust developers, though, are currently limited to the LLVM-based rustc compiler. While rustc works well, there are legitimate reasons for developers to wish for an alternative. As it turns out, there are two different ways to compile Rust using GCC under development, though neither is ready at the moment. Developers of both approaches came to the 2021 Linux Plumbers Conference to present the status of their work.

Security updates for Monday

Monday 4th of October 2021 03:29:00 PM
Security updates have been issued by Debian (apache2, fig2dev, mediawiki, plib, and qemu), Fedora (chromium, curl, kernel, kernel-headers, kernel-tools, openssh, rust-addr2line, rust-backtrace, rust-cranelift-bforest, rust-cranelift-codegen, rust-cranelift-codegen-meta, rust-cranelift-codegen-shared, rust-cranelift-entity, rust-cranelift-frontend, rust-cranelift-native, rust-cranelift-wasm, rust-gimli, rust-object, rust-wasmparser, rust-wasmtime-cache, rust-wasmtime-environ, rust-wasmtime-fiber, rust-wasmtime-types, rust-wast, rust-wat, and webkit2gtk3), Mageia (apache-mod_auth_openidc, c-ares, chromium-browser-stable, icu, libspf2, perl-DBI, python, and python-rsa), openSUSE (haproxy and opera), Oracle (kernel), SUSE (firefox and libvirt), and Ubuntu (python3.8).

Kernel prepatch 5.15-rc4

Sunday 3rd of October 2021 11:32:10 PM
The 5.15-rc4 kernel prepatch is out for testing.

One thing standing out in the diffs might be the m68k 'set_fs()' removal - not really a regression fix, but it has been pending for a while, and it turned out that the problems attributed to it were due to an entirely unrelated m68k signal handling issue. So with that fixed, we could get rid of set_fs from another architecture.

See this article for information on set_fs() and its removal.

McKenney: So You Want to Rust the Linux Kernel?

Sunday 3rd of October 2021 09:38:34 PM
Paul McKenney has started a blog series on Rust for the Linux kernel. He has posted six of a planned 11 articles, though several are labeled as "under construction". This series focuses mostly on use cases and opportunities, rather than on any non-trivial solutions. Please note that I am not in any way attempting to dictate or limit Rust's level of ambition. I am instead noting the memory-model consequences of a few potential levels of ambition, ranging from "portions of a few drivers", "a few drivers", "some core code" and up to and including "the entire kernel". Greater levels of ambition will require greater willingness to accommodate a wider variety of LKMM [Linux-kernel memory model] requirements.

[...] These blog posts will therefore present approaches ranging upwards from trivial workarounds. But be warned that some of the high-quality approaches require profound reworking of compiler backends that have thus far failed to spark joy in the hearts of compiler writers. In addition, Rust enjoys considerable use outside of the Linux kernel, for example, as something into which to rewrite inefficient Python scripts. (A megawatt here, a megawatt there, and pretty soon you are talking about real power consumption!) Therefore, there are probably sharp limits beyond which the core Rust developers are unwilling to go.

[$] How Red Hat uses GitLab for kernel development

Friday 1st of October 2021 03:10:08 PM
Much of the free-software development world has adopted Git forges (such as GitHub, GitLab, or sourcehut) with enthusiasm. The kernel community has not. Reasons for that reticence vary, but one that is often heard is that these forges simply don't work well at the scale needed for the kernel project. At a Kernel-Summit session during the 2021 Linux Plumbers conference, Donald Zickus and Prarit Bhargava sought to show how Red Hat has put GitLab to good use to support its kernel team. Not only can these forges work for kernel development, they said, but moving to a forge can bring a number of advantages.

Security updates for Friday

Friday 1st of October 2021 03:04:45 PM
Security updates have been issued by Debian (curl, krb5, openssl1.0, and taglib), Fedora (cifs-utils), SUSE (libqt5-qtbase and rubygem-activerecord-4_2), and Ubuntu (linux-raspi, linux-raspi-5.4 and linux-raspi2).

Ratiu: A tale of two toolchains and glibc

Thursday 30th of September 2021 08:07:20 PM
Adrian Ratiu writes on the Collabora blog about the challenges that face developers trying to build the GNU C Library with the LLVM compiler.

Is it worth it to fix glibc (and other projects which support only GCC) to build with LLVM? Is it better to just replace them with alternatives already supporting LLVM? Is it best to use both GCC and LLVM, each for their respective supported projects?

This post is an exploration starting from these questions but does not attempt to give any definite answers. The intent here is to not be divisive and controversial, but to raise awareness by describing parts of the current status-quo and to encourage collaboration.

Bottomley: Linux Plumbers Conference Matrix and BBB integration

Thursday 30th of September 2021 08:01:14 PM
James Bottomley explains how the integration of Matrix and BigBlueButton was done for the just-concluded Linux Plumbers Conference.

One thing that emerged from our initial disaster with Matrix on the first day is that we failed to learn from the experiences of other open source conferences (i.e. FOSDEM, which used Matrix and ran into the same problems). So, an object of this post is to document for posterity what we did and how to repeat it.

[$] User-space interrupts

Thursday 30th of September 2021 07:43:46 PM
The term "interrupt" brings to mind a signal that originates in the hardware and which is handled in the kernel; even software interrupts are a kernel concept. But there is, it seems, a use case for enabling user-space processes to send interrupts directly to each other. An upcoming Intel processor generation includes support for this capability; at the 2021 Linux Plumbers Conference, Sohil Mehta ran a Kernel-Summit session on how Linux might support that feature.

Stable kernel updates

Thursday 30th of September 2021 04:26:44 PM
Stable kernels 5.14.9, 5.10.70, and 5.4.150 have been released with the usual set of important fixes. Users of those series should upgrade.

Security updates for Thursday

Thursday 30th of September 2021 04:19:33 PM
Security updates have been issued by Debian (libxstream-java, uwsgi, and weechat), Fedora (libspf2, libvirt, mingw-python3, mono-tools, python-flask-restx, and sharpziplib), Mageia (gstreamer, libgcrypt, libgd, mosquitto, php, python-pillow, qtwebengine5, and webkit2), openSUSE (postgresql12 and postgresql13), SUSE (haproxy, postgresql12, postgresql13, and rabbitmq-server), and Ubuntu (commons-io and linux-oem-5.13).

PostgreSQL 14 released

Thursday 30th of September 2021 03:50:57 PM
Version 14 of the PostgreSQL relational database manager is out.

PostgreSQL 14 brings a variety of features that help developers and administrators deploy their data-backed applications. PostgreSQL continues to add innovations on complex data types, including more convenient access for JSON and support for noncontiguous ranges of data. This latest release adds to PostgreSQL's trend on improving high performance and distributed data workloads, with advances in connection concurrency, high-write workloads, query parallelism and logical replication.

More information can be found in the release notes.

[$] LWN.net Weekly Edition for September 30, 2021

Thursday 30th of September 2021 12:20:01 AM
The LWN.net Weekly Edition for September 30, 2021 is available.

[$] Taming the BPF superpowers

Wednesday 29th of September 2021 06:51:50 PM
Work toward the signing of BPF programs has been finding its way into recent mainline kernel releases; it is intended to improve security by limiting the BPF programs that can be successfully loaded into the kernel. As John Fastabend described in his "Watching the super powers" session at the 2021 Linux Plumbers Conference, this new feature has the potential to completely break his tools. But rather than just complain, he decided to investigate solutions; the result is an outline for an auditing mechanism that brings greater flexibility to the problem of controlling which programs can be run.

Security updates for Wednesday

Wednesday 29th of September 2021 03:29:10 PM
Security updates have been issued by Fedora (iaito, libssh, radare2, and squashfs-tools), openSUSE (hivex, shibboleth-sp, and transfig), SUSE (python-urllib3 and shibboleth-sp), and Ubuntu (apache2, linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-dell300x, linux-gcp, linux-gcp-4.15, linux-hwe, linux-kvm, linux-oracle, linux-snapdragon, and linux-hwe-5.11, linux-azure, linux-azure-5.11, linux-oracle-5.11).

[$] A fork for the time-zone database?

Tuesday 28th of September 2021 10:57:37 PM
A controversy about the handling of the Time Zone Database (tzdb) has been brewing since May, but has come to a head in recent weeks. Changes that were proposed to simplify the main database file have some consequences in terms of time-zone history and changes to the representation of some zones. Those changes have upset a number of users of the database—to the point where some have called for a fork. A September 25 release of tzdb with some, but not all, of the changes seems unlikely to resolve the conflict.

More in Tux Machines

Open Hardware and GNU/Linux Devices

  • ESP32 Clock Pushes Outrun Graphics Over Composite | Hackaday

    We’ve covered plenty of clocks powered by the ESP32, but this one from [Marcio Teixeira] is really something special. Rather than driving a traditional physical display, the microcontroller is instead generating a composite video signal of an animated digital clock. This could be fed into whatever device you wish, but given the 80’s synthwave style it’s pumping out, you’ll probably want to find a suitably retro CRT to do it justice.

  • The Quadrivium EnsembleBot Is A Labour Of Love

    The Quadrivium EnsembleBot project is a mashup between old school musical instruments and the modern MIDI controlled world. Built by a small team over several years, these hand crafted instruments look and sound really nice. [...] This project is by no means unique, lately we’ve covered controlling a church organ with MIDI, as well as a neat Arduino Orchestra, but the EnsembleBot is just so much more.

  • Common Sense – using the Raspberry Pi Sense HAT on Ubuntu Impish Indri | Ubuntu

    Dave Jones from the Canonical Raspberry Pi team has put together a helpful guide for those getting started with the Raspberry Pi Sense HAT on Ubuntu Impish Indri. We’ve reproduced an edited version below, or you can read the full post on his blog along with other great Raspberry Pi tips!

  • Wheeled payload robot can control elevators

    SLAMTEC’s wheeled “Hermes” robot runs Android on an RK3399 and can carry up to 16 kg payloads. The autonomous bot includes 360° Lidar, depth cameras, WiFi and 4G links, a 7.5-hour battery, and an elevator controller.

  • RK3399-based programmable wheeled robot works across multiple floors

    Powered by a Rockchip RK3399 mainboard, the Hermes robot platform supports autonomous path-finding, robot collaboration, cross-floor delivery, smart obstacle avoidance, safety features, and autonomous Recharging. It can be controlled with a REST API, programmed with C++ SDK, or a program called RoboStudio available for Windows and Android.

Kernel and Graphics: Intel, AMD, and NVIDIA

  • Intel teases 'software-defined silicon' with Linux kernel contribution – and won't say why

    Intel has teased a new tech it calls "Software Defined Silicon" (SDSi) but is saying almost nothing about it – and has told The Register it could amount to nothing. SDSi popped up around three weeks ago in a post to the Linux Kernel mailing list, in which an Intel Linux software engineer named David Box described it as "a post-manufacturing mechanism for activating additional silicon features".

  • RadeonSI Lands Another "Very Large" Optimization To Further Boost SPECViewPerf - Phoronix

    In recent months we have seen a lot of RadeonSI optimizations focused on SPECViewPerf with AMD seemingly trying to get this open-source OpenGL driver into very capable shape moving forward for workstation GL workloads. Hitting Mesa 22.0-devel today is yet another round of patches for tuning SPECViewPerf.

  • Vendors Including NVIDIA Talk Up New OpenCL Extensions For Vulkan Interop, NN Inference - Phoronix

    Last Friday night we spotted OpenCL 3.0.9 with several new extensions included. Today The Khronos Group is formally announcing these latest OpenCL additions focused on Vulkan interoperability as well as neural network inferencing. These new extensions for OpenCL 3.0 include an integer dot product extension for neural network inferencing (cl_khr_integer_dot_product) with a focus on 8-bit integer support.

  • RadeonSI Enables NGG Shader Culling For Navi 1x Consumer GPUs - Phoronix

    As another possible performance win for RadeonSI Gallium3D as AMD's open-source Radeon OpenGL driver on Linux systems is enabling of NGG culling for Navi 1x consumer graphics processors rather than limiting it only to newer Navi 2x (RDNA2) GPUs. Merged on Monday was a patch to enable shader culling for Navi 1x consumer SKUs with no longer limiting it to Navi 2x / GFX10.3 or when using various debug options. This culling was also enabled for Navi 1x GPUs but only for the "Pro" graphics SKUs.

Databases: Managing Database Migrations, PostgreSQL-Related Releases

KDE Plasma 5.18.8, Bugfix Release for October

Plasma 5.18 was released in February 2020 with many feature refinements and new modules to complete the desktop experience. Read more