Language Selection

English French German Italian Portuguese Spanish

BSD: Clang 11.0 and OpenBSD

Filed under
BSD
  • Clang 11 Changes -O To Match GCC Behavior

    Clang 11.0 has changed its "-O" optimization flag to match the defaults of GCC.

    LLVM Clang currently treats the -O option as matching the -O2 optimization level as that was chosen back when Clang didn't differ between -O1 and -O2 optimization levels. GCC meanwhile has treated -O as the -O1 optimization level.

    But now with Clang's -O1 and -O2 behavior differing, Clang has changed its -O behavior to -O1 in matching the characteristics of the GNU Compiler Collection.

  • The Dark Side Of Hackathons: Why They Are Counter Innovation Culture

    The term Hackathon was coined by Niels Provos from OpenBSD

  • First seed for OpenBSD/powerpc64 planted by kettenis@

    In a set of commits to the tree on Saturday, Mark Kettenis (kettenis@) added the early beginnings of support for the 64-bit PowerPC platform: [...]

More in Tux Machines

today's howtos

  • Specify Name (Save As) When Saving File in vi / vim

    The vi (or vim) text editor is a very effective text editor for Linux / UNIX systems. It has been around since 1976 and you either love it or hate it. In order to be effective with the editor, it is important to know all the commands. One such command is specifying the name, or save as, of the file before you write it to disk. Let’s take a look at how to use the “save as” feature in vim.

  •  
  • Josef Strzibny: Download RPM packages locally with DNF

    Sometimes, you only want to download RPM packages without installing them. This is now super easy with DNF. If you remember Yum, you had to resolve to installing a yum-plugin-downloadonly plugin or a separate tool to be able to download them for inspection.

  • Arturo Borrero González: Openstack Neutron L3 failover issues

    In the Cloud Services team at the Wikimedia Foundation we use Openstack Neutron to build our virtual network, and in particular, we rely on the neutron-l3-agent for implementing all the L3 connectivity, topology and policing. This includes basic packet firewalling and NAT. As of this writing, we are using Openstack version Train. We run the neutron-l3-agent on standard linux hardware servers with 10G NICs, and in general it works really well. Our setup is rather simple: we have a couple of servers for redundancy (note: upstream recommends having 3) and each server runs an instance of neutron-l3-agent. We don’t use DVR, so all ingress/egress network traffic (or north-south traffic) flows using these servers. Today we use a flat network topology in our cloud. This means that all of our virtual machines share the same router gateway. Therefore, we only have one software-defined router. Neutron does a very smart thing: each software-defined router is implemented on a linux network namespace (netns). Each router living on its own netns, the namespace contains all IP addresses, routes, interfaces, netfilter firewalling rules, NAT configuration, etc. Additionally, we configure the agents and software-defined routers to be deployed on an high availability fashion. Neutron implements this by running an instance of keepalived (VRRP) inside each router netns. The gateway IP is therefore a virtual address that can move between the two instances of the neutron-l3-agent.

  •            
  • Prepare for successful container adoption with these tips

    IT teams use containers to build more dynamic applications and support modern microservice architectures. And containers are a critical tool for IT organizations to take advantage of innovations, such as cloud services, Agile methodology, DevOps collaboration and mobile apps. As businesses turn to containers to fuel development and support infrastructures, they must identify which workloads benefit from containerization, as well as strategize automation benefits and deploy the right tools for management. As a result, IT teams are better positioned to evaluate savings potential, adopt key DevOps processes and apply IT training where necessary. In this article, we explore containerization's history and its uses, assess ideal workloads, potential operational savings and key management approaches.

  • How to Install VirtualBox 6.1 On Linux?

    Virtual Machines are software used to run other operating systems within a pre-installed operating system. This self-contained OS runs as a separate computer that has no relation to the host OS. VirtualBox is an open-source cross-platform software that can help you run multiple guest operating systems on a single computer. In this article, let’s look at how to install VirtualBox 6.1 on Linux, easily. Why Install VirtualBox? One of the most important use cases of VirtualBox is its ability to try out/test various operating systems without fiddling with your internal storage. VirtualBox creates a virtual environment that utilizes system resources like RAM and CPU to power the OS inside a container.

