Martin Schlemmer | 27 Aug 14:48 2005

KLIBC support for sysfsutils-1.3.0

Hi,

Attached is a patch to add klibc support to sysfsutils-1.3.0.  It also
fixes the hardcoding of /usr/include/sysfs bug.

Some bits (like the getpagesize and SYSFS_MNT_PATH) are from udev's
included libsysfs.

Comments and suggestions appreciated.

Thanks,

--

-- 
Martin Schlemmer

Sam Ravnborg | 27 Aug 21:19 2005

Re: [klibc] KLIBC support for sysfsutils-1.3.0

On Sat, Aug 27, 2005 at 02:48:22PM +0200, Martin Schlemmer wrote:
> Hi,
> 
> Attached is a patch to add klibc support to sysfsutils-1.3.0.  It also
> fixes the hardcoding of /usr/include/sysfs bug.
> 
> Some bits (like the getpagesize and SYSFS_MNT_PATH) are from udev's
> included libsysfs.
Does this imply that sysutils now compiles using klcc, or is this fixes
for syslinux so it can be dropped into the syslinux directory?

The better approach is to make syslinux compatible with klcc so it
can be build out-of-the-box with klibc.

	Sam

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Martin Schlemmer | 27 Aug 21:54 2005

Re: [klibc] KLIBC support for sysfsutils-1.3.0

On Sat, 2005-08-27 at 21:19 +0200, Sam Ravnborg wrote:
> On Sat, Aug 27, 2005 at 02:48:22PM +0200, Martin Schlemmer wrote:
> > Hi,
> > 
> > Attached is a patch to add klibc support to sysfsutils-1.3.0.  It also
> > fixes the hardcoding of /usr/include/sysfs bug.
> > 
> > Some bits (like the getpagesize and SYSFS_MNT_PATH) are from udev's
> > included libsysfs.
> Does this imply that sysutils now compiles using klcc, or is this fixes
> for syslinux so it can be dropped into the syslinux directory?
> 

It makes sysfsutils compile with klcc (./configure --enable-klibc)

> The better approach is to make syslinux compatible with klcc so it
> can be build out-of-the-box with klibc.
> 

If the syslinux you are talking about is sysfsutils, then yeah, like I
said above, its so that the whole of sysfsutils will build with klcc ...
if not, but actually syslinux, then I have not looked at that yet.  I am
working currently to get the logical volume layer (device-manager,
dmraid, lvm2, etc) klibc'ified.

--

-- 
Martin Schlemmer

H. Peter Anvin | 28 Aug 02:31 2005

Re: [klibc] KLIBC support for sysfsutils-1.3.0

Martin Schlemmer wrote:
> 
> It makes sysfsutils compile with klcc (./configure --enable-klibc)
> 
> 
>>The better approach is to make syslinux compatible with klcc so it
>>can be build out-of-the-box with klibc.
> 
> If the syslinux you are talking about is sysfsutils, then yeah, like I
> said above, its so that the whole of sysfsutils will build with klcc ...
> if not, but actually syslinux, then I have not looked at that yet.  I am
> working currently to get the logical volume layer (device-manager,
> dmraid, lvm2, etc) klibc'ified.

syslinux is not at this point compatible with klcc.  I'll probably do 
that later, but probably not in time for syslinux 3.11.

	-hpa

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Ananth N Mavinakayanahalli | 29 Aug 21:31 2005
Picon

Re: KLIBC support for sysfsutils-1.3.0

On Sat, Aug 27, 2005 at 02:48:22PM +0200, Martin Schlemmer wrote:
> Hi,
> 
> Attached is a patch to add klibc support to sysfsutils-1.3.0.  It also
> fixes the hardcoding of /usr/include/sysfs bug.
> 
> Some bits (like the getpagesize and SYSFS_MNT_PATH) are from udev's
> included libsysfs.
> 
> Comments and suggestions appreciated.

Martin,

Thanks for the patch. This will get into the 2.0 branch (with a few
tweaks, for changed functions).

Ananth

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Gmane