Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
FSG touts LSB 3.0 features, acceptance
Sep. 19, 2005

The Free Standards Group (FSG) is touting a major new version of the Linux Standards Base (LSB) approved in July. LSB 3.0 improves POSIX compliance and internationalizability, updates C++ compiler requirements, and adds new interfaces while removing deprecated ones. It is supported by "all major distributors," the LSB claims.

What's the LSB?

The LSB defines a standard interface between applications and Linux distributions. It aims to make Linux easier for ISVs (independent software vendors) to support multiple Linux distributions. Development and maintenance of the LSB specification is supported mainly by ISVs and Linux distributors such as FSG members MontaVista, TimeSys, Novell/SuSE, Red Hat, and many others.

The LSB was conceived in July of 2001 with the aim of prevening Linux from "fragmenting" -- that is, to discourage vendors from producing mutually incompatible versions of Linux, as happened to Unix during the "Unix wars" of the 80s and 90s. The LSB has gained widespread industry acceptance, and LSB compliance is a requirement of several other standards, including Carrier Grade Linux and the erstwhile Embedded Linux Consortium's Platform Specification, recently transitioned to the OSDL.

The LSB defines a set of common, shared libraries, including specific versions of glibc, libstdc++, and x11. It also defines filesystem placement, configuration files, system commands, and ABIs (application binary interfaces). It is available for seven architectures, including IA32, IA64, PPC32, PPC64, S390, S390X, and X86_64.

What's new in 3.0?

According to the FSG, LSB 3.0 "does not represent a major technological change." However, a change in the major version number means that applications written to run on LSB 2.0-compliant systems could require recompilation to run on LSB 3.0 systems. The LSB standard neither forbids nor requires simultaneous support for multiple LSB versions, however.

Some changes in LSB 3.0 affect better POSIX compliance; with version 3.0, the LSB command set now matches base POSIX requirements, according to the FSG.

Other changes relate to the goal of registering the LSB with ISO (International Standards Organization), a goal likely to be achieved with the 3.1 release later in 2005.

Internationalization requirements represent the most problematic aspect of LSB 3.0, the FSG says; support for a set of multi-byte character handling requirements is not fully implemented, currently, by coreutils, diffutils, grep, nor cpio. A patch set from the Openl18N FSG project is available, but may not be current in all cases, and is not authorized by upstream maintainers.