Red Hat Summit and LibrePlanet Plans

  • Announcing special guests for Red Hat Summit Virtual Experience 2021

    From throwing out the first pitch during a Boston Red Sox game at the iconic Fenway Park and Grammy Award-winning band Weezer rocking the night away at the San Francisco Armory to Neon Trees and Fitz & the Tantrums giving attendees a night to remember at the Rockland Trust Bank Pavilion, Red Hat Summit has shown we can bring the excitement and the entertainment to the agenda. In the age of social-distancing however, we can’t bring everyone together for a concert, but we can still show you a good time. This year, at Red Hat Summit 2021, we are going to be joined by several special guests - Ben Folds and Mick Ebeling! These sessions will be hosted by Red Hat solutions architect, Angela Andrews.

  • Let's get excited: The LibrePlanet 2021 schedule is here!

    Can you believe we're only three weeks away from another inspiring and exciting edition of LibrePlanet? On March 20th and 21st, 2021, free software supporters from all over the world will log in to share knowledge and experiences, and to socialize with others within the free software community. We've been overwhelmed with support for the upcoming online edition of the conference, first with a record number of speaker submissions, and now with a flood of registrations. Even if attendance is gratis, it's important that you register in advance, in order to help us prepare for the number of guests we'll be welcoming.

Open Hardware Leftovers

  • Open Source Processors for Next-Generation Storage Controllers

    So, the agenda for the presentation is introduction to storage controller SoC devices, explanation of the typical flash control implementations requirements for the embedded CPU cores. And then our RISC-V SweRV Cores roadmap. And we'll go through use cases, such as acceleration of legacy code, software and firmware toolchain support; multithreading; and IPC improvements. Ultra-low interrupt latency, and our small EL2 cores targeting hardware accelerators. So, typical storage controller SoC device, what it needs to do is to provide a familiar SATA, SAS or NVM Express interface to the host and actually manage the persistent media present in a device. But it could also be a magnetic media or some of the new media, such as phase-change memory or NVRAM. The requirements on a controller are, in any particular order, reliability because, obviously, storage customer expects the no loss of data and expects high reliability of storing the files; security, such as boot from our security features that guarantee that firmware is not compromised; and data rest protection, which encrypts data in real time; performance, in case of SSDs, consumers expect high IOPS, high data rates; and, finally, power because shift to mobile devices require saving or shaving every watt. And same as in the data center, there's no difference.

  • Zamir SUN: Notes for beginning with STM32 - English

    Two years ago, when I was working on my first Home Automation, I start to think that I should learn some embedded development. However I have been too busy (well, I know this is an execuse) and haven’t really do anything meanful till recently. So when one of my friends asking if I can provide some information about embedded development recently, I start to think about this seriously. At this point, although I don’t have any experience with embedded development, I am not really a total newbie in this area. Inspired by The Best and Worst MCU SDKs, I decide to find the answer by first define some criteria from a newbie perspective, just to make it useful for my friends. Warning, this article is VERY SUBJECTIVE!

  • Arduino Blog » This digital clock uses 24 Arduino-controlled analog faces

    After being inspired by a beautiful, if rather expensive timepiece, Ira Hart decided to make a 3D-printed clock with 24 analog faces that combine to form a single digital display. The overall device is controlled by a single Arduino Nano, which keeps track of the time using a RTC module. This unit coordinates 24 other Nanos on custom carrier boards, which in turn drive their own little clock face via a pair of steppers and a gear system.

What is Linux, and which versions are best for beginners?

Linux is not much different from Windows or macOS. It’s basically a graphical operating system that allows you to use apps, browse the web, and perform all the same functions a Windows or Mac computer does. Linux has been around since the 1990s and is in more devices than you may know. This versatile operating system is used in routers, smartphones, streaming boxes, televisions, smartwatches, cars, and even appliances. More importantly, this operating system also runs on most servers globally, including the servers that run the internet and government and corporate operations. Like its Windows and Mac counterparts, Linux is made up of several code layers that make it work. Layers such as a bootloader, kernel, GUI, and applications. All of these layers work together to create what users see and interact with on their display. Read more