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)


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.

4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.

Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.

Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.

Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.

Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.

Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.

Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.

Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.

 


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

• Linux-friendly SoCs target low-end multimedia
• CompactFlash as a COTS "standard"
• 65nm ARM9 SoCs target PNDs, smartphones
• Motorola Ming A1600 ships
• N810 gains Android installer
• PC/104-Plus board runs Linux on x86 SoC
• Webinars explore embedded Linux development
• Linux video camera geo-tags, writes to SATA drives
• Garmin Nav devices run Gnome Linux
• Ten LiMo phones this month?
• It's a Yankee Doodle Linux phone
• Wind River to host "Developer Day"
• Dev boards gain Linux support
• 802.11n zooms ahead
• Low-power mini-ITX board runs Linux


Most popular stories -- past 30 days:
• World's cheapest Linux-based laptop?
• Ubuntu ported to a PDA
• 64-way chip gains Linux IDE, dev cards, design wins
• Embedded PowerPC dev kits come with Linux
• Rapid time-to-evaluation -- a key goal for silicon providers
• Embedded Linux is doomed. DOOOMED!
• Rugged PDA available with Linux
• Netflix Player runs Linux
• Miniature Linux PC targets military apps
• $7 SoC runs Linux
• Android Developer Challenge announces first-round winners
• Dual-core ARM SoC clocks to 1.2GHz


Linux-Watch headlines:
• Microsoft tactics push India toward Linux
• Bell, SuperMicro sued over GPL
• "Business intelligence" software goes GPL
• Will Atom bomb?
• LF Summit videos posted
• Linux gains "embedded" maintainers
• Virtualization on tap in SLES and RHEL upgrades
• Linux gets security black eye
• Verizon chooses Linux "platform of choice"
• Hats off to Fedora 9


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.