Some of the specific changes in LSB 3.0 include:
  • C++ ABI updated to that used by gcc 3.4.4 and later (probably including gcc 4.0) -- libstdc++.so.6 is now standard, although it can coexist with libstdc++.so.5 where LSB 2.0 compliance is required.

  • A subset of the real-time library librt has been reinstated. The library was removed due to a non-standard implementation of asynchronous I/O. The reinstated version omits the aio_*, lio_* and mq_* interfaces

  • New interfaces:
    • libc: duplocale, freelocale, newlocale, uselocale, getgrouplist, posix_openpt, getlogin_r
    • ibpthread: pthread_attr_getinheritsched, pthread_attr_getschedpolicy, pthread_attr_getscope, pthread_attr_setinheritsched, pthread_attr_setschedpolicy, pthread_attr_setscope, pthread_getschedparam, pthread_setschedparam, pthread_setschedprio
    • librt (new library): clock_getcpuclockid, clock_getres, clock_gettime, clock_nanosleep, clock_settime, shm_open, shm_unlink, timer_create, timer_delete, timer_getoverrun, timer_gettime, timer_settime

  • New symbol versions:
    • _sys_siglist uplifted to GLIBC_2.3.3
    • nftw, nftw64 uplifted to GLIBC_2.3.3
    • regexec uplifted to GLIBC_2.3.4
    • ppc64, ppc32: _ _sigsetjmp, _longjmp, _setjmp, longjmp, siglongjmp, getcontext, setcontext,swapcontext were changed to version GLIBC_2.3.4 to match a change to an underlying data structure

  • Data structure changes in Power architecture (ppc32 and ppc64)

  • LSB linker version number incremented

  • Package manager must supply lsb-core-noarch, lsb-graphics-noarch, lsb-core-arch, and lsb-graphics-arch

  • lsb_release command must support shell command mode, and must supply core-3.0-noarch, graphics-3.0-noarch, core-3.0-arch and graphics-3.0-arch

  • New commands: ed, logger, lp, mailx, pax

  • New shell builtins: cd, getopts, read, umask, wait

  • Removal of interfaces previously marked as "deprecated":
    • Network entries: endnetent, setnetent
    • Domain names: getdomainname, setdomainname
    • Signals: siggetmask, sigstack, sigblock
    • Old regular expression: step, advance, loc1, loc2, locs
    • Host/network names: getnetbyaddr, gethostbyname_r
    • Administrative: sethostid
    • BSD regular expression: re_comp, re_exec
    • Strings: strfry, strverscmp
    • BSD process wait: wait3
    • Tune kernel clock (admin): adjtimex
    • Random numbers: random_r

  • Graphics module changes:
    • Added Xevi to libXext
    • Added libXi (X input extension)

  • New interfaces:
    • libXext: XeviGetVisualInfo, XeviQueryExtension, XeviQueryVersion
    • libXi: XAllowDeviceEvents, XChangeDeviceControl, XChangeDeviceDontPropagateList, XChangeDeviceKeyMapping, XChangeFeedbackControl, XChangeKeyboardDevice, XChangePointerDevice, XCloseDevice, XDeviceBell, XFreeDeviceControl, XFreeDeviceList, XFreeDeviceMotionEvents, XFreeDeviceState, XFreeFeedbackList, XGetDeviceButtonMapping, XGetDeviceControl, XGetDeviceDontPropagateList, XGetDeviceFocus, XGetDeviceKeyMapping, XGetDeviceModifierMapping, XGetDeviceMotionEvents, XGetExtensionVersion, XGetFeedbackControl, XGetSelectedExtensionEvents, XGrabDevice, XGrabDeviceButton, XGrabDeviceKey, X!Input_find_display, XListInputDevices, XOpenDevice, XQueryDeviceState, XSelectExtensionEvent, XSendExtensionEvent, XSetDeviceButtonMapping, XSetDeviceFocus, XSetDeviceMode, XSetDeviceModifierMapping, XSetDeviceValuators, XUngrabDevice, XUngrabDeviceButton, XUngrabDeviceKey

A complete changelog can be found here. Further high-level details about the release, including specific "major Linux distributors" endorsing the release, can be found in an in-depth story at eWEEK.com, here.



Related Stories:


(Click here for further information)


FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• First Atom-based nano-ITX board?
• New kernel boosts embedded
• First dual-monitor LTSP 5 set-up?
• Understanding Unix spells and curses
• Tools vendor touts low-cost Linux BSPs
• Debugger supports multi-core MIP64 chips
• Webinars tackle VxWorks-to-Linux ports
• Twin POS systems for Linux
• Mobile Firefox ready for download
• Miguel de Icaza on Mono 2.0
• Embedded Linux declining?
• Mobile WiMAX service launches in U.S.
• Euro Linux device conference announces speakers
• POS stack targets Linux netbooks
• RIP LinuxWorld


Most popular stories -- past 90 days:
• Open source phone goes mass-market
• Tinest Linux system, yet?
• Garmin Nav devices run Gnome Linux
• ARM9 board boots Debian in 0.69 seconds
• Low-cost laptop runs Linpus Linux
• Linux-friendly Beagle fetches $150
• Mini Linux PC breaks $100 barrier
• Open source camera records geotagged video to SATA HDD
• Open set-top box ships
• First $100 laptop runs Linux


DesktopLinux headlines:
• Mandriva 2009 debuts with KDE 4 desktop
• Debian Sid-based distro reviewed
• Miguel de Icaza on Mono 2.0
• RIP LinuxWorld
• Testers sought for Blackberry-Linux sync software
• Google updates photo editor for Linux
• Major Mono rev ships
• Intrepid Ibex beta-tests
• Linux netbook returns higher?
• Open-source image editing project launches


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